#540c8c Color Information
In a RGB color space, hex #540c8c is composed of 32.9% red, 4.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 91.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 273.8 degrees, a saturation of 84.2% and a lightness of 29.8%. #540c8c color hex could be obtained by blending #a818ff with #000019. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 55
-
- C 40
- M 91
- Y 0
- K 45
● #540c8c color description : Dark violet.
#540c8c Color Conversion
The hexadecimal color #540c8c has RGB values of R:84, G:12, B:140 and CMYK values of C:0.4, M:0.91, Y:0, K:0.45. Its decimal value is 5508236.
Hex triplet | 540c8c | #540c8c |
---|---|---|
RGB Decimal | 84, 12, 140 | rgb(84,12,140) |
RGB Percent | 32.9, 4.7, 54.9 | rgb(32.9%,4.7%,54.9%) |
CMYK | 40, 91, 0, 45 | |
HSL | 273.8°, 84.2, 29.8 | hsl(273.8,84.2%,29.8%) |
HSV (or HSB) | 273.8°, 91.4, 54.9 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.808, 52.191, -54.064 |
---|---|
XYZ | 8.521, 4.041, 25.141 |
xyY | 0.226, 0.107, 4.041 |
CIE-LCH | 23.808, 75.145, 313.99 |
CIE-LUV | 23.808, 11.736, -67.08 |
Hunter-Lab | 20.103, 40.476, -60.075 |
Binary | 01010100, 00001100, 10001100 |
Color Schemes with #540c8c
Alternatives to #540c8c
Below, you can see some colors close to #540c8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8c Preview
This text has a font color of #540c8c.
<span style="color:#540c8c;">Text here</span>
This paragraph has a background color of #540c8c.
<p style="background-color:#540c8c;">Content here</p>
This element has a border color of #540c8c.
<div style="border:1px solid #540c8c;">Content here</div>
.text {color:#540c8c;}
.background {background-color:#540c8c;}
.border {border:1px solid #540c8c;}
Shades and Tints of #540c8c
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, #08010e is the darkest color, while #fdfaff is the lightest one.
-
#08010e
#08010e
rgb(8,1,14)
-
#130320
#130320
rgb(19,3,32)
-
#1e0432
#1e0432
rgb(30,4,50)
-
#290644
#290644
rgb(41,6,68)
-
#330756
#330756
rgb(51,7,86)
-
#3e0968
#3e0968
rgb(62,9,104)
-
#490a7a
#490a7a
rgb(73,10,122)
-
#540c8c
#540c8c
rgb(84,12,140)
-
#5f0e9e
#5f0e9e
rgb(95,14,158)
-
#6a0fb0
#6a0fb0
rgb(106,15,176)
-
#7511c2
#7511c2
rgb(117,17,194)
-
#7f12d4
#7f12d4
rgb(127,18,212)
-
#8a14e6
#8a14e6
rgb(138,20,230)
-
#9322ec
#9322ec
rgb(147,34,236)
-
#9c34ee
#9c34ee
rgb(156,52,238)
-
#a546ef
#a546ef
rgb(165,70,239)
-
#ae58f1
#ae58f1
rgb(174,88,241)
-
#b76af2
#b76af2
rgb(183,106,242)
-
#bf7cf4
#bf7cf4
rgb(191,124,244)
-
#c88ef5
#c88ef5
rgb(200,142,245)
-
#d1a0f7
#d1a0f7
rgb(209,160,247)
-
#dab2f8
#dab2f8
rgb(218,178,248)
-
#e2c4fa
#e2c4fa
rgb(226,196,250)
-
#ebd6fc
#ebd6fc
rgb(235,214,252)
-
#f4e8fd
#f4e8fd
rgb(244,232,253)
-
#fdfaff
#fdfaff
rgb(253,250,255)
Tones of #540c8c
A tone is produced by adding gray to any pure hue. In this case, #4d4652 is the less saturated color, while #550098 is the most saturated one.
-
#4d4652
#4d4652
rgb(77,70,82)
-
#4d4157
#4d4157
rgb(77,65,87)
-
#4e3b5d
#4e3b5d
rgb(78,59,93)
-
#4f3563
#4f3563
rgb(79,53,99)
-
#502f69
#502f69
rgb(80,47,105)
-
#50296f
#50296f
rgb(80,41,111)
-
#512375
#512375
rgb(81,35,117)
-
#521e7a
#521e7a
rgb(82,30,122)
-
#531880
#531880
rgb(83,24,128)
-
#531286
#531286
rgb(83,18,134)
-
#540c8c
#540c8c
rgb(84,12,140)
-
#550692
#550692
rgb(85,6,146)
-
#550098
#550098
rgb(85,0,152)
Color Blindness Simulator
Below, you can see how #540c8c 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.