#540cd4 Color Information

In a RGB color space, hex #540cd4 is composed of 32.9% red, 4.7% green and 83.1% blue. Whereas in a CMYK color space, it is composed of 60.4% cyan, 94.3% magenta, 0% yellow and 16.9% black. It has a hue angle of 261.6 degrees, a saturation of 89.3% and a lightness of 43.9%. #540cd4 color hex could be obtained by blending #a818ff with #0000a9. Closest websafe color is: #6600cc.

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

#540cd4 color description : Strong violet.

#540cd4 Color Conversion

The hexadecimal color #540cd4 has RGB values of R:84, G:12, B:212 and CMYK values of C:0.6, M:0.94, Y:0, K:0.17. Its decimal value is 5508308.

Hex triplet 540cd4 #540cd4
RGB Decimal 84, 12, 212 rgb(84,12,212)
RGB Percent 32.9, 4.7, 83.1 rgb(32.9%,4.7%,83.1%)
CMYK 60, 94, 0, 17
HSL 261.6°, 89.3, 43.9 hsl(261.6,89.3%,43.9%)
HSV (or HSB) 261.6°, 94.3, 83.1
Web Safe 6600cc #6600cc
CIE-LAB 31.58, 69.075, -84.437
XYZ 15.669, 6.901, 62.79
xyY 0.184, 0.081, 6.901
CIE-LCH 31.58, 109.092, 309.285
CIE-LUV 31.58, 2.444, -109.366
Hunter-Lab 26.269, 60.501, -123.329
Binary 01010100, 00001100, 11010100

Color Schemes with #540cd4

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

Alternatives to #540cd4

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

Similar Colors

#540cd4 Preview

Text with hexadecimal color #540cd4

This text has a font color of #540cd4.

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

This paragraph has a background color of #540cd4.

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

This element has a border color of #540cd4.

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

Shades and Tints of #540cd4

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

Shade Color Variation
Tint Color Variation

Tones of #540cd4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cd4 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
  • #00519d Protanopia 1% of men
  • #005688 Deuteranopia 1% of men
  • #005b62 Tritanopia 0.001% of the population
Trichromacy
  • #1e38b1 Protanomaly 1% of men, 0.01% of women
  • #1e3ba4 Deuteranomaly 6% of men, 0.4% of women
  • #1e3e8b Tritanomaly 0.01% of the population