#540b9c Color Information

In a RGB color space, hex #540b9c is composed of 32.9% red, 4.3% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 92.9% magenta, 0% yellow and 38.8% black. It has a hue angle of 270.2 degrees, a saturation of 86.8% and a lightness of 32.7%. #540b9c color hex could be obtained by blending #a816ff with #000039. Closest websafe color is: #660099.

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

#540b9c color description : Dark violet.

#540b9c Color Conversion

The hexadecimal color #540b9c has RGB values of R:84, G:11, B:156 and CMYK values of C:0.46, M:0.93, Y:0, K:0.39. Its decimal value is 5507996.

Hex triplet 540b9c #540b9c
RGB Decimal 84, 11, 156 rgb(84,11,156)
RGB Percent 32.9, 4.3, 61.2 rgb(32.9%,4.3%,61.2%)
CMYK 46, 93, 0, 39
HSL 270.2°, 86.8, 32.7 hsl(270.2,86.8%,32.7%)
HSV (or HSB) 270.2°, 92.9, 61.2
Web Safe 660099 #660099
CIE-LAB 25.335, 56.097, -61.44
XYZ 9.776, 4.524, 31.809
xyY 0.212, 0.098, 4.524
CIE-LCH 25.335, 83.197, 312.397
CIE-LUV 25.335, 9.253, -76.756
Hunter-Lab 21.271, 44.811, -73.774
Binary 01010100, 00001011, 10011100

Color Schemes with #540b9c

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

Alternatives to #540b9c

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

Similar Colors

#540b9c Preview

Text with hexadecimal color #540b9c

This text has a font color of #540b9c.

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

This paragraph has a background color of #540b9c.

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

This element has a border color of #540b9c.

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

Shades and Tints of #540b9c

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

Shade Color Variation
Tint Color Variation

Tones of #540b9c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540b9c 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
  • #004484 Protanopia 1% of men
  • #004873 Deuteranopia 1% of men
  • #42464b Tritanopia 0.001% of the population
Trichromacy
  • #1e2f8d Protanomaly 1% of men, 0.01% of women
  • #1e3182 Deuteranomaly 6% of men, 0.4% of women
  • #483068 Tritanomaly 0.01% of the population