#540a9b Color Information

In a RGB color space, hex #540a9b is composed of 32.9% red, 3.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 93.5% magenta, 0% yellow and 39.2% black. It has a hue angle of 270.6 degrees, a saturation of 87.9% and a lightness of 32.4%. #540a9b color hex could be obtained by blending #a814ff with #000037. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 61
    RGB color chart
    • C 46
    • M 94
    • Y 0
    • K 39
    CMYK color chart

#540a9b color description : Dark violet.

#540a9b Color Conversion

The hexadecimal color #540a9b has RGB values of R:84, G:10, B:155 and CMYK values of C:0.46, M:0.94, Y:0, K:0.39. Its decimal value is 5507739.

Hex triplet 540a9b #540a9b
RGB Decimal 84, 10, 155 rgb(84,10,155)
RGB Percent 32.9, 3.9, 60.8 rgb(32.9%,3.9%,60.8%)
CMYK 46, 94, 0, 39
HSL 270.6°, 87.9, 32.4 hsl(270.6,87.9%,32.4%)
HSV (or HSB) 270.6°, 93.5, 60.8
Web Safe 660099 #660099
CIE-LAB 25.163, 56.07, -61.11
XYZ 9.68, 4.468, 31.361
xyY 0.213, 0.098, 4.468
CIE-LCH 25.163, 82.935, 312.537
CIE-LUV 25.163, 9.445, -76.176
Hunter-Lab 21.139, 44.748, -73.164
Binary 01010100, 00001010, 10011011

Color Schemes with #540a9b

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

Alternatives to #540a9b

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

Similar Colors

#540a9b Preview

Text with hexadecimal color #540a9b

This text has a font color of #540a9b.

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

This paragraph has a background color of #540a9b.

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

This element has a border color of #540a9b.

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

Shades and Tints of #540a9b

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

Shade Color Variation
Tint Color Variation

Tones of #540a9b

A tone is produced by adding gray to any pure hue. In this case, #535055 is the less saturated color, while #5404a1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540a9b 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
  • #313131 Achromatopsia 0.005% of the population
  • #382946 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004772 Deuteranopia 1% of men
  • #42464b Tritanopia 0.001% of the population
Trichromacy
  • #1e2e8c Protanomaly 1% of men, 0.01% of women
  • #1e3181 Deuteranomaly 6% of men, 0.4% of women
  • #493068 Tritanomaly 0.01% of the population