#540c9b Color Information
In a RGB color space, hex #540c9b is composed of 32.9% red, 4.7% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 92.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 270.2 degrees, a saturation of 85.6% and a lightness of 32.7%. #540c9b color hex could be obtained by blending #a818ff with #000037. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 61
-
- C 46
- M 92
- Y 0
- K 39
● #540c9b color description : Dark violet.
#540c9b Color Conversion
The hexadecimal color #540c9b has RGB values of R:84, G:12, B:155 and CMYK values of C:0.46, M:0.92, Y:0, K:0.39. Its decimal value is 5508251.
Hex triplet | 540c9b | #540c9b |
---|---|---|
RGB Decimal | 84, 12, 155 | rgb(84,12,155) |
RGB Percent | 32.9, 4.7, 60.8 | rgb(32.9%,4.7%,60.8%) |
CMYK | 46, 92, 0, 39 | |
HSL | 270.2°, 85.6, 32.7 | hsl(270.2,85.6%,32.7%) |
HSV (or HSB) | 270.2°, 92.3, 60.8 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.304, 55.649, -60.878 |
---|---|
XYZ | 9.703, 4.514, 31.369 |
xyY | 0.213, 0.099, 4.514 |
CIE-LCH | 25.304, 82.481, 312.431 |
CIE-LUV | 25.304, 9.355, -76.14 |
Hunter-Lab | 21.247, 44.335, -72.662 |
Binary | 01010100, 00001100, 10011011 |
Color Schemes with #540c9b
Alternatives to #540c9b
Below, you can see some colors close to #540c9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9b Preview
This text has a font color of #540c9b.
<span style="color:#540c9b;">Text here</span>
This paragraph has a background color of #540c9b.
<p style="background-color:#540c9b;">Content here</p>
This element has a border color of #540c9b.
<div style="border:1px solid #540c9b;">Content here</div>
.text {color:#540c9b;}
.background {background-color:#540c9b;}
.border {border:1px solid #540c9b;}
Shades and Tints of #540c9b
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.
-
#050109
#050109
rgb(5,1,9)
-
#0f021c
#0f021c
rgb(15,2,28)
-
#19042e
#19042e
rgb(25,4,46)
-
#230540
#230540
rgb(35,5,64)
-
#2d0652
#2d0652
rgb(45,6,82)
-
#360864
#360864
rgb(54,8,100)
-
#400977
#400977
rgb(64,9,119)
-
#4a0b89
#4a0b89
rgb(74,11,137)
-
#540c9b
#540c9b
rgb(84,12,155)
-
#5e0dad
#5e0dad
rgb(94,13,173)
-
#680fbf
#680fbf
rgb(104,15,191)
-
#7210d2
#7210d2
rgb(114,16,210)
-
#7b12e4
#7b12e4
rgb(123,18,228)
-
#851ced
#851ced
rgb(133,28,237)
-
#8f2eef
#8f2eef
rgb(143,46,239)
-
#9940f0
#9940f0
rgb(153,64,240)
-
#a352f2
#a352f2
rgb(163,82,242)
-
#ac64f3
#ac64f3
rgb(172,100,243)
-
#b677f4
#b677f4
rgb(182,119,244)
-
#c089f6
#c089f6
rgb(192,137,246)
-
#ca9bf7
#ca9bf7
rgb(202,155,247)
-
#d3adf9
#d3adf9
rgb(211,173,249)
-
#ddc0fa
#ddc0fa
rgb(221,192,250)
-
#e7d2fb
#e7d2fb
rgb(231,210,251)
-
#f1e4fd
#f1e4fd
rgb(241,228,253)
-
#faf6fe
#faf6fe
rgb(250,246,254)
Tones of #540c9b
A tone is produced by adding gray to any pure hue. In this case, #545354 is the less saturated color, while #5406a1 is the most saturated one.
-
#545354
#545354
rgb(84,83,84)
-
#544c5b
#544c5b
rgb(84,76,91)
-
#544661
#544661
rgb(84,70,97)
-
#543f68
#543f68
rgb(84,63,104)
-
#54396e
#54396e
rgb(84,57,110)
-
#543374
#543374
rgb(84,51,116)
-
#542c7b
#542c7b
rgb(84,44,123)
-
#542681
#542681
rgb(84,38,129)
-
#541f88
#541f88
rgb(84,31,136)
-
#54198e
#54198e
rgb(84,25,142)
-
#541295
#541295
rgb(84,18,149)
-
#540c9b
#540c9b
rgb(84,12,155)
-
#5406a1
#5406a1
rgb(84,6,161)
Color Blindness Simulator
Below, you can see how #540c9b 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.