#540b42 Color Information

In a RGB color space, hex #540b42 is composed of 32.9% red, 4.3% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86.9% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 314.8 degrees, a saturation of 76.8% and a lightness of 18.6%. #540b42 color hex could be obtained by blending #a81684 with #000000. Closest websafe color is: #660033.

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

#540b42 color description : Very dark magenta.

#540b42 Color Conversion

The hexadecimal color #540b42 has RGB values of R:84, G:11, B:66 and CMYK values of C:0, M:0.87, Y:0.21, K:0.67. Its decimal value is 5507906.

Hex triplet 540b42 #540b42
RGB Decimal 84, 11, 66 rgb(84,11,66)
RGB Percent 32.9, 4.3, 25.9 rgb(32.9%,4.3%,25.9%)
CMYK 0, 87, 21, 67
HSL 314.8°, 76.8, 18.6 hsl(314.8,76.8%,18.6%)
HSV (or HSB) 314.8°, 86.9, 32.9
Web Safe 660033 #660033
CIE-LAB 17.999, 37.741, -14.813
XYZ 4.759, 2.518, 5.389
xyY 0.376, 0.199, 2.518
CIE-LCH 17.999, 40.544, 338.571
CIE-LUV 17.999, 29.598, -19.248
Hunter-Lab 15.868, 25.768, -9.029
Binary 01010100, 00001011, 01000010

Color Schemes with #540b42

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

Alternatives to #540b42

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

Similar Colors

#540b42 Preview

Text with hexadecimal color #540b42

This text has a font color of #540b42.

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

This paragraph has a background color of #540b42.

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

This element has a border color of #540b42.

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

Shades and Tints of #540b42

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, #0f020b is the darkest color, while #fffcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540b42

A tone is produced by adding gray to any pure hue. In this case, #332c31 is the less saturated color, while #5f0048 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540b42 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
  • #272727 Achromatopsia 0.005% of the population
  • #30212c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f355f Protanopia 1% of men
  • #333645 Deuteranopia 1% of men
  • #592527 Tritanopia 0.001% of the population
Trichromacy
  • #322654 Protanomaly 1% of men, 0.01% of women
  • #3f2644 Deuteranomaly 6% of men, 0.4% of women
  • #571b31 Tritanomaly 0.01% of the population