#540ea7 Color Information

In a RGB color space, hex #540ea7 is composed of 32.9% red, 5.5% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 91.6% magenta, 0% yellow and 34.5% black. It has a hue angle of 267.5 degrees, a saturation of 84.5% and a lightness of 35.5%. #540ea7 color hex could be obtained by blending #a81cff with #00004f. Closest websafe color is: #660099.

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

#540ea7 color description : Dark violet.

#540ea7 Color Conversion

The hexadecimal color #540ea7 has RGB values of R:84, G:14, B:167 and CMYK values of C:0.5, M:0.92, Y:0, K:0.35. Its decimal value is 5508775.

Hex triplet 540ea7 #540ea7
RGB Decimal 84, 14, 167 rgb(84,14,167)
RGB Percent 32.9, 5.5, 65.5 rgb(32.9%,5.5%,65.5%)
CMYK 50, 92, 0, 35
HSL 267.5°, 84.5, 35.5 hsl(267.5,84.5%,35.5%)
HSV (or HSB) 267.5°, 91.6, 65.5
Web Safe 660099 #660099
CIE-LAB 26.703, 58.015, -65.879
XYZ 10.787, 4.989, 36.952
xyY 0.205, 0.095, 4.989
CIE-LCH 26.703, 87.783, 311.368
CIE-LUV 26.703, 7.558, -83.247
Hunter-Lab 22.336, 47.119, -82.453
Binary 01010100, 00001110, 10100111

Color Schemes with #540ea7

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

Alternatives to #540ea7

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

Similar Colors

#540ea7 Preview

Text with hexadecimal color #540ea7

This text has a font color of #540ea7.

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

This paragraph has a background color of #540ea7.

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

This element has a border color of #540ea7.

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

Shades and Tints of #540ea7

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

Shade Color Variation
Tint Color Variation

Tones of #540ea7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ea7 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
  • #004789 Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #3c4b50 Tritanopia 0.001% of the population
Trichromacy
  • #1e3294 Protanomaly 1% of men, 0.01% of women
  • #1e3489 Deuteranomaly 6% of men, 0.4% of women
  • #453570 Tritanomaly 0.01% of the population