#540c9c Color Information
In a RGB color space, hex #540c9c is composed of 32.9% red, 4.7% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 92.3% magenta, 0% yellow and 38.8% black. It has a hue angle of 270 degrees, a saturation of 85.7% and a lightness of 32.9%. #540c9c color hex could be obtained by blending #a818ff with #000039. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 61
-
- C 46
- M 92
- Y 0
- K 39
● #540c9c color description : Dark violet.
#540c9c Color Conversion
The hexadecimal color #540c9c has RGB values of R:84, G:12, B:156 and CMYK values of C:0.46, M:0.92, Y:0, K:0.39. Its decimal value is 5508252.
Hex triplet | 540c9c | #540c9c |
---|---|---|
RGB Decimal | 84, 12, 156 | rgb(84,12,156) |
RGB Percent | 32.9, 4.7, 61.2 | rgb(32.9%,4.7%,61.2%) |
CMYK | 46, 92, 0, 39 | |
HSL | 270°, 85.7, 32.9 | hsl(270,85.7%,32.9%) |
HSV (or HSB) | 270°, 92.3, 61.2 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.406, 55.882, -61.322 |
---|---|
XYZ | 9.787, 4.548, 31.813 |
xyY | 0.212, 0.099, 4.548 |
CIE-LCH | 25.406, 82.965, 312.343 |
CIE-LUV | 25.406, 9.207, -76.738 |
Hunter-Lab | 21.326, 44.599, -73.516 |
Binary | 01010100, 00001100, 10011100 |
Color Schemes with #540c9c
Alternatives to #540c9c
Below, you can see some colors close to #540c9c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9c Preview
This text has a font color of #540c9c.
<span style="color:#540c9c;">Text here</span>
This paragraph has a background color of #540c9c.
<p style="background-color:#540c9c;">Content here</p>
This element has a border color of #540c9c.
<div style="border:1px solid #540c9c;">Content here</div>
.text {color:#540c9c;}
.background {background-color:#540c9c;}
.border {border:1px solid #540c9c;}
Shades and Tints of #540c9c
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, #06010a is the darkest color, while #fbf7fe is the lightest one.
-
#06010a
#06010a
rgb(6,1,10)
-
#0f021d
#0f021d
rgb(15,2,29)
-
#19042f
#19042f
rgb(25,4,47)
-
#230541
#230541
rgb(35,5,65)
-
#2d0653
#2d0653
rgb(45,6,83)
-
#370865
#370865
rgb(55,8,101)
-
#400978
#400978
rgb(64,9,120)
-
#4a0b8a
#4a0b8a
rgb(74,11,138)
-
#540c9c
#540c9c
rgb(84,12,156)
-
#5e0dae
#5e0dae
rgb(94,13,174)
-
#680fc0
#680fc0
rgb(104,15,192)
-
#7110d3
#7110d3
rgb(113,16,211)
-
#7b12e5
#7b12e5
rgb(123,18,229)
-
#851dee
#851dee
rgb(133,29,238)
-
#8f2fef
#8f2fef
rgb(143,47,239)
-
#9941f0
#9941f0
rgb(153,65,240)
-
#a253f2
#a253f2
rgb(162,83,242)
-
#ac65f3
#ac65f3
rgb(172,101,243)
-
#b678f5
#b678f5
rgb(182,120,245)
-
#c08af6
#c08af6
rgb(192,138,246)
-
#ca9cf7
#ca9cf7
rgb(202,156,247)
-
#d4aef9
#d4aef9
rgb(212,174,249)
-
#ddc0fa
#ddc0fa
rgb(221,192,250)
-
#e7d3fc
#e7d3fc
rgb(231,211,252)
-
#f1e5fd
#f1e5fd
rgb(241,229,253)
-
#fbf7fe
#fbf7fe
rgb(251,247,254)
Tones of #540c9c
A tone is produced by adding gray to any pure hue. In this case, #545355 is the less saturated color, while #5406a2 is the most saturated one.
-
#545355
#545355
rgb(84,83,85)
-
#544d5b
#544d5b
rgb(84,77,91)
-
#544662
#544662
rgb(84,70,98)
-
#544068
#544068
rgb(84,64,104)
-
#54396f
#54396f
rgb(84,57,111)
-
#543375
#543375
rgb(84,51,117)
-
#542c7c
#542c7c
rgb(84,44,124)
-
#542682
#542682
rgb(84,38,130)
-
#541f89
#541f89
rgb(84,31,137)
-
#54198f
#54198f
rgb(84,25,143)
-
#541296
#541296
rgb(84,18,150)
-
#540c9c
#540c9c
rgb(84,12,156)
-
#5406a2
#5406a2
rgb(84,6,162)
Color Blindness Simulator
Below, you can see how #540c9c 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.