In RGB color space, #5f3172 hex color has a red value of 95, a green value of 49 and a blue value of 114.
In CMYK color space (used in color printing), #5f3172 hex color is composed of 16.67% cyan, 57.02% magenta, 0% yellow and 55.29% black.
#5f3172 color has a hue of 282.5 degrees, a saturation of 39.88% and a lightness of 32%.
#5f3172 hex color contains mainly BLUE.
The closest web safe color of #5f3172 is #663366
#5f3172 hex color has a decimal value of 6238578.
HEX | 5f3172 | #5f3172 |
---|---|---|
RGB | 95, 49, 114 | rgb(95, 49, 114) |
RGB Percent | 37.25, 19.22, 44.71 | rgb(37.25, 19.22, 44.71) |
CMYK | 17, 57, 0, 55 | |
HSL | 282.5°, 39.88, 32 | hsl(282.5, 39.88%, 32%) |
HSV | 282.5°, 57, 44.7 |
XYZ | 8.855, 5.844, 16.581 |
---|---|
Hunter Lab | 24.174, 23.079, -23.744 |
CIE-LAB | 29.015, 32.634, -29.189 |
CIE-LCH | 29.015, 43.783, 318.189 |
CIE-LUV | 16.67, 57.02, 0, 55.29 |
Web Safe | 663366 |
RGB percent of color #5f3172
CMYK percent of color #5f3172
Text with hexadecimal color #5f3172
This text has a font color of #5f3172
<p style="color:#5f3172">Text here</p>
#5f3172 Background Color
This box has a background color of #5f3172
<div style="background-color:#5f3172">Text here</div>
#5f3172 Border Color
This box has a border color of #5f3172
<div style="border: 4px solid #5f3172">Text here</div>
CSS codes
<p style="color:#5f3172">Text here</p>
<div style="background-color:#5f3172">Text here</div>
<div style="border: 4px solid #5f3172">Text here</div>
#5f3172 Color on white background
This is how a font and box color of #5f3172 will look
on a white background.
#5f3172 Color on black background
This is how a font and box color of #5f3172 hex color will look
on a black background.