In RGB color space, #5f1f7c hex color has a red value of 95, a green value of 31 and a blue value of 124.
In CMYK color space (used in color printing), #5f1f7c hex color is composed of 23.39% cyan, 75% magenta, 0% yellow and 51.37% black.
#5f1f7c color has a hue of 281.3 degrees, a saturation of 60% and a lightness of 30.4%.
#5f1f7c hex color contains mainly BLUE.
The closest web safe color of #5f1f7c is #663366
#5f1f7c hex color has a decimal value of 6233980.
HEX | 5f1f7c | #5f1f7c |
---|---|---|
RGB | 95, 31, 124 | rgb(95, 31, 124) |
RGB Percent | 37.25, 12.16, 48.63 | rgb(37.25, 12.16, 48.63) |
CMYK | 23, 75, 0, 51 | |
HSL | 281.3°, 60, 30.4 | hsl(281.3, 60%, 30.4%) |
HSV | 281.3°, 75, 48.6 |
XYZ | 8.847, 4.868, 19.542 |
---|---|
Hunter Lab | 22.064, 32.963, -37.07 |
CIE-LAB | 26.355, 44.032, -39.788 |
CIE-LCH | 26.355, 59.346, 317.899 |
CIE-LUV | 23.39, 75, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #5f1f7c
CMYK percent of color #5f1f7c
Text with hexadecimal color #5f1f7c
This text has a font color of #5f1f7c
<p style="color:#5f1f7c">Text here</p>
#5f1f7c Background Color
This box has a background color of #5f1f7c
<div style="background-color:#5f1f7c">Text here</div>
#5f1f7c Border Color
This box has a border color of #5f1f7c
<div style="border: 4px solid #5f1f7c">Text here</div>
CSS codes
<p style="color:#5f1f7c">Text here</p>
<div style="background-color:#5f1f7c">Text here</div>
<div style="border: 4px solid #5f1f7c">Text here</div>
#5f1f7c Color on white background
This is how a font and box color of #5f1f7c will look
on a white background.
#5f1f7c Color on black background
This is how a font and box color of #5f1f7c hex color will look
on a black background.