In RGB color space, #5a1d42 hex color has a red value of 90, a green value of 29 and a blue value of 66.
In CMYK color space (used in color printing), #5a1d42 hex color is composed of 0% cyan, 67.78% magenta, 26.67% yellow and 64.71% black.
#5a1d42 color has a hue of 323.6 degrees, a saturation of 51.26% and a lightness of 23.3%.
#5a1d42 hex color contains mainly RED.
The closest web safe color of #5a1d42 is #663333
#5a1d42 hex color has a decimal value of 5905730.
HEX | 5a1d42 | #5a1d42 |
---|---|---|
RGB | 90, 29, 66 | rgb(90, 29, 66) |
RGB Percent | 35.29, 11.37, 25.88 | rgb(35.29, 11.37, 25.88) |
CMYK | 0, 68, 27, 65 | |
HSL | 323.6°, 51.26, 23.3 | hsl(323.6, 51.26%, 23.3%) |
HSV | 323.6°, 67.8, 35.3 |
XYZ | 5.639, 3.446, 5.522 |
---|---|
Hunter Lab | 18.563, 21.737, -4.642 |
CIE-LAB | 21.748, 32.303, -8.947 |
CIE-LCH | 21.748, 33.519, 344.519 |
CIE-LUV | 0, 67.78, 26.67, 64.71 |
Web Safe | 663333 |
RGB percent of color #5a1d42
CMYK percent of color #5a1d42
Text with hexadecimal color #5a1d42
This text has a font color of #5a1d42
<p style="color:#5a1d42">Text here</p>
#5a1d42 Background Color
This box has a background color of #5a1d42
<div style="background-color:#5a1d42">Text here</div>
#5a1d42 Border Color
This box has a border color of #5a1d42
<div style="border: 4px solid #5a1d42">Text here</div>
CSS codes
<p style="color:#5a1d42">Text here</p>
<div style="background-color:#5a1d42">Text here</div>
<div style="border: 4px solid #5a1d42">Text here</div>
#5a1d42 Color on white background
This is how a font and box color of #5a1d42 will look
on a white background.
#5a1d42 Color on black background
This is how a font and box color of #5a1d42 hex color will look
on a black background.