#540cf5 Color Information

In a RGB color space, hex #540cf5 is composed of 32.9% red, 4.7% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 65.7% cyan, 95.1% magenta, 0% yellow and 3.9% black. It has a hue angle of 258.5 degrees, a saturation of 92.1% and a lightness of 50.4%. #540cf5 color hex could be obtained by blending #a818ff with #0000eb. Closest websafe color is: #6600ff.

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

#540cf5 color description : Vivid violet.

#540cf5 Color Conversion

The hexadecimal color #540cf5 has RGB values of R:84, G:12, B:245 and CMYK values of C:0.66, M:0.95, Y:0, K:0.04. Its decimal value is 5508341.

Hex triplet 540cf5 #540cf5
RGB Decimal 84, 12, 245 rgb(84,12,245)
RGB Percent 32.9, 4.7, 96.1 rgb(32.9%,4.7%,96.1%)
CMYK 66, 95, 0, 4
HSL 258.5°, 92.1, 50.4 hsl(258.5,92.1%,50.4%)
HSV (or HSB) 258.5°, 95.1, 96.1
Web Safe 6600ff #6600ff
CIE-LAB 35.478, 76.82, -96.833
XYZ 20.266, 8.74, 87
xyY 0.175, 0.075, 8.74
CIE-LCH 35.478, 123.604, 308.426
CIE-LUV 35.478, -0.578, -128.028
Hunter-Lab 29.563, 70.632, -153.791
Binary 01010100, 00001100, 11110101

Color Schemes with #540cf5

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

Alternatives to #540cf5

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

Similar Colors

#540cf5 Preview

Text with hexadecimal color #540cf5

This text has a font color of #540cf5.

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

This paragraph has a background color of #540cf5.

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

This element has a border color of #540cf5.

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

Shades and Tints of #540cf5

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

Shade Color Variation
Tint Color Variation

Tones of #540cf5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cf5 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #413261 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059ae Protanopia 1% of men
  • #005f96 Deuteranopia 1% of men
  • #00656b Tritanopia 0.001% of the population
Trichromacy
  • #1e3dc7 Protanomaly 1% of men, 0.01% of women
  • #1e40b8 Deuteranomaly 6% of men, 0.4% of women
  • #1e449d Tritanomaly 0.01% of the population