#540a42 hex color
In a RGB color space, hex #540a42 is composed of 32.9% red, 3.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 88.1% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 314.6 degrees, a saturation of 78.7% and a lightness of 18.4%. #540a42 color hex could be obtained by blending #a81484 with #000000. Closest websafe color is: #660033.
-
- R 33
- G 4
- B 26
RGB color chart
-
- C 0
- M 88
- Y 21
- K 67
CMYK color chart
● #540a42 color description : Very dark magenta.
The hexadecimal color #540a42 has RGB values of R:84, G:10, B:66 and CMYK values of C:0, M:0.88, Y:0.21, K:0.67. Its decimal value is 5507650.
Hex triplet | 540a42 | #540a42 |
---|---|---|
RGB Decimal | 84, 10, 66 | rgb(84,10,66) |
RGB Percent | 32.9, 3.9, 25.9 | rgb(32.9%,3.9%,25.9%) |
CMYK | 0, 88, 21, 67 | |
HSL | 314.6°, 78.7, 18.4 | hsl(314.6,78.7%,18.4%) |
HSV (or HSB) | 314.6°, 88.1, 32.9 | |
Web Safe | 660033 | #660033 |
CIE-LAB | 17.899, 38.03, -14.969 |
---|---|
XYZ | 4.748, 2.496, 5.386 |
xyY | 0.376, 0.198, 2.496 |
CIE-LCH | 17.899, 40.87, 338.515 |
CIE-LUV | 17.899, 29.716, -19.391 |
Hunter-Lab | 15.798, 26.003, -9.154 |
Binary | 01010100, 00001010, 01000010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #540a42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540a42
This text has a font color of #540a42.
<span style="color:#540a42;">Text here</span>
#540a42 background color
This paragraph has a background color of #540a42.
<p style="background-color:#540a42;">Content here</p>
#540a42 border color
This element has a border color of #540a42.
<div style="border:1px solid #540a42;">Content here</div>
CSS codes
.text {color:#540a42;}
.background {background-color:#540a42;}
.border {border:1px solid #540a42;}
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, #0e020b is the darkest color, while #fffbfe is the lightest one.
-
#0e020b
#0e020b
rgb(14,2,11)
-
#1f0419
#1f0419
rgb(31,4,25)
-
#310626
#310626
rgb(49,6,38)
-
#420834
#420834
rgb(66,8,52)
-
#540a42
#540a42
rgb(84,10,66)
-
#660c50
#660c50
rgb(102,12,80)
-
#770e5e
#770e5e
rgb(119,14,94)
-
#89106b
#89106b
rgb(137,16,107)
-
#9a1279
#9a1279
rgb(154,18,121)
-
#ac1487
#ac1487
rgb(172,20,135)
-
#bd1795
#bd1795
rgb(189,23,149)
-
#cf19a2
#cf19a2
rgb(207,25,162)
-
#e01bb0
#e01bb0
rgb(224,27,176)
Shade Color Variation
-
#e629b8
#e629b8
rgb(230,41,184)
-
#e83bbe
#e83bbe
rgb(232,59,190)
-
#ea4cc3
#ea4cc3
rgb(234,76,195)
-
#ec5ec9
#ec5ec9
rgb(236,94,201)
-
#ee6fcf
#ee6fcf
rgb(238,111,207)
-
#f081d5
#f081d5
rgb(240,129,213)
-
#f292db
#f292db
rgb(242,146,219)
-
#f4a4e1
#f4a4e1
rgb(244,164,225)
-
#f6b5e6
#f6b5e6
rgb(246,181,230)
-
#f8c7ec
#f8c7ec
rgb(248,199,236)
-
#fad8f2
#fad8f2
rgb(250,216,242)
-
#fceaf8
#fceaf8
rgb(252,234,248)
-
#fffbfe
#fffbfe
rgb(255,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #302e2f is the less saturated color, while #5b0346 is the most saturated one.
-
#302e2f
#302e2f
rgb(48,46,47)
-
#332b31
#332b31
rgb(51,43,49)
-
#372733
#372733
rgb(55,39,51)
-
#3b2335
#3b2335
rgb(59,35,53)
-
#3e2037
#3e2037
rgb(62,32,55)
-
#421c39
#421c39
rgb(66,28,57)
-
#46183b
#46183b
rgb(70,24,59)
-
#49153c
#49153c
rgb(73,21,60)
-
#4d113e
#4d113e
rgb(77,17,62)
-
#500e40
#500e40
rgb(80,14,64)
-
#540a42
#540a42
rgb(84,10,66)
-
#580644
#580644
rgb(88,6,68)
-
#5b0346
#5b0346
rgb(91,3,70)
Tone Color Variation
Below, you can see how #540a42 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