#540042 Color Information

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

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

#540042 color description : Very dark magenta.

#540042 Color Conversion

The hexadecimal color #540042 has RGB values of R:84, G:0, B:66 and CMYK values of C:0, M:1, Y:0.21, K:0.67. Its decimal value is 5505090.

Hex triplet 540042 #540042
RGB Decimal 84, 0, 66 rgb(84,0,66)
RGB Percent 32.9, 0, 25.9 rgb(32.9%,0%,25.9%)
CMYK 0, 100, 21, 67
HSL 312.9°, 100, 16.5 hsl(312.9,100%,16.5%)
HSV (or HSB) 312.9°, 100, 32.9
Web Safe 660033 #660033
CIE-LAB 16.886, 40.982, -16.551
XYZ 4.64, 2.279, 5.349
xyY 0.378, 0.186, 2.279
CIE-LCH 16.886, 44.198, 338.009
CIE-LUV 16.886, 30.821, -20.76
Hunter-Lab 15.095, 28.447, -10.445
Binary 01010100, 00000000, 01000010

Color Schemes with #540042

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

Alternatives to #540042

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

Similar Colors

#540042 Preview

Text with hexadecimal color #540042

This text has a font color of #540042.

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

This paragraph has a background color of #540042.

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

This element has a border color of #540042.

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

Shades and Tints of #540042

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 #540042

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540042 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
  • #212121 Achromatopsia 0.005% of the population
  • #2b1a28 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003364 Protanopia 1% of men
  • #303444 Deuteranopia 1% of men
  • #592022 Tritanopia 0.001% of the population
Trichromacy
  • #1e2057 Protanomaly 1% of men, 0.01% of women
  • #3d2143 Deuteranomaly 6% of men, 0.4% of women
  • #57142d Tritanomaly 0.01% of the population