In RGB color space, #5f315b hex color has a red value of 95, a green value of 49 and a blue value of 91.
In CMYK color space (used in color printing), #5f315b hex color is composed of 0% cyan, 48.42% magenta, 4.21% yellow and 62.75% black.
#5f315b color has a hue of 305.2 degrees, a saturation of 31.94% and a lightness of 28.2%.
#5f315b hex color contains mainly RED.
The closest web safe color of #5f315b is #663366
#5f315b hex color has a decimal value of 6238555.
HEX | 5f315b | #5f315b |
---|---|---|
RGB | 95, 49, 91 | rgb(95, 49, 91) |
RGB Percent | 37.25, 19.22, 35.69 | rgb(37.25, 19.22, 35.69) |
CMYK | 0, 48, 4, 63 | |
HSL | 305.2°, 31.94, 28.2 | hsl(305.2, 31.94%, 28.2%) |
HSV | 305.2°, 48.4, 37.3 |
XYZ | 7.706, 5.385, 10.531 |
---|---|
Hunter Lab | 23.206, 18.666, -10.663 |
CIE-LAB | 27.805, 27.592, -16.28 |
CIE-LCH | 27.805, 32.037, 329.458 |
CIE-LUV | 0, 48.42, 4.21, 62.75 |
Web Safe | 663366 |
RGB percent of color #5f315b
CMYK percent of color #5f315b
Text with hexadecimal color #5f315b
This text has a font color of #5f315b
<p style="color:#5f315b">Text here</p>
#5f315b Background Color
This box has a background color of #5f315b
<div style="background-color:#5f315b">Text here</div>
#5f315b Border Color
This box has a border color of #5f315b
<div style="border: 4px solid #5f315b">Text here</div>
CSS codes
<p style="color:#5f315b">Text here</p>
<div style="background-color:#5f315b">Text here</div>
<div style="border: 4px solid #5f315b">Text here</div>
#5f315b Color on white background
This is how a font and box color of #5f315b will look
on a white background.
#5f315b Color on black background
This is how a font and box color of #5f315b hex color will look
on a black background.