#540f87 Color Information

In a RGB color space, hex #540f87 is composed of 32.9% red, 5.9% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 88.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 274.5 degrees, a saturation of 80% and a lightness of 29.4%. #540f87 color hex could be obtained by blending #a81eff with #00000f. Closest websafe color is: #660099.

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

#540f87 color description : Dark violet.

#540f87 Color Conversion

The hexadecimal color #540f87 has RGB values of R:84, G:15, B:135 and CMYK values of C:0.38, M:0.89, Y:0, K:0.47. Its decimal value is 5508999.

Hex triplet 540f87 #540f87
RGB Decimal 84, 15, 135 rgb(84,15,135)
RGB Percent 32.9, 5.9, 52.9 rgb(32.9%,5.9%,52.9%)
CMYK 38, 89, 0, 47
HSL 274.5°, 80, 29.4 hsl(274.5,80%,29.4%)
HSV (or HSB) 274.5°, 88.9, 52.9
Web Safe 660099 #660099
CIE-LAB 23.591, 50.276, -51.29
XYZ 8.199, 3.976, 23.256
xyY 0.231, 0.112, 3.976
CIE-LCH 23.591, 71.822, 314.428
CIE-LUV 23.591, 12.424, -63.882
Hunter-Lab 19.94, 38.508, -55.193
Binary 01010100, 00001111, 10000111

Color Schemes with #540f87

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

Alternatives to #540f87

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

Similar Colors

#540f87 Preview

Text with hexadecimal color #540f87

This text has a font color of #540f87.

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

This paragraph has a background color of #540f87.

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

This element has a border color of #540f87.

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

Shades and Tints of #540f87

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, #07010b is the darkest color, while #fcf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f87 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
  • #313131 Achromatopsia 0.005% of the population
  • #382a42 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #4b3f43 Tritanopia 0.001% of the population
Trichromacy
  • #1e2e81 Protanomaly 1% of men, 0.01% of women
  • #1e3077 Deuteranomaly 6% of men, 0.4% of women
  • #4e2d5c Tritanomaly 0.01% of the population