In RGB color space, #5f167f hex color has a red value of 95, a green value of 22 and a blue value of 127.
In CMYK color space (used in color printing), #5f167f hex color is composed of 25.2% cyan, 82.68% magenta, 0% yellow and 50.2% black.
#5f167f color has a hue of 281.7 degrees, a saturation of 70.47% and a lightness of 29.2%.
#5f167f hex color contains mainly BLUE.
The closest web safe color of #5f167f is #660066
#5f167f hex color has a decimal value of 6231679.
HEX | 5f167f | #5f167f |
---|---|---|
RGB | 95, 22, 127 | rgb(95, 22, 127) |
RGB Percent | 37.25, 8.63, 49.8 | rgb(37.25, 8.63, 49.8) |
CMYK | 25, 83, 0, 50 | |
HSL | 281.7°, 70.47, 29.2 | hsl(281.7, 70.47%, 29.2%) |
HSV | 281.7°, 82.7, 49.8 |
XYZ | 8.837, 4.539, 20.489 |
---|---|
Hunter Lab | 21.305, 36.756, -42.106 |
CIE-LAB | 25.379, 48.156, -43.266 |
CIE-LCH | 25.379, 64.738, 318.062 |
CIE-LUV | 25.2, 82.68, 0, 50.2 |
Web Safe | 660066 |
RGB percent of color #5f167f
CMYK percent of color #5f167f
Text with hexadecimal color #5f167f
This text has a font color of #5f167f
<p style="color:#5f167f">Text here</p>
#5f167f Background Color
This box has a background color of #5f167f
<div style="background-color:#5f167f">Text here</div>
#5f167f Border Color
This box has a border color of #5f167f
<div style="border: 4px solid #5f167f">Text here</div>
CSS codes
<p style="color:#5f167f">Text here</p>
<div style="background-color:#5f167f">Text here</div>
<div style="border: 4px solid #5f167f">Text here</div>
#5f167f Color on white background
This is how a font and box color of #5f167f will look
on a white background.
#5f167f Color on black background
This is how a font and box color of #5f167f hex color will look
on a black background.