#540f9b Color Information

In a RGB color space, hex #540f9b is composed of 32.9% red, 5.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 90.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 269.6 degrees, a saturation of 82.4% and a lightness of 33.3%. #540f9b color hex could be obtained by blending #a81eff with #000037. Closest websafe color is: #660099.

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

#540f9b color description : Dark violet.

#540f9b Color Conversion

The hexadecimal color #540f9b has RGB values of R:84, G:15, B:155 and CMYK values of C:0.46, M:0.9, Y:0, K:0.39. Its decimal value is 5509019.

Hex triplet 540f9b #540f9b
RGB Decimal 84, 15, 155 rgb(84,15,155)
RGB Percent 32.9, 5.9, 60.8 rgb(32.9%,5.9%,60.8%)
CMYK 46, 90, 0, 39
HSL 269.6°, 82.4, 33.3 hsl(269.6,82.4%,33.3%)
HSV (or HSB) 269.6°, 90.3, 60.8
Web Safe 660099 #660099
CIE-LAB 25.542, 54.936, -60.485
XYZ 9.742, 4.593, 31.382
xyY 0.213, 0.1, 4.593
CIE-LCH 25.542, 81.71, 312.248
CIE-LUV 25.542, 9.198, -76.07
Hunter-Lab 21.431, 43.639, -71.816
Binary 01010100, 00001111, 10011011

Color Schemes with #540f9b

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

Alternatives to #540f9b

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

Similar Colors

#540f9b Preview

Text with hexadecimal color #540f9b

This text has a font color of #540f9b.

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

This paragraph has a background color of #540f9b.

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

This element has a border color of #540f9b.

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

Shades and Tints of #540f9b

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, #06010c is the darkest color, while #fcf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f9b

A tone is produced by adding gray to any pure hue. In this case, #55505a is the less saturated color, while #5402a8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f9b 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2d49 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004874 Deuteranopia 1% of men
  • #43474c Tritanopia 0.001% of the population
Trichromacy
  • #1e318d Protanomaly 1% of men, 0.01% of women
  • #1e3382 Deuteranomaly 6% of men, 0.4% of women
  • #493268 Tritanomaly 0.01% of the population