In RGB color space, #5f157f hex color has a red value of 95, a green value of 21 and a blue value of 127.
In CMYK color space (used in color printing), #5f157f hex color is composed of 25.2% cyan, 83.46% magenta, 0% yellow and 50.2% black.
#5f157f color has a hue of 281.9 degrees, a saturation of 71.62% and a lightness of 29%.
#5f157f hex color contains mainly BLUE.
The closest web safe color of #5f157f is #660066
#5f157f hex color has a decimal value of 6231423.
HEX | 5f157f | #5f157f |
---|---|---|
RGB | 95, 21, 127 | rgb(95, 21, 127) |
RGB Percent | 37.25, 8.24, 49.8 | rgb(37.25, 8.24, 49.8) |
CMYK | 25, 83, 0, 50 | |
HSL | 281.9°, 71.62, 29 | hsl(281.9, 71.62%, 29%) |
HSV | 281.9°, 83.5, 49.8 |
XYZ | 8.818, 4.502, 20.483 |
---|---|
Hunter Lab | 21.218, 37.052, -42.384 |
CIE-LAB | 25.266, 48.479, -43.449 |
CIE-LCH | 25.266, 65.1, 318.132 |
CIE-LUV | 25.2, 83.46, 0, 50.2 |
Web Safe | 660066 |
RGB percent of color #5f157f
CMYK percent of color #5f157f
Text with hexadecimal color #5f157f
This text has a font color of #5f157f
<p style="color:#5f157f">Text here</p>
#5f157f Background Color
This box has a background color of #5f157f
<div style="background-color:#5f157f">Text here</div>
#5f157f Border Color
This box has a border color of #5f157f
<div style="border: 4px solid #5f157f">Text here</div>
CSS codes
<p style="color:#5f157f">Text here</p>
<div style="background-color:#5f157f">Text here</div>
<div style="border: 4px solid #5f157f">Text here</div>
#5f157f Color on white background
This is how a font and box color of #5f157f will look
on a white background.
#5f157f Color on black background
This is how a font and box color of #5f157f hex color will look
on a black background.