In RGB color space, #5a1b5c hex color has a red value of 90, a green value of 27 and a blue value of 92.
In CMYK color space (used in color printing), #5a1b5c hex color is composed of 2.17% cyan, 70.65% magenta, 0% yellow and 63.92% black.
#5a1b5c color has a hue of 298.2 degrees, a saturation of 54.62% and a lightness of 23.3%.
#5a1b5c hex color contains mainly BLUE.
The closest web safe color of #5a1b5c is #663366
#5a1b5c hex color has a decimal value of 5905244.
HEX | 5a1b5c | #5a1b5c |
---|---|---|
RGB | 90, 27, 92 | rgb(90, 27, 92) |
RGB Percent | 35.29, 10.59, 36.08 | rgb(35.29, 10.59, 36.08) |
CMYK | 2, 71, 0, 64 | |
HSL | 298.2°, 54.62, 23.3 | hsl(298.2, 54.62%, 23.3%) |
HSV | 298.2°, 70.7, 36.1 |
XYZ | 6.54, 3.73, 10.501 |
---|---|
Hunter Lab | 19.313, 26.647, -18.718 |
CIE-LAB | 22.758, 37.828, -24.894 |
CIE-LCH | 22.758, 45.284, 326.652 |
CIE-LUV | 2.17, 70.65, 0, 63.92 |
Web Safe | 663366 |
RGB percent of color #5a1b5c
CMYK percent of color #5a1b5c
Text with hexadecimal color #5a1b5c
This text has a font color of #5a1b5c
<p style="color:#5a1b5c">Text here</p>
#5a1b5c Background Color
This box has a background color of #5a1b5c
<div style="background-color:#5a1b5c">Text here</div>
#5a1b5c Border Color
This box has a border color of #5a1b5c
<div style="border: 4px solid #5a1b5c">Text here</div>
CSS codes
<p style="color:#5a1b5c">Text here</p>
<div style="background-color:#5a1b5c">Text here</div>
<div style="border: 4px solid #5a1b5c">Text here</div>
#5a1b5c Color on white background
This is how a font and box color of #5a1b5c will look
on a white background.
#5a1b5c Color on black background
This is how a font and box color of #5a1b5c hex color will look
on a black background.