#540c52 Color Information

In a RGB color space, hex #540c52 is composed of 32.9% red, 4.7% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 85.7% magenta, 2.4% yellow and 67.1% black. It has a hue angle of 301.7 degrees, a saturation of 75% and a lightness of 18.8%. #540c52 color hex could be obtained by blending #a818a4 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 5
    • B 32
    RGB color chart
    • C 0
    • M 86
    • Y 2
    • K 67
    CMYK color chart

#540c52 color description : Very dark magenta.

#540c52 Color Conversion

The hexadecimal color #540c52 has RGB values of R:84, G:12, B:82 and CMYK values of C:0, M:0.86, Y:0.02, K:0.67. Its decimal value is 5508178.

Hex triplet 540c52 #540c52
RGB Decimal 84, 12, 82 rgb(84,12,82)
RGB Percent 32.9, 4.7, 32.2 rgb(32.9%,4.7%,32.2%)
CMYK 0, 86, 2, 67
HSL 301.7°, 75, 18.8 hsl(301.7,75%,18.8%)
HSV (or HSB) 301.7°, 85.7, 32.9
Web Safe 660066 #660066
CIE-LAB 19.045, 40.094, -24.157
XYZ 5.311, 2.757, 8.235
xyY 0.326, 0.169, 2.757
CIE-LCH 19.045, 46.809, 328.931
CIE-LUV 19.045, 24.702, -29.871
Hunter-Lab 16.605, 28.027, -17.779
Binary 01010100, 00001100, 01010010

Color Schemes with #540c52

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

Alternatives to #540c52

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

Similar Colors

#540c52 Preview

Text with hexadecimal color #540c52

This text has a font color of #540c52.

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

This paragraph has a background color of #540c52.

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

This element has a border color of #540c52.

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

Shades and Tints of #540c52

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

Shade Color Variation
Tint Color Variation

Tones of #540c52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c52 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #322432 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376c Protanopia 1% of men
  • #2b3853 Deuteranopia 1% of men
  • #572b2d Tritanopia 0.001% of the population
Trichromacy
  • #1e2762 Protanomaly 1% of men, 0.01% of women
  • #3a2852 Deuteranomaly 6% of men, 0.4% of women
  • #561f3b Tritanomaly 0.01% of the population