#540ef5 Color Information

In a RGB color space, hex #540ef5 is composed of 32.9% red, 5.5% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 65.7% cyan, 94.3% magenta, 0% yellow and 3.9% black. It has a hue angle of 258.2 degrees, a saturation of 92% and a lightness of 50.8%. #540ef5 color hex could be obtained by blending #a81cff with #0000eb. Closest websafe color is: #6600ff.

    • R 33
    • G 5
    • B 96
    RGB color chart
    • C 66
    • M 94
    • Y 0
    • K 4
    CMYK color chart

#540ef5 color description : Vivid violet.

#540ef5 Color Conversion

The hexadecimal color #540ef5 has RGB values of R:84, G:14, B:245 and CMYK values of C:0.66, M:0.94, Y:0, K:0.04. Its decimal value is 5508853.

Hex triplet 540ef5 #540ef5
RGB Decimal 84, 14, 245 rgb(84,14,245)
RGB Percent 32.9, 5.5, 96.1 rgb(32.9%,5.5%,96.1%)
CMYK 66, 94, 0, 4
HSL 258.2°, 92, 50.8 hsl(258.2,92%,50.8%)
HSV (or HSB) 258.2°, 94.3, 96.1
Web Safe 6600ff #6600ff
CIE-LAB 35.578, 76.514, -96.666
XYZ 20.292, 8.791, 87.009
xyY 0.175, 0.076, 8.791
CIE-LCH 35.578, 123.284, 308.363
CIE-LUV 35.578, -0.646, -128.049
Hunter-Lab 29.649, 70.278, -153.24
Binary 01010100, 00001110, 11110101

Color Schemes with #540ef5

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

Alternatives to #540ef5

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

Similar Colors

#540ef5 Preview

Text with hexadecimal color #540ef5

This text has a font color of #540ef5.

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

This paragraph has a background color of #540ef5.

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

This element has a border color of #540ef5.

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

Shades and Tints of #540ef5

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

Shade Color Variation
Tint Color Variation

Tones of #540ef5

A tone is produced by adding gray to any pure hue. In this case, #7e788b is the less saturated color, while #5004ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ef5 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #423462 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005aae Protanopia 1% of men
  • #005f96 Deuteranopia 1% of men
  • #00656b Tritanopia 0.001% of the population
Trichromacy
  • #1e3ec8 Protanomaly 1% of men, 0.01% of women
  • #1e41b9 Deuteranomaly 6% of men, 0.4% of women
  • #1e459d Tritanomaly 0.01% of the population