In RGB color space, #5f1f9c hex color has a red value of 95, a green value of 31 and a blue value of 156.
In CMYK color space (used in color printing), #5f1f9c hex color is composed of 39.1% cyan, 80.13% magenta, 0% yellow and 38.82% black.
#5f1f9c color has a hue of 270.7 degrees, a saturation of 66.84% and a lightness of 36.7%.
#5f1f9c hex color contains mainly BLUE.
The closest web safe color of #5f1f9c is #663399
#5f1f9c hex color has a decimal value of 6234012.
HEX | 5f1f9c | #5f1f9c |
---|---|---|
RGB | 95, 31, 156 | rgb(95, 31, 156) |
RGB Percent | 37.25, 12.16, 61.18 | rgb(37.25, 12.16, 61.18) |
CMYK | 39, 80, 0, 39 | |
HSL | 270.7°, 66.84, 36.7 | hsl(270.7, 66.84%, 36.7%) |
HSV | 270.7°, 80.1, 61.2 |
XYZ | 11.21, 5.813, 31.984 |
---|---|
Hunter Lab | 24.11, 40.801, -61.776 |
CIE-LAB | 28.936, 51.515, -55.474 |
CIE-LCH | 28.936, 75.704, 312.881 |
CIE-LUV | 39.1, 80.13, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #5f1f9c
CMYK percent of color #5f1f9c
Text with hexadecimal color #5f1f9c
This text has a font color of #5f1f9c
<p style="color:#5f1f9c">Text here</p>
#5f1f9c Background Color
This box has a background color of #5f1f9c
<div style="background-color:#5f1f9c">Text here</div>
#5f1f9c Border Color
This box has a border color of #5f1f9c
<div style="border: 4px solid #5f1f9c">Text here</div>
CSS codes
<p style="color:#5f1f9c">Text here</p>
<div style="background-color:#5f1f9c">Text here</div>
<div style="border: 4px solid #5f1f9c">Text here</div>
#5f1f9c Color on white background
This is how a font and box color of #5f1f9c will look
on a white background.
#5f1f9c Color on black background
This is how a font and box color of #5f1f9c hex color will look
on a black background.