#540ce2 Color Information

In a RGB color space, hex #540ce2 is composed of 32.9% red, 4.7% green and 88.6% blue. Whereas in a CMYK color space, it is composed of 62.8% cyan, 94.7% magenta, 0% yellow and 11.4% black. It has a hue angle of 260.2 degrees, a saturation of 89.9% and a lightness of 46.7%. #540ce2 color hex could be obtained by blending #a818ff with #0000c5. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 89
    RGB color chart
    • C 63
    • M 95
    • Y 0
    • K 11
    CMYK color chart

#540ce2 color description : Vivid violet.

#540ce2 Color Conversion

The hexadecimal color #540ce2 has RGB values of R:84, G:12, B:226 and CMYK values of C:0.63, M:0.95, Y:0, K:0.11. Its decimal value is 5508322.

Hex triplet 540ce2 #540ce2
RGB Decimal 84, 12, 226 rgb(84,12,226)
RGB Percent 32.9, 4.7, 88.6 rgb(32.9%,4.7%,88.6%)
CMYK 63, 95, 0, 11
HSL 260.2°, 89.9, 46.7 hsl(260.2,89.9%,46.7%)
HSV (or HSB) 260.2°, 94.7, 88.6
Web Safe 6600cc #6600cc
CIE-LAB 33.218, 72.371, -89.786
XYZ 17.513, 7.638, 72.499
xyY 0.179, 0.078, 7.638
CIE-LCH 33.218, 115.322, 308.87
CIE-LUV 33.218, 1.098, -117.324
Hunter-Lab 27.637, 64.743, -136.186
Binary 01010100, 00001100, 11100010

Color Schemes with #540ce2

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

Alternatives to #540ce2

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

Similar Colors

#540ce2 Preview

Text with hexadecimal color #540ce2

This text has a font color of #540ce2.

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

This paragraph has a background color of #540ce2.

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

This element has a border color of #540ce2.

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

Shades and Tints of #540ce2

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 #f4effe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540ce2

A tone is produced by adding gray to any pure hue. In this case, #75717d is the less saturated color, while #5103eb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ce2 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3f315c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a4 Protanopia 1% of men
  • #00598e Deuteranopia 1% of men
  • #005f65 Tritanopia 0.001% of the population
Trichromacy
  • #1e3aba Protanomaly 1% of men, 0.01% of women
  • #1e3dac Deuteranomaly 6% of men, 0.4% of women
  • #1e4192 Tritanomaly 0.01% of the population