#540a8b Color Information

In a RGB color space, hex #540a8b is composed of 32.9% red, 3.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 92.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 274.4 degrees, a saturation of 86.6% and a lightness of 29.2%. #540a8b color hex could be obtained by blending #a814ff with #000017. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 55
    RGB color chart
    • C 40
    • M 93
    • Y 0
    • K 45
    CMYK color chart

#540a8b color description : Dark violet.

#540a8b Color Conversion

The hexadecimal color #540a8b has RGB values of R:84, G:10, B:139 and CMYK values of C:0.4, M:0.93, Y:0, K:0.45. Its decimal value is 5507723.

Hex triplet 540a8b #540a8b
RGB Decimal 84, 10, 139 rgb(84,10,139)
RGB Percent 32.9, 3.9, 54.5 rgb(32.9%,3.9%,54.5%)
CMYK 40, 93, 0, 45
HSL 274.4°, 86.6, 29.2 hsl(274.4,86.6%,29.2%)
HSV (or HSB) 274.4°, 92.8, 54.5
Web Safe 660099 #660099
CIE-LAB 23.559, 52.416, -53.847
XYZ 8.424, 3.966, 24.746
xyY 0.227, 0.107, 3.966
CIE-LCH 23.559, 75.146, 314.228
CIE-LUV 23.559, 12.006, -66.533
Hunter-Lab 19.915, 40.655, -59.733
Binary 01010100, 00001010, 10001011

Color Schemes with #540a8b

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

Alternatives to #540a8b

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

Similar Colors

#540a8b Preview

Text with hexadecimal color #540a8b

This text has a font color of #540a8b.

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

This paragraph has a background color of #540a8b.

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

This element has a border color of #540a8b.

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

Shades and Tints of #540a8b

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

Shade Color Variation
Tint Color Variation

Tones of #540a8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540a8b 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #362841 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00446d Deuteranopia 1% of men
  • #493f44 Tritanopia 0.001% of the population
Trichromacy
  • #1e2c82 Protanomaly 1% of men, 0.01% of women
  • #1e2e78 Deuteranomaly 6% of men, 0.4% of women
  • #4d2c5e Tritanomaly 0.01% of the population