#540c87 Color Information

In a RGB color space, hex #540c87 is composed of 32.9% red, 4.7% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 91.1% magenta, 0% yellow and 47.1% black. It has a hue angle of 275.1 degrees, a saturation of 83.7% and a lightness of 28.8%. #540c87 color hex could be obtained by blending #a818ff with #00000f. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 53
    RGB color chart
    • C 38
    • M 91
    • Y 0
    • K 47
    CMYK color chart

#540c87 color description : Dark violet.

#540c87 Color Conversion

The hexadecimal color #540c87 has RGB values of R:84, G:12, B:135 and CMYK values of C:0.38, M:0.91, Y:0, K:0.47. Its decimal value is 5508231.

Hex triplet 540c87 #540c87
RGB Decimal 84, 12, 135 rgb(84,12,135)
RGB Percent 32.9, 4.7, 52.9 rgb(32.9%,4.7%,52.9%)
CMYK 38, 91, 0, 47
HSL 275.1°, 83.7, 28.8 hsl(275.1,83.7%,28.8%)
HSV (or HSB) 275.1°, 91.1, 52.9
Web Safe 660099 #660099
CIE-LAB 23.329, 51.056, -51.721
XYZ 8.16, 3.897, 23.243
xyY 0.231, 0.11, 3.897
CIE-LCH 23.329, 72.675, 314.629
CIE-LUV 23.329, 12.603, -64.017
Hunter-Lab 19.741, 39.237, -55.987
Binary 01010100, 00001100, 10000111

Color Schemes with #540c87

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

Alternatives to #540c87

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

Similar Colors

#540c87 Preview

Text with hexadecimal color #540c87

This text has a font color of #540c87.

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

This paragraph has a background color of #540c87.

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

This element has a border color of #540c87.

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

Shades and Tints of #540c87

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

Shade Color Variation
Tint Color Variation

Tones of #540c87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c87 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
  • #303030 Achromatopsia 0.005% of the population
  • #372941 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407c Protanopia 1% of men
  • #00436d Deuteranopia 1% of men
  • #4b3e43 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d80 Protanomaly 1% of men, 0.01% of women
  • #1e2f76 Deuteranomaly 6% of men, 0.4% of women
  • #4e2c5b Tritanomaly 0.01% of the population