#540ea2 Color Information

In a RGB color space, hex #540ea2 is composed of 32.9% red, 5.5% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 48.1% cyan, 91.4% magenta, 0% yellow and 36.5% black. It has a hue angle of 268.4 degrees, a saturation of 84.1% and a lightness of 34.5%. #540ea2 color hex could be obtained by blending #a81cff with #000045. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 64
    RGB color chart
    • C 48
    • M 91
    • Y 0
    • K 36
    CMYK color chart

#540ea2 color description : Dark violet.

#540ea2 Color Conversion

The hexadecimal color #540ea2 has RGB values of R:84, G:14, B:162 and CMYK values of C:0.48, M:0.91, Y:0, K:0.36. Its decimal value is 5508770.

Hex triplet 540ea2 #540ea2
RGB Decimal 84, 14, 162 rgb(84,14,162)
RGB Percent 32.9, 5.5, 63.5 rgb(32.9%,5.5%,63.5%)
CMYK 48, 91, 0, 36
HSL 268.4°, 84.1, 34.5 hsl(268.4,84.1%,34.5%)
HSV (or HSB) 268.4°, 91.4, 63.5
Web Safe 660099 #660099
CIE-LAB 26.179, 56.833, -63.71
XYZ 10.334, 4.807, 34.564
xyY 0.208, 0.097, 4.807
CIE-LCH 26.179, 85.375, 311.735
CIE-LUV 26.179, 8.245, -80.279
Hunter-Lab 21.926, 45.756, -78.116
Binary 01010100, 00001110, 10100010

Color Schemes with #540ea2

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

Alternatives to #540ea2

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

Similar Colors

#540ea2 Preview

Text with hexadecimal color #540ea2

This text has a font color of #540ea2.

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

This paragraph has a background color of #540ea2.

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

This element has a border color of #540ea2.

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

Shades and Tints of #540ea2

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

Shade Color Variation
Tint Color Variation

Tones of #540ea2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ea2 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
  • #3a2c4a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004687 Protanopia 1% of men
  • #004976 Deuteranopia 1% of men
  • #3f494e Tritanopia 0.001% of the population
Trichromacy
  • #1e3191 Protanomaly 1% of men, 0.01% of women
  • #1e3486 Deuteranomaly 6% of men, 0.4% of women
  • #46336d Tritanomaly 0.01% of the population