#540ea8 Color Information

In a RGB color space, hex #540ea8 is composed of 32.9% red, 5.5% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 91.7% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.3 degrees, a saturation of 84.6% and a lightness of 35.7%. #540ea8 color hex could be obtained by blending #a81cff with #000051. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 66
    RGB color chart
    • C 50
    • M 92
    • Y 0
    • K 34
    CMYK color chart

#540ea8 color description : Dark violet.

#540ea8 Color Conversion

The hexadecimal color #540ea8 has RGB values of R:84, G:14, B:168 and CMYK values of C:0.5, M:0.92, Y:0, K:0.34. Its decimal value is 5508776.

Hex triplet 540ea8 #540ea8
RGB Decimal 84, 14, 168 rgb(84,14,168)
RGB Percent 32.9, 5.5, 65.9 rgb(32.9%,5.5%,65.9%)
CMYK 50, 92, 0, 34
HSL 267.3°, 84.6, 35.7 hsl(267.3,84.6%,35.7%)
HSV (or HSB) 267.3°, 91.7, 65.9
Web Safe 660099 #660099
CIE-LAB 26.809, 58.252, -66.309
XYZ 10.88, 5.026, 37.441
xyY 0.204, 0.094, 5.026
CIE-LCH 26.809, 88.262, 311.299
CIE-LUV 26.809, 7.424, -83.839
Hunter-Lab 22.419, 47.394, -83.325
Binary 01010100, 00001110, 10101000

Color Schemes with #540ea8

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

Alternatives to #540ea8

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

Similar Colors

#540ea8 Preview

Text with hexadecimal color #540ea8

This text has a font color of #540ea8.

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

This paragraph has a background color of #540ea8.

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

This element has a border color of #540ea8.

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

Shades and Tints of #540ea8

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

Shade Color Variation
Tint Color Variation

Tones of #540ea8

A tone is produced by adding gray to any pure hue. In this case, #5a5462 is the less saturated color, while #5300b6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ea8 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2c4b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478a Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #3c4b51 Tritanopia 0.001% of the population
Trichromacy
  • #1e3295 Protanomaly 1% of men, 0.01% of women
  • #1e3589 Deuteranomaly 6% of men, 0.4% of women
  • #443570 Tritanomaly 0.01% of the population