#540040 Color Information

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

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

#540040 color description : Very dark magenta.

#540040 Color Conversion

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

Hex triplet 540040 #540040
RGB Decimal 84, 0, 64 rgb(84,0,64)
RGB Percent 32.9, 0, 25.1 rgb(32.9%,0%,25.1%)
CMYK 0, 100, 24, 67
HSL 314.3°, 100, 16.5 hsl(314.3,100%,16.5%)
HSV (or HSB) 314.3°, 100, 32.9
Web Safe 660033 #660033
CIE-LAB 16.774, 40.7, -15.323
XYZ 4.582, 2.255, 5.044
xyY 0.386, 0.19, 2.255
CIE-LCH 16.774, 43.489, 339.369
CIE-LUV 16.774, 31.493, -19.461
Hunter-Lab 15.018, 28.174, -9.402
Binary 01010100, 00000000, 01000000

Color Schemes with #540040

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

Alternatives to #540040

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

Similar Colors

#540040 Preview

Text with hexadecimal color #540040

This text has a font color of #540040.

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

This paragraph has a background color of #540040.

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

This element has a border color of #540040.

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

Shades and Tints of #540040

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, #060004 is the darkest color, while #fff1fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540040

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540040 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
  • #202020 Achromatopsia 0.005% of the population
  • #2a1a26 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #103262 Protanopia 1% of men
  • #313342 Deuteranopia 1% of men
  • #591f21 Tritanopia 0.001% of the population
Trichromacy
  • #282055 Protanomaly 1% of men, 0.01% of women
  • #3d2041 Deuteranomaly 6% of men, 0.4% of women
  • #57142c Tritanomaly 0.01% of the population