#540a87 Color Information

In a RGB color space, hex #540a87 is composed of 32.9% red, 3.9% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 92.6% magenta, 0% yellow and 47.1% black. It has a hue angle of 275.5 degrees, a saturation of 86.2% and a lightness of 28.4%. #540a87 color hex could be obtained by blending #a814ff with #00000f. Closest websafe color is: #660099.

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

#540a87 color description : Dark violet.

#540a87 Color Conversion

The hexadecimal color #540a87 has RGB values of R:84, G:10, B:135 and CMYK values of C:0.38, M:0.93, Y:0, K:0.47. Its decimal value is 5507719.

Hex triplet 540a87 #540a87
RGB Decimal 84, 10, 135 rgb(84,10,135)
RGB Percent 32.9, 3.9, 52.9 rgb(32.9%,3.9%,52.9%)
CMYK 38, 93, 0, 47
HSL 275.5°, 86.2, 28.4 hsl(275.5,86.2%,28.4%)
HSV (or HSB) 275.5°, 92.6, 52.9
Web Safe 660099 #660099
CIE-LAB 23.174, 51.516, -51.975
XYZ 8.137, 3.851, 23.235
xyY 0.231, 0.109, 3.851
CIE-LCH 23.174, 73.18, 314.746
CIE-LUV 23.174, 12.705, -64.09
Hunter-Lab 19.625, 39.67, -56.46
Binary 01010100, 00001010, 10000111

Color Schemes with #540a87

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

Alternatives to #540a87

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

Similar Colors

#540a87 Preview

Text with hexadecimal color #540a87

This text has a font color of #540a87.

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

This paragraph has a background color of #540a87.

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

This element has a border color of #540a87.

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

Shades and Tints of #540a87

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

Shade Color Variation
Tint Color Variation

Tones of #540a87

A tone is produced by adding gray to any pure hue. In this case, #49474a is the less saturated color, while #55048d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540a87 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #362740 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00436c Deuteranopia 1% of men
  • #4b3e42 Tritanopia 0.001% of the population
Trichromacy
  • #1e2c7f Protanomaly 1% of men, 0.01% of women
  • #1e2e76 Deuteranomaly 6% of men, 0.4% of women
  • #4e2b5b Tritanomaly 0.01% of the population