In RGB color space, #5f1faf hex color has a red value of 95, a green value of 31 and a blue value of 175.
In CMYK color space (used in color printing), #5f1faf hex color is composed of 45.71% cyan, 82.29% magenta, 0% yellow and 31.37% black.
#5f1faf color has a hue of 266.7 degrees, a saturation of 69.9% and a lightness of 40.4%.
#5f1faf hex color contains mainly BLUE.
The closest web safe color of #5f1faf is #663399
#5f1faf hex color has a decimal value of 6234031.
HEX | 5f1faf | #5f1faf |
---|---|---|
RGB | 95, 31, 175 | rgb(95, 31, 175) |
RGB Percent | 37.25, 12.16, 68.63 | rgb(37.25, 12.16, 68.63) |
CMYK | 46, 82, 0, 31 | |
HSL | 266.7°, 69.9, 40.4 | hsl(266.7, 69.9%, 40.4%) |
HSV | 266.7°, 82.3, 68.6 |
XYZ | 12.947, 6.508, 41.131 |
---|---|
Hunter Lab | 25.511, 45.947, -77.736 |
CIE-LAB | 30.66, 56.146, -64.13 |
CIE-LCH | 30.66, 85.235, 311.202 |
CIE-LUV | 45.71, 82.29, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #5f1faf
CMYK percent of color #5f1faf
Text with hexadecimal color #5f1faf
This text has a font color of #5f1faf
<p style="color:#5f1faf">Text here</p>
#5f1faf Background Color
This box has a background color of #5f1faf
<div style="background-color:#5f1faf">Text here</div>
#5f1faf Border Color
This box has a border color of #5f1faf
<div style="border: 4px solid #5f1faf">Text here</div>
CSS codes
<p style="color:#5f1faf">Text here</p>
<div style="background-color:#5f1faf">Text here</div>
<div style="border: 4px solid #5f1faf">Text here</div>
#5f1faf Color on white background
This is how a font and box color of #5f1faf will look
on a white background.
#5f1faf Color on black background
This is how a font and box color of #5f1faf hex color will look
on a black background.