#540c8a Color Information
In a RGB color space, hex #540c8a is composed of 32.9% red, 4.7% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 39.1% cyan, 91.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 274.3 degrees, a saturation of 84% and a lightness of 29.4%. #540c8a color hex could be obtained by blending #a818ff with #000015. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 54
-
- C 39
- M 91
- Y 0
- K 46
● #540c8a color description : Dark violet.
#540c8a Color Conversion
The hexadecimal color #540c8a has RGB values of R:84, G:12, B:138 and CMYK values of C:0.39, M:0.91, Y:0, K:0.46. Its decimal value is 5508234.
Hex triplet | 540c8a | #540c8a |
---|---|---|
RGB Decimal | 84, 12, 138 | rgb(84,12,138) |
RGB Percent | 32.9, 4.7, 54.1 | rgb(32.9%,4.7%,54.1%) |
CMYK | 39, 91, 0, 46 | |
HSL | 274.3°, 84, 29.4 | hsl(274.3,84%,29.4%) |
HSV (or HSB) | 274.3°, 91.3, 54.1 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.615, 51.736, -53.131 |
---|---|
XYZ | 8.374, 3.983, 24.371 |
xyY | 0.228, 0.108, 3.983 |
CIE-LCH | 23.615, 74.159, 314.238 |
CIE-LUV | 23.615, 12.078, -65.857 |
Hunter-Lab | 19.957, 39.977, -58.433 |
Binary | 01010100, 00001100, 10001010 |
Color Schemes with #540c8a
Alternatives to #540c8a
Below, you can see some colors close to #540c8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c8a Preview
This text has a font color of #540c8a.
<span style="color:#540c8a;">Text here</span>
This paragraph has a background color of #540c8a.
<p style="background-color:#540c8a;">Content here</p>
This element has a border color of #540c8a.
<div style="border:1px solid #540c8a;">Content here</div>
.text {color:#540c8a;}
.background {background-color:#540c8a;}
.border {border:1px solid #540c8a;}
Shades and Tints of #540c8a
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, #07010c is the darkest color, while #fcf9fe is the lightest one.
-
#07010c
#07010c
rgb(7,1,12)
-
#12031e
#12031e
rgb(18,3,30)
-
#1d0430
#1d0430
rgb(29,4,48)
-
#280642
#280642
rgb(40,6,66)
-
#330754
#330754
rgb(51,7,84)
-
#3e0966
#3e0966
rgb(62,9,102)
-
#490a78
#490a78
rgb(73,10,120)
-
#540c8a
#540c8a
rgb(84,12,138)
-
#5f0e9c
#5f0e9c
rgb(95,14,156)
-
#6a0fae
#6a0fae
rgb(106,15,174)
-
#7511c0
#7511c0
rgb(117,17,192)
-
#8012d2
#8012d2
rgb(128,18,210)
-
#8b14e4
#8b14e4
rgb(139,20,228)
-
#9420ec
#9420ec
rgb(148,32,236)
-
#9d32ed
#9d32ed
rgb(157,50,237)
-
#a644ef
#a644ef
rgb(166,68,239)
-
#ae56f0
#ae56f0
rgb(174,86,240)
-
#b768f2
#b768f2
rgb(183,104,242)
-
#c07af3
#c07af3
rgb(192,122,243)
-
#c88cf5
#c88cf5
rgb(200,140,245)
-
#d19ef7
#d19ef7
rgb(209,158,247)
-
#d9b0f8
#d9b0f8
rgb(217,176,248)
-
#e2c2fa
#e2c2fa
rgb(226,194,250)
-
#ebd5fb
#ebd5fb
rgb(235,213,251)
-
#f3e7fd
#f3e7fd
rgb(243,231,253)
-
#fcf9fe
#fcf9fe
rgb(252,249,254)
Tones of #540c8a
A tone is produced by adding gray to any pure hue. In this case, #4c4650 is the less saturated color, while #560096 is the most saturated one.
-
#4c4650
#4c4650
rgb(76,70,80)
-
#4d4056
#4d4056
rgb(77,64,86)
-
#4d3a5c
#4d3a5c
rgb(77,58,92)
-
#4e3462
#4e3462
rgb(78,52,98)
-
#4f2f67
#4f2f67
rgb(79,47,103)
-
#50296d
#50296d
rgb(80,41,109)
-
#512373
#512373
rgb(81,35,115)
-
#521d79
#521d79
rgb(82,29,121)
-
#52187e
#52187e
rgb(82,24,126)
-
#531284
#531284
rgb(83,18,132)
-
#540c8a
#540c8a
rgb(84,12,138)
-
#550690
#550690
rgb(85,6,144)
-
#560096
#560096
rgb(86,0,150)
Color Blindness Simulator
Below, you can see how #540c8a 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.