In RGB color space, #5f1f52 hex color has a red value of 95, a green value of 31 and a blue value of 82.
In CMYK color space (used in color printing), #5f1f52 hex color is composed of 0% cyan, 67.37% magenta, 13.68% yellow and 62.75% black.
#5f1f52 color has a hue of 312.2 degrees, a saturation of 50.79% and a lightness of 24.7%.
#5f1f52 hex color contains mainly RED.
The closest web safe color of #5f1f52 is #663366
#5f1f52 hex color has a decimal value of 6233938.
HEX | 5f1f52 | #5f1f52 |
---|---|---|
RGB | 95, 31, 82 | rgb(95, 31, 82) |
RGB Percent | 37.25, 12.16, 32.16 | rgb(37.25, 12.16, 32.16) |
CMYK | 0, 67, 14, 63 | |
HSL | 312.2°, 50.79, 24.7 | hsl(312.2, 50.79%, 24.7%) |
HSV | 312.2°, 67.4, 37.3 |
XYZ | 6.732, 4.022, 8.404 |
---|---|
Hunter Lab | 20.055, 24.822, -10.807 |
CIE-LAB | 23.744, 35.563, -16.63 |
CIE-LCH | 23.744, 39.259, 334.938 |
CIE-LUV | 0, 67.37, 13.68, 62.75 |
Web Safe | 663366 |
RGB percent of color #5f1f52
CMYK percent of color #5f1f52
Text with hexadecimal color #5f1f52
This text has a font color of #5f1f52
<p style="color:#5f1f52">Text here</p>
#5f1f52 Background Color
This box has a background color of #5f1f52
<div style="background-color:#5f1f52">Text here</div>
#5f1f52 Border Color
This box has a border color of #5f1f52
<div style="border: 4px solid #5f1f52">Text here</div>
CSS codes
<p style="color:#5f1f52">Text here</p>
<div style="background-color:#5f1f52">Text here</div>
<div style="border: 4px solid #5f1f52">Text here</div>
#5f1f52 Color on white background
This is how a font and box color of #5f1f52 will look
on a white background.
#5f1f52 Color on black background
This is how a font and box color of #5f1f52 hex color will look
on a black background.