In RGB color space, #5f3158 hex color has a red value of 95, a green value of 49 and a blue value of 88.
In CMYK color space (used in color printing), #5f3158 hex color is composed of 0% cyan, 48.42% magenta, 7.37% yellow and 62.75% black.
#5f3158 color has a hue of 309.1 degrees, a saturation of 31.94% and a lightness of 28.2%.
#5f3158 hex color contains mainly RED.
The closest web safe color of #5f3158 is #663366
#5f3158 hex color has a decimal value of 6238552.
HEX | 5f3158 | #5f3158 |
---|---|---|
RGB | 95, 49, 88 | rgb(95, 49, 88) |
RGB Percent | 37.25, 19.22, 34.51 | rgb(37.25, 19.22, 34.51) |
CMYK | 0, 48, 7, 63 | |
HSL | 309.1°, 31.94, 28.2 | hsl(309.1, 31.94%, 28.2%) |
HSV | 309.1°, 48.4, 37.3 |
XYZ | 7.579, 5.334, 9.863 |
---|---|
Hunter Lab | 23.095, 18.159, -9.153 |
CIE-LAB | 27.666, 26.994, -14.535 |
CIE-LCH | 27.666, 30.658, 331.7 |
CIE-LUV | 0, 48.42, 7.37, 62.75 |
Web Safe | 663366 |
RGB percent of color #5f3158
CMYK percent of color #5f3158
Text with hexadecimal color #5f3158
This text has a font color of #5f3158
<p style="color:#5f3158">Text here</p>
#5f3158 Background Color
This box has a background color of #5f3158
<div style="background-color:#5f3158">Text here</div>
#5f3158 Border Color
This box has a border color of #5f3158
<div style="border: 4px solid #5f3158">Text here</div>
CSS codes
<p style="color:#5f3158">Text here</p>
<div style="background-color:#5f3158">Text here</div>
<div style="border: 4px solid #5f3158">Text here</div>
#5f3158 Color on white background
This is how a font and box color of #5f3158 will look
on a white background.
#5f3158 Color on black background
This is how a font and box color of #5f3158 hex color will look
on a black background.