In RGB color space, #5a1f5b hex color has a red value of 90, a green value of 31 and a blue value of 91.
In CMYK color space (used in color printing), #5a1f5b hex color is composed of 1.1% cyan, 65.93% magenta, 0% yellow and 64.31% black.
#5a1f5b color has a hue of 299 degrees, a saturation of 49.18% and a lightness of 23.9%.
#5a1f5b hex color contains mainly BLUE.
The closest web safe color of #5a1f5b is #663366
#5a1f5b hex color has a decimal value of 5906267.
HEX | 5a1f5b | #5a1f5b |
---|---|---|
RGB | 90, 31, 91 | rgb(90, 31, 91) |
RGB Percent | 35.29, 12.16, 35.69 | rgb(35.29, 12.16, 35.69) |
CMYK | 1, 66, 0, 64 | |
HSL | 299°, 49.18, 23.9 | hsl(299, 49.18%, 23.9%) |
HSV | 299°, 65.9, 35.7 |
XYZ | 6.595, 3.909, 10.304 |
---|---|
Hunter Lab | 19.771, 24.942, -17.06 |
CIE-LAB | 23.368, 35.77, -23.264 |
CIE-LCH | 23.368, 42.67, 326.961 |
CIE-LUV | 1.1, 65.93, 0, 64.31 |
Web Safe | 663366 |
RGB percent of color #5a1f5b
CMYK percent of color #5a1f5b
Text with hexadecimal color #5a1f5b
This text has a font color of #5a1f5b
<p style="color:#5a1f5b">Text here</p>
#5a1f5b Background Color
This box has a background color of #5a1f5b
<div style="background-color:#5a1f5b">Text here</div>
#5a1f5b Border Color
This box has a border color of #5a1f5b
<div style="border: 4px solid #5a1f5b">Text here</div>
CSS codes
<p style="color:#5a1f5b">Text here</p>
<div style="background-color:#5a1f5b">Text here</div>
<div style="border: 4px solid #5a1f5b">Text here</div>
#5a1f5b Color on white background
This is how a font and box color of #5a1f5b will look
on a white background.
#5a1f5b Color on black background
This is how a font and box color of #5a1f5b hex color will look
on a black background.