#540caa Color Information

In a RGB color space, hex #540caa is composed of 32.9% red, 4.7% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 50.6% cyan, 92.9% magenta, 0% yellow and 33.3% black. It has a hue angle of 267.3 degrees, a saturation of 86.8% and a lightness of 35.7%. #540caa color hex could be obtained by blending #a818ff with #000055. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 67
    RGB color chart
    • C 51
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#540caa color description : Dark violet.

#540caa Color Conversion

The hexadecimal color #540caa has RGB values of R:84, G:12, B:170 and CMYK values of C:0.51, M:0.93, Y:0, K:0.33. Its decimal value is 5508266.

Hex triplet 540caa #540caa
RGB Decimal 84, 12, 170 rgb(84,12,170)
RGB Percent 32.9, 4.7, 66.7 rgb(32.9%,4.7%,66.7%)
CMYK 51, 93, 0, 33
HSL 267.3°, 86.8, 35.7 hsl(267.3,86.8%,35.7%)
HSV (or HSB) 267.3°, 92.9, 66.7
Web Safe 660099 #660099
CIE-LAB 26.877, 59.16, -67.404
XYZ 11.042, 5.05, 38.421
xyY 0.203, 0.093, 5.05
CIE-LCH 26.877, 89.684, 311.273
CIE-LUV 26.877, 7.252, -85.043
Hunter-Lab 22.472, 48.383, -85.639
Binary 01010100, 00001100, 10101010

Color Schemes with #540caa

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

Alternatives to #540caa

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

Similar Colors

#540caa Preview

Text with hexadecimal color #540caa

This text has a font color of #540caa.

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

This paragraph has a background color of #540caa.

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

This element has a border color of #540caa.

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

Shades and Tints of #540caa

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

Shade Color Variation
Tint Color Variation

Tones of #540caa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540caa 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2c4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478a Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #3a4c51 Tritanopia 0.001% of the population
Trichromacy
  • #1e3196 Protanomaly 1% of men, 0.01% of women
  • #1e348a Deuteranomaly 6% of men, 0.4% of women
  • #433471 Tritanomaly 0.01% of the population