#540c6a Color Information

In a RGB color space, hex #540c6a is composed of 32.9% red, 4.7% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 20.8% cyan, 88.7% magenta, 0% yellow and 58.4% black. It has a hue angle of 286 degrees, a saturation of 79.7% and a lightness of 23.1%. #540c6a color hex could be obtained by blending #a818d4 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

#540c6a color description : Very dark magenta.

#540c6a Color Conversion

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

Hex triplet 540c6a #540c6a
RGB Decimal 84, 12, 106 rgb(84,12,106)
RGB Percent 32.9, 4.7, 41.6 rgb(32.9%,4.7%,41.6%)
CMYK 21, 89, 0, 58
HSL 286°, 79.7, 23.1 hsl(286,79.7%,23.1%)
HSV (or HSB) 286°, 88.7, 41.6
Web Safe 660066 #660066
CIE-LAB 20.784, 44.745, -37.317
XYZ 6.389, 3.189, 13.914
xyY 0.272, 0.136, 3.189
CIE-LCH 20.784, 58.264, 320.172
CIE-LUV 20.784, 18.501, -45.737
Hunter-Lab 17.857, 32.615, -33.698
Binary 01010100, 00001100, 01101010

Color Schemes with #540c6a

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

Alternatives to #540c6a

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

Similar Colors

#540c6a Preview

Text with hexadecimal color #540c6a

This text has a font color of #540c6a.

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

This paragraph has a background color of #540c6a.

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

This element has a border color of #540c6a.

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

Shades and Tints of #540c6a

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

Shade Color Variation
Tint Color Variation

Tones of #540c6a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c6a 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
  • #342638 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003d66 Deuteranopia 1% of men
  • #533337 Tritanopia 0.001% of the population
Trichromacy
  • #1e296f Protanomaly 1% of men, 0.01% of women
  • #1e2b67 Deuteranomaly 6% of men, 0.4% of women
  • #532549 Tritanomaly 0.01% of the population