#540ab2 Color Information

In a RGB color space, hex #540ab2 is composed of 32.9% red, 3.9% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 52.8% cyan, 94.4% magenta, 0% yellow and 30.2% black. It has a hue angle of 266.4 degrees, a saturation of 89.4% and a lightness of 36.9%. #540ab2 color hex could be obtained by blending #a814ff with #000065. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 70
    RGB color chart
    • C 53
    • M 94
    • Y 0
    • K 30
    CMYK color chart

#540ab2 color description : Dark violet.

#540ab2 Color Conversion

The hexadecimal color #540ab2 has RGB values of R:84, G:10, B:178 and CMYK values of C:0.53, M:0.94, Y:0, K:0.3. Its decimal value is 5507762.

Hex triplet 540ab2 #540ab2
RGB Decimal 84, 10, 178 rgb(84,10,178)
RGB Percent 32.9, 3.9, 69.8 rgb(32.9%,3.9%,69.8%)
CMYK 53, 94, 0, 30
HSL 266.4°, 89.4, 36.9 hsl(266.4,89.4%,36.9%)
HSV (or HSB) 266.4°, 94.4, 69.8
Web Safe 660099 #660099
CIE-LAB 27.617, 61.421, -70.987
XYZ 11.799, 5.316, 42.521
xyY 0.198, 0.089, 5.316
CIE-LCH 27.617, 93.871, 310.868
CIE-LUV 27.617, 6.307, -89.745
Hunter-Lab 23.057, 50.998, -93.204
Binary 01010100, 00001010, 10110010

Color Schemes with #540ab2

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

Alternatives to #540ab2

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

Similar Colors

#540ab2 Preview

Text with hexadecimal color #540ab2

This text has a font color of #540ab2.

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

This paragraph has a background color of #540ab2.

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

This element has a border color of #540ab2.

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

Shades and Tints of #540ab2

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

Shade Color Variation
Tint Color Variation

Tones of #540ab2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540ab2 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
  • #333333 Achromatopsia 0.005% of the population
  • #3a2b4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498d Protanopia 1% of men
  • #004d7b Deuteranopia 1% of men
  • #344f54 Tritanopia 0.001% of the population
Trichromacy
  • #1e329a Protanomaly 1% of men, 0.01% of women
  • #1e348f Deuteranomaly 6% of men, 0.4% of women
  • #403576 Tritanomaly 0.01% of the population