#540cd8 Color Information

In a RGB color space, hex #540cd8 is composed of 32.9% red, 4.7% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 61.1% cyan, 94.4% magenta, 0% yellow and 15.3% black. It has a hue angle of 261.2 degrees, a saturation of 89.5% and a lightness of 44.7%. #540cd8 color hex could be obtained by blending #a818ff with #0000b1. Closest websafe color is: #6600cc.

    • R 33
    • G 5
    • B 85
    RGB color chart
    • C 61
    • M 94
    • Y 0
    • K 15
    CMYK color chart

#540cd8 color description : Strong violet.

#540cd8 Color Conversion

The hexadecimal color #540cd8 has RGB values of R:84, G:12, B:216 and CMYK values of C:0.61, M:0.94, Y:0, K:0.15. Its decimal value is 5508312.

Hex triplet 540cd8 #540cd8
RGB Decimal 84, 12, 216 rgb(84,12,216)
RGB Percent 32.9, 4.7, 84.7 rgb(32.9%,4.7%,84.7%)
CMYK 61, 94, 0, 15
HSL 261.2°, 89.5, 44.7 hsl(261.2,89.5%,44.7%)
HSV (or HSB) 261.2°, 94.4, 84.7
Web Safe 6600cc #6600cc
CIE-LAB 32.045, 70.018, -85.98
XYZ 16.18, 7.105, 65.481
xyY 0.182, 0.08, 7.105
CIE-LCH 32.045, 110.883, 309.158
CIE-LUV 32.045, 2.049, -111.646
Hunter-Lab 26.655, 61.704, -126.991
Binary 01010100, 00001100, 11011000

Color Schemes with #540cd8

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

Alternatives to #540cd8

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

Similar Colors

#540cd8 Preview

Text with hexadecimal color #540cd8

This text has a font color of #540cd8.

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

This paragraph has a background color of #540cd8.

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

This element has a border color of #540cd8.

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

Shades and Tints of #540cd8

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, #05010c is the darkest color, while #faf8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cd8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cd8 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
  • #393939 Achromatopsia 0.005% of the population
  • #3e3059 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00529f Protanopia 1% of men
  • #00578a Deuteranopia 1% of men
  • #005d63 Tritanopia 0.001% of the population
Trichromacy
  • #1e38b4 Protanomaly 1% of men, 0.01% of women
  • #1e3ba6 Deuteranomaly 6% of men, 0.4% of women
  • #1e3f8d Tritanomaly 0.01% of the population