In RGB color space, #5a1f6c hex color has a red value of 90, a green value of 31 and a blue value of 108.
In CMYK color space (used in color printing), #5a1f6c hex color is composed of 16.67% cyan, 71.3% magenta, 0% yellow and 57.65% black.
#5a1f6c color has a hue of 286 degrees, a saturation of 55.4% and a lightness of 27.3%.
#5a1f6c hex color contains mainly BLUE.
The closest web safe color of #5a1f6c is #663366
#5a1f6c hex color has a decimal value of 5906284.
HEX | 5a1f6c | #5a1f6c |
---|---|---|
RGB | 90, 31, 108 | rgb(90, 31, 108) |
RGB Percent | 35.29, 12.16, 42.35 | rgb(35.29, 12.16, 42.35) |
CMYK | 17, 71, 0, 58 | |
HSL | 286°, 55.4, 27.3 | hsl(286, 55.4%, 27.3%) |
HSV | 286°, 71.3, 42.4 |
XYZ | 7.413, 4.236, 14.614 |
---|---|
Hunter Lab | 20.582, 28.274, -27.692 |
CIE-LAB | 24.437, 39.33, -32.681 |
CIE-LCH | 24.437, 51.136, 320.275 |
CIE-LUV | 16.67, 71.3, 0, 57.65 |
Web Safe | 663366 |
RGB percent of color #5a1f6c
CMYK percent of color #5a1f6c
Text with hexadecimal color #5a1f6c
This text has a font color of #5a1f6c
<p style="color:#5a1f6c">Text here</p>
#5a1f6c Background Color
This box has a background color of #5a1f6c
<div style="background-color:#5a1f6c">Text here</div>
#5a1f6c Border Color
This box has a border color of #5a1f6c
<div style="border: 4px solid #5a1f6c">Text here</div>
CSS codes
<p style="color:#5a1f6c">Text here</p>
<div style="background-color:#5a1f6c">Text here</div>
<div style="border: 4px solid #5a1f6c">Text here</div>
#5a1f6c Color on white background
This is how a font and box color of #5a1f6c will look
on a white background.
#5a1f6c Color on black background
This is how a font and box color of #5a1f6c hex color will look
on a black background.