#540c5f hex color
In a RGB color space, hex #540c5f is composed of 32.9% red, 4.7% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 11.6% cyan, 87.4% magenta, 0% yellow and 62.7% black. It has a hue angle of 292 degrees, a saturation of 77.6% and a lightness of 21%. #540c5f color hex could be obtained by blending #a818be with #000000. Closest websafe color is: #660066.
-
- R 33
- G 5
- B 37
RGB color chart
-
- C 12
- M 87
- Y 0
- K 63
CMYK color chart
● #540c5f color description : Very dark magenta.
The hexadecimal color #540c5f has RGB values of R:84, G:12, B:95 and CMYK values of C:0.12, M:0.87, Y:0, K:0.63. Its decimal value is 5508191.
Hex triplet | 540c5f | #540c5f |
---|---|---|
RGB Decimal | 84, 12, 95 | rgb(84,12,95) |
RGB Percent | 32.9, 4.7, 37.3 | rgb(32.9%,4.7%,37.3%) |
CMYK | 12, 87, 0, 63 | |
HSL | 292°, 77.6, 21 | hsl(292,77.6%,21%) |
HSV (or HSB) | 292°, 87.4, 37.3 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 19.941, 42.53, -31.439 |
---|---|
XYZ | 5.853, 2.974, 11.092 |
xyY | 0.294, 0.149, 2.974 |
CIE-LCH | 19.941, 52.889, 323.527 |
CIE-LUV | 19.941, 21.187, -38.542 |
Hunter-Lab | 17.246, 30.398, -26.059 |
Binary | 01010100, 00001100, 01011111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #540c5f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540c5f
This text has a font color of #540c5f.
<span style="color:#540c5f;">Text here</span>
#540c5f background color
This paragraph has a background color of #540c5f.
<p style="background-color:#540c5f;">Content here</p>
#540c5f border color
This element has a border color of #540c5f.
<div style="border:1px solid #540c5f;">Content here</div>
CSS codes
.text {color:#540c5f;}
.background {background-color:#540c5f;}
.border {border:1px solid #540c5f;}
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, #070108 is the darkest color, while #fdf6fe is the lightest one.
-
#070108
#070108
rgb(7,1,8)
-
#160319
#160319
rgb(22,3,25)
-
#26052b
#26052b
rgb(38,5,43)
-
#35083c
#35083c
rgb(53,8,60)
-
#450a4e
#450a4e
rgb(69,10,78)
-
#540c5f
#540c5f
rgb(84,12,95)
-
#630e70
#630e70
rgb(99,14,112)
-
#731082
#731082
rgb(115,16,130)
-
#821393
#821393
rgb(130,19,147)
-
#9215a5
#9215a5
rgb(146,21,165)
-
#a117b6
#a117b6
rgb(161,23,182)
-
#b019c7
#b019c7
rgb(176,25,199)
-
#c01bd9
#c01bd9
rgb(192,27,217)
Shade Color Variation
-
#ca25e3
#ca25e3
rgb(202,37,227)
-
#ce36e6
#ce36e6
rgb(206,54,230)
-
#d347e8
#d347e8
rgb(211,71,232)
-
#d759ea
#d759ea
rgb(215,89,234)
-
#db6aec
#db6aec
rgb(219,106,236)
-
#df7cee
#df7cee
rgb(223,124,238)
-
#e38df1
#e38df1
rgb(227,141,241)
-
#e89ef3
#e89ef3
rgb(232,158,243)
-
#ecb0f5
#ecb0f5
rgb(236,176,245)
-
#f0c1f7
#f0c1f7
rgb(240,193,247)
-
#f4d3f9
#f4d3f9
rgb(244,211,249)
-
#f8e4fc
#f8e4fc
rgb(248,228,252)
-
#fdf6fe
#fdf6fe
rgb(253,246,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #363536 is the less saturated color, while #5a0467 is the most saturated one.
-
#363536
#363536
rgb(54,53,54)
-
#39313a
#39313a
rgb(57,49,58)
-
#3c2d3e
#3c2d3e
rgb(60,45,62)
-
#3f2942
#3f2942
rgb(63,41,66)
-
#422546
#422546
rgb(66,37,70)
-
#45214a
#45214a
rgb(69,33,74)
-
#481c4f
#481c4f
rgb(72,28,79)
-
#4b1853
#4b1853
rgb(75,24,83)
-
#4e1457
#4e1457
rgb(78,20,87)
-
#51105b
#51105b
rgb(81,16,91)
-
#540c5f
#540c5f
rgb(84,12,95)
-
#570863
#570863
rgb(87,8,99)
-
#5a0467
#5a0467
rgb(90,4,103)
Tone Color Variation
Below, you can see how #540c5f 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.
Monochromacy
Dichromacy