#540cd2 Color Information

In a RGB color space, hex #540cd2 is composed of 32.9% red, 4.7% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 60% cyan, 94.3% magenta, 0% yellow and 17.6% black. It has a hue angle of 261.8 degrees, a saturation of 89.2% and a lightness of 43.5%. #540cd2 color hex could be obtained by blending #a818ff with #0000a5. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 82
    RGB color chart
    • C 60
    • M 94
    • Y 0
    • K 18
    CMYK color chart

#540cd2 color description : Strong violet.

#540cd2 Color Conversion

The hexadecimal color #540cd2 has RGB values of R:84, G:12, B:210 and CMYK values of C:0.6, M:0.94, Y:0, K:0.18. Its decimal value is 5508306.

Hex triplet 540cd2 #540cd2
RGB Decimal 84, 12, 210 rgb(84,12,210)
RGB Percent 32.9, 4.7, 82.4 rgb(32.9%,4.7%,82.4%)
CMYK 60, 94, 0, 18
HSL 261.8°, 89.2, 43.5 hsl(261.8,89.2%,43.5%)
HSV (or HSB) 261.8°, 94.3, 82.4
Web Safe 6600cc #6600cc
CIE-LAB 31.348, 68.603, -83.661
XYZ 15.418, 6.8, 61.469
xyY 0.184, 0.081, 6.8
CIE-LCH 31.348, 108.192, 309.352
CIE-LUV 31.348, 2.645, -108.224
Hunter-Lab 26.078, 59.902, -121.502
Binary 01010100, 00001100, 11010010

Color Schemes with #540cd2

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

Alternatives to #540cd2

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

Similar Colors

#540cd2 Preview

Text with hexadecimal color #540cd2

This text has a font color of #540cd2.

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

This paragraph has a background color of #540cd2.

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

This element has a border color of #540cd2.

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

Shades and Tints of #540cd2

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

Shade Color Variation
Tint Color Variation

Tones of #540cd2

A tone is produced by adding gray to any pure hue. In this case, #6e6a74 is the less saturated color, while #5203db is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cd2 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
  • #383838 Achromatopsia 0.005% of the population
  • #3e2f57 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509c Protanopia 1% of men
  • #005587 Deuteranopia 1% of men
  • #005b61 Tritanopia 0.001% of the population
Trichromacy
  • #1e37b0 Protanomaly 1% of men, 0.01% of women
  • #1e3aa2 Deuteranomaly 6% of men, 0.4% of women
  • #1e3e8a Tritanomaly 0.01% of the population