#540ca9 Color Information

In a RGB color space, hex #540ca9 is composed of 32.9% red, 4.7% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 50.3% cyan, 92.9% magenta, 0% yellow and 33.7% black. It has a hue angle of 267.5 degrees, a saturation of 86.7% and a lightness of 35.5%. #540ca9 color hex could be obtained by blending #a818ff with #000053. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 66
    RGB color chart
    • C 50
    • M 93
    • Y 0
    • K 34
    CMYK color chart

#540ca9 color description : Dark violet.

#540ca9 Color Conversion

The hexadecimal color #540ca9 has RGB values of R:84, G:12, B:169 and CMYK values of C:0.5, M:0.93, Y:0, K:0.34. Its decimal value is 5508265.

Hex triplet 540ca9 #540ca9
RGB Decimal 84, 12, 169 rgb(84,12,169)
RGB Percent 32.9, 4.7, 66.3 rgb(32.9%,4.7%,66.3%)
CMYK 50, 93, 0, 34
HSL 267.5°, 86.7, 35.5 hsl(267.5,86.7%,35.5%)
HSV (or HSB) 267.5°, 92.9, 66.3
Web Safe 660099 #660099
CIE-LAB 26.77, 58.925, -66.977
XYZ 10.948, 5.012, 37.925
xyY 0.203, 0.093, 5.012
CIE-LCH 26.77, 89.208, 311.34
CIE-LUV 26.77, 7.385, -84.453
Hunter-Lab 22.388, 48.108, -84.764
Binary 01010100, 00001100, 10101001

Color Schemes with #540ca9

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

Alternatives to #540ca9

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

Similar Colors

#540ca9 Preview

Text with hexadecimal color #540ca9

This text has a font color of #540ca9.

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

This paragraph has a background color of #540ca9.

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

This element has a border color of #540ca9.

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

Shades and Tints of #540ca9

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

Shade Color Variation
Tint Color Variation

Tones of #540ca9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ca9 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
  • #333333 Achromatopsia 0.005% of the population
  • #3a2b4b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478a Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #3b4b51 Tritanopia 0.001% of the population
Trichromacy
  • #1e3195 Protanomaly 1% of men, 0.01% of women
  • #1e3489 Deuteranomaly 6% of men, 0.4% of women
  • #443471 Tritanomaly 0.01% of the population