#540caf Color Information

In a RGB color space, hex #540caf is composed of 32.9% red, 4.7% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 52% cyan, 93.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 266.5 degrees, a saturation of 87.2% and a lightness of 36.7%. #540caf color hex could be obtained by blending #a818ff with #00005f. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 69
    RGB color chart
    • C 52
    • M 93
    • Y 0
    • K 31
    CMYK color chart

#540caf color description : Dark violet.

#540caf Color Conversion

The hexadecimal color #540caf has RGB values of R:84, G:12, B:175 and CMYK values of C:0.52, M:0.93, Y:0, K:0.31. Its decimal value is 5508271.

Hex triplet 540caf #540caf
RGB Decimal 84, 12, 175 rgb(84,12,175)
RGB Percent 32.9, 4.7, 68.6 rgb(32.9%,4.7%,68.6%)
CMYK 52, 93, 0, 31
HSL 266.5°, 87.2, 36.7 hsl(266.5,87.2%,36.7%)
HSV (or HSB) 266.5°, 93.1, 68.6
Web Safe 660099 #660099
CIE-LAB 27.416, 60.337, -69.522
XYZ 11.524, 5.243, 40.96
xyY 0.2, 0.091, 5.243
CIE-LCH 27.416, 92.053, 310.954
CIE-LUV 27.416, 6.604, -87.981
Hunter-Lab 22.897, 49.769, -90.034
Binary 01010100, 00001100, 10101111

Color Schemes with #540caf

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

Alternatives to #540caf

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

Similar Colors

#540caf Preview

Text with hexadecimal color #540caf

This text has a font color of #540caf.

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

This paragraph has a background color of #540caf.

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

This element has a border color of #540caf.

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

Shades and Tints of #540caf

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, #05010a is the darkest color, while #faf6fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540caf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540caf 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
  • #3a2c4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488c Protanopia 1% of men
  • #004c7a Deuteranopia 1% of men
  • #374e53 Tritanopia 0.001% of the population
Trichromacy
  • #1e3299 Protanomaly 1% of men, 0.01% of women
  • #1e358d Deuteranomaly 6% of men, 0.4% of women
  • #413675 Tritanomaly 0.01% of the population