In RGB color space, #5f1fa1 hex color has a red value of 95, a green value of 31 and a blue value of 161.
In CMYK color space (used in color printing), #5f1fa1 hex color is composed of 40.99% cyan, 80.75% magenta, 0% yellow and 36.86% black.
#5f1fa1 color has a hue of 269.5 degrees, a saturation of 67.71% and a lightness of 37.6%.
#5f1fa1 hex color contains mainly BLUE.
The closest web safe color of #5f1fa1 is #663399
#5f1fa1 hex color has a decimal value of 6234017.
HEX | 5f1fa1 | #5f1fa1 |
---|---|---|
RGB | 95, 31, 161 | rgb(95, 31, 161) |
RGB Percent | 37.25, 12.16, 63.14 | rgb(37.25, 12.16, 63.14) |
CMYK | 41, 81, 0, 37 | |
HSL | 269.5°, 67.71, 37.6 | hsl(269.5, 67.71%, 37.6%) |
HSV | 269.5°, 80.7, 63.1 |
XYZ | 11.642, 5.986, 34.26 |
---|---|
Hunter Lab | 24.466, 42.121, -65.897 |
CIE-LAB | 29.377, 52.722, -57.795 |
CIE-LCH | 29.377, 78.23, 312.372 |
CIE-LUV | 40.99, 80.75, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5f1fa1
CMYK percent of color #5f1fa1
Text with hexadecimal color #5f1fa1
This text has a font color of #5f1fa1
<p style="color:#5f1fa1">Text here</p>
#5f1fa1 Background Color
This box has a background color of #5f1fa1
<div style="background-color:#5f1fa1">Text here</div>
#5f1fa1 Border Color
This box has a border color of #5f1fa1
<div style="border: 4px solid #5f1fa1">Text here</div>
CSS codes
<p style="color:#5f1fa1">Text here</p>
<div style="background-color:#5f1fa1">Text here</div>
<div style="border: 4px solid #5f1fa1">Text here</div>
#5f1fa1 Color on white background
This is how a font and box color of #5f1fa1 will look
on a white background.
#5f1fa1 Color on black background
This is how a font and box color of #5f1fa1 hex color will look
on a black background.