#540b9b Color Information
In a RGB color space, hex #540b9b is composed of 32.9% red, 4.3% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 92.9% magenta, 0% yellow and 39.2% black. It has a hue angle of 270.4 degrees, a saturation of 86.7% and a lightness of 32.5%. #540b9b color hex could be obtained by blending #a816ff with #000037. Closest websafe color is: #660099.
-
- R 33
- G 4
- B 61
-
- C 46
- M 93
- Y 0
- K 39
● #540b9b color description : Dark violet.
#540b9b Color Conversion
The hexadecimal color #540b9b has RGB values of R:84, G:11, B:155 and CMYK values of C:0.46, M:0.93, Y:0, K:0.39. Its decimal value is 5507995.
Hex triplet | 540b9b | #540b9b |
---|---|---|
RGB Decimal | 84, 11, 155 | rgb(84,11,155) |
RGB Percent | 32.9, 4.3, 60.8 | rgb(32.9%,4.3%,60.8%) |
CMYK | 46, 93, 0, 39 | |
HSL | 270.4°, 86.7, 32.5 | hsl(270.4,86.7%,32.5%) |
HSV (or HSB) | 270.4°, 92.9, 60.8 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.232, 55.865, -60.997 |
---|---|
XYZ | 9.691, 4.491, 31.365 |
xyY | 0.213, 0.099, 4.491 |
CIE-LCH | 25.232, 82.714, 312.486 |
CIE-LUV | 25.232, 9.401, -76.159 |
Hunter-Lab | 21.191, 44.547, -72.92 |
Binary | 01010100, 00001011, 10011011 |
Color Schemes with #540b9b
Alternatives to #540b9b
Below, you can see some colors close to #540b9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540b9b Preview
This text has a font color of #540b9b.
<span style="color:#540b9b;">Text here</span>
This paragraph has a background color of #540b9b.
<p style="background-color:#540b9b;">Content here</p>
This element has a border color of #540b9b.
<div style="border:1px solid #540b9b;">Content here</div>
.text {color:#540b9b;}
.background {background-color:#540b9b;}
.border {border:1px solid #540b9b;}
Shades and Tints of #540b9b
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, #050108 is the darkest color, while #faf5fe is the lightest one.
-
#050108
#050108
rgb(5,1,8)
-
#0f021b
#0f021b
rgb(15,2,27)
-
#18032d
#18032d
rgb(24,3,45)
-
#22053f
#22053f
rgb(34,5,63)
-
#2c0652
#2c0652
rgb(44,6,82)
-
#360764
#360764
rgb(54,7,100)
-
#400876
#400876
rgb(64,8,118)
-
#4a0a89
#4a0a89
rgb(74,10,137)
-
#540b9b
#540b9b
rgb(84,11,155)
-
#5e0cad
#5e0cad
rgb(94,12,173)
-
#680ec0
#680ec0
rgb(104,14,192)
-
#720fd2
#720fd2
rgb(114,15,210)
-
#7c10e4
#7c10e4
rgb(124,16,228)
-
#8619ef
#8619ef
rgb(134,25,239)
-
#8f2cf0
#8f2cf0
rgb(143,44,240)
-
#993ef1
#993ef1
rgb(153,62,241)
-
#a350f3
#a350f3
rgb(163,80,243)
-
#ac63f4
#ac63f4
rgb(172,99,244)
-
#b675f5
#b675f5
rgb(182,117,245)
-
#c087f7
#c087f7
rgb(192,135,247)
-
#c99af8
#c99af8
rgb(201,154,248)
-
#d3acf9
#d3acf9
rgb(211,172,249)
-
#ddbefa
#ddbefa
rgb(221,190,250)
-
#e6d1fc
#e6d1fc
rgb(230,209,252)
-
#f0e3fd
#f0e3fd
rgb(240,227,253)
-
#faf5fe
#faf5fe
rgb(250,245,254)
Tones of #540b9b
A tone is produced by adding gray to any pure hue. In this case, #535155 is the less saturated color, while #5405a1 is the most saturated one.
-
#535155
#535155
rgb(83,81,85)
-
#534b5b
#534b5b
rgb(83,75,91)
-
#534462
#534462
rgb(83,68,98)
-
#533e68
#533e68
rgb(83,62,104)
-
#53386e
#53386e
rgb(83,56,110)
-
#533175
#533175
rgb(83,49,117)
-
#542b7b
#542b7b
rgb(84,43,123)
-
#542581
#542581
rgb(84,37,129)
-
#541e88
#541e88
rgb(84,30,136)
-
#54188e
#54188e
rgb(84,24,142)
-
#541195
#541195
rgb(84,17,149)
-
#540b9b
#540b9b
rgb(84,11,155)
-
#5405a1
#5405a1
rgb(84,5,161)
Color Blindness Simulator
Below, you can see how #540b9b 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.