#540b8a Color Information

In a RGB color space, hex #540b8a is composed of 32.9% red, 4.3% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 39.1% cyan, 92% magenta, 0% yellow and 45.9% black. It has a hue angle of 274.5 degrees, a saturation of 85.2% and a lightness of 29.2%. #540b8a color hex could be obtained by blending #a816ff with #000015. Closest websafe color is: #660099.

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

#540b8a color description : Dark violet.

#540b8a Color Conversion

The hexadecimal color #540b8a has RGB values of R:84, G:11, B:138 and CMYK values of C:0.39, M:0.92, Y:0, K:0.46. Its decimal value is 5507978.

Hex triplet 540b8a #540b8a
RGB Decimal 84, 11, 138 rgb(84,11,138)
RGB Percent 32.9, 4.3, 54.1 rgb(32.9%,4.3%,54.1%)
CMYK 39, 92, 0, 46
HSL 274.5°, 85.2, 29.2 hsl(274.5,85.2%,29.2%)
HSV (or HSB) 274.5°, 92, 54.1
Web Safe 660099 #660099
CIE-LAB 23.536, 51.969, -53.26
XYZ 8.363, 3.959, 24.367
xyY 0.228, 0.108, 3.959
CIE-LCH 23.536, 74.414, 314.297
CIE-LUV 23.536, 12.13, -65.892
Hunter-Lab 19.898, 40.198, -58.678
Binary 01010100, 00001011, 10001010

Color Schemes with #540b8a

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

Alternatives to #540b8a

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

Similar Colors

#540b8a Preview

Text with hexadecimal color #540b8a

This text has a font color of #540b8a.

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

This paragraph has a background color of #540b8a.

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

This element has a border color of #540b8a.

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

Shades and Tints of #540b8a

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 #540b8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540b8a 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
  • #4a3f44 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d81 Protanomaly 1% of men, 0.01% of women
  • #1e2f78 Deuteranomaly 6% of men, 0.4% of women
  • #4d2c5d Tritanomaly 0.01% of the population