#540240 Color Information

In a RGB color space, hex #540240 is composed of 32.9% red, 0.8% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 97.6% magenta, 23.8% yellow and 67.1% black. It has a hue angle of 314.6 degrees, a saturation of 95.3% and a lightness of 16.9%. #540240 color hex could be obtained by blending #a80480 with #000000. Closest websafe color is: #660033.

    • R 33
    • G 1
    • B 25
    RGB color chart
    • C 0
    • M 98
    • Y 24
    • K 67
    CMYK color chart

#540240 color description : Very dark magenta.

#540240 Color Conversion

The hexadecimal color #540240 has RGB values of R:84, G:2, B:64 and CMYK values of C:0, M:0.98, Y:0.24, K:0.67. Its decimal value is 5505600.

Hex triplet 540240 #540240
RGB Decimal 84, 2, 64 rgb(84,2,64)
RGB Percent 32.9, 0.8, 25.1 rgb(32.9%,0.8%,25.1%)
CMYK 0, 98, 24, 67
HSL 314.6°, 95.3, 16.9 hsl(314.6,95.3%,16.9%)
HSV (or HSB) 314.6°, 97.6, 32.9
Web Safe 660033 #660033
CIE-LAB 16.983, 40.086, -14.997
XYZ 4.603, 2.299, 5.052
xyY 0.385, 0.192, 2.299
CIE-LCH 16.983, 42.8, 339.488
CIE-LUV 16.983, 31.271, -19.185
Hunter-Lab 15.162, 27.661, -9.14
Binary 01010100, 00000010, 01000000

Color Schemes with #540240

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #540240

Below, you can see some colors close to #540240. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#540240 Preview

Text with hexadecimal color #540240

This text has a font color of #540240.

<span style="color:#540240;">Text here</span>
#540240 background color

This paragraph has a background color of #540240.

<p style="background-color:#540240;">Content here</p>
#540240 border color

This element has a border color of #540240.

<div style="border:1px solid #540240;">Content here</div>
CSS codes
.text {color:#540240;}
.background {background-color:#540240;}
.border {border:1px solid #540240;}

Shades and Tints of #540240

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #070006 is the darkest color, while #fff3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540240

A tone is produced by adding gray to any pure hue. In this case, #2c2a2c is the less saturated color, while #540240 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540240 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #222222 Achromatopsia 0.005% of the population
  • #2c1c28 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #153361 Protanopia 1% of men
  • #313443 Deuteranopia 1% of men
  • #592022 Tritanopia 0.001% of the population
Trichromacy
  • #2c2155 Protanomaly 1% of men, 0.01% of women
  • #3e2141 Deuteranomaly 6% of men, 0.4% of women
  • #57152d Tritanomaly 0.01% of the population