#540ec5 Color Information

In a RGB color space, hex #540ec5 is composed of 32.9% red, 5.5% green and 77.3% blue. Whereas in a CMYK color space, it is composed of 57.4% cyan, 92.9% magenta, 0% yellow and 22.7% black. It has a hue angle of 263 degrees, a saturation of 86.7% and a lightness of 41.4%. #540ec5 color hex could be obtained by blending #a81cff with #00008b. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 77
    RGB color chart
    • C 57
    • M 93
    • Y 0
    • K 23
    CMYK color chart

#540ec5 color description : Strong violet.

#540ec5 Color Conversion

The hexadecimal color #540ec5 has RGB values of R:84, G:14, B:197 and CMYK values of C:0.57, M:0.93, Y:0, K:0.23. Its decimal value is 5508805.

Hex triplet 540ec5 #540ec5
RGB Decimal 84, 14, 197 rgb(84,14,197)
RGB Percent 32.9, 5.5, 77.3 rgb(32.9%,5.5%,77.3%)
CMYK 57, 93, 0, 23
HSL 263°, 86.7, 41.4 hsl(263,86.7%,41.4%)
HSV (or HSB) 263°, 92.9, 77.3
Web Safe 6600cc #6600cc
CIE-LAB 29.985, 65.15, -78.329
XYZ 13.889, 6.23, 53.291
xyY 0.189, 0.085, 6.23
CIE-LCH 29.985, 101.883, 309.752
CIE-LUV 29.985, 3.929, -100.767
Hunter-Lab 24.96, 55.652, -109.118
Binary 01010100, 00001110, 11000101

Color Schemes with #540ec5

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

Alternatives to #540ec5

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

Similar Colors

#540ec5 Preview

Text with hexadecimal color #540ec5

This text has a font color of #540ec5.

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

This paragraph has a background color of #540ec5.

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

This element has a border color of #540ec5.

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

Shades and Tints of #540ec5

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, #06010e is the darkest color, while #fcfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540ec5

A tone is produced by adding gray to any pure hue. In this case, #69676c is the less saturated color, while #5206cd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ec5 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.

  • #383838 Achromatopsia 0.005% of the population
  • #3e3054 Atypical Achromatopsia 0.001% of the population
  • #004e97 Protanopia 1% of men
  • #005283 Deuteranopia 1% of men
  • #1e575d Tritanopia 0.001% of the population
  • #1e36a7 Protanomaly 1% of men, 0.01% of women
  • #1e399b Deuteranomaly 6% of men, 0.4% of women
  • #323c83 Tritanomaly 0.01% of the population