#540c6b Color Information

In a RGB color space, hex #540c6b is composed of 32.9% red, 4.7% green and 42% blue. Whereas in a CMYK color space, it is composed of 21.5% cyan, 88.8% magenta, 0% yellow and 58% black. It has a hue angle of 285.5 degrees, a saturation of 79.8% and a lightness of 23.3%. #540c6b color hex could be obtained by blending #a818d6 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 5
    • B 42
    RGB color chart
    • C 21
    • M 89
    • Y 0
    • K 58
    CMYK color chart

#540c6b color description : Very dark magenta.

#540c6b Color Conversion

The hexadecimal color #540c6b has RGB values of R:84, G:12, B:107 and CMYK values of C:0.21, M:0.89, Y:0, K:0.58. Its decimal value is 5508203.

Hex triplet 540c6b #540c6b
RGB Decimal 84, 12, 107 rgb(84,12,107)
RGB Percent 32.9, 4.7, 42 rgb(32.9%,4.7%,42%)
CMYK 21, 89, 0, 58
HSL 285.5°, 79.8, 23.3 hsl(285.5,79.8%,23.3%)
HSV (or HSB) 285.5°, 88.8, 42
Web Safe 660066 #660066
CIE-LAB 20.864, 44.952, -37.839
XYZ 6.441, 3.21, 14.189
xyY 0.27, 0.135, 3.21
CIE-LCH 20.864, 58.758, 319.911
CIE-LUV 20.864, 18.27, -46.384
Hunter-Lab 17.915, 32.825, -34.418
Binary 01010100, 00001100, 01101011

Color Schemes with #540c6b

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

Alternatives to #540c6b

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

Similar Colors

#540c6b Preview

Text with hexadecimal color #540c6b

This text has a font color of #540c6b.

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

This paragraph has a background color of #540c6b.

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

This element has a border color of #540c6b.

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

Shades and Tints of #540c6b

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

Shade Color Variation
Tint Color Variation

Tones of #540c6b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c6b 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #342639 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003d66 Deuteranopia 1% of men
  • #523437 Tritanopia 0.001% of the population
Trichromacy
  • #1e2970 Protanomaly 1% of men, 0.01% of women
  • #1e2b68 Deuteranomaly 6% of men, 0.4% of women
  • #53254a Tritanomaly 0.01% of the population