In RGB color space, #5f1257 hex color has a red value of 95, a green value of 18 and a blue value of 87.
In CMYK color space (used in color printing), #5f1257 hex color is composed of 0% cyan, 81.05% magenta, 8.42% yellow and 62.75% black.
#5f1257 color has a hue of 306.2 degrees, a saturation of 68.14% and a lightness of 22.2%.
#5f1257 hex color contains mainly RED.
The closest web safe color of #5f1257 is #660066
#5f1257 hex color has a decimal value of 6230615.
HEX | 5f1257 | #5f1257 |
---|---|---|
RGB | 95, 18, 87 | rgb(95, 18, 87) |
RGB Percent | 37.25, 7.06, 34.12 | rgb(37.25, 7.06, 34.12) |
CMYK | 0, 81, 8, 63 | |
HSL | 306.2°, 68.14, 22.2 | hsl(306.2, 68.14%, 22.2%) |
HSV | 306.2°, 81.1, 37.3 |
XYZ | 6.656, 3.554, 9.352 |
---|---|
Hunter Lab | 18.852, 30.031, -16.216 |
CIE-LAB | 22.139, 41.702, -22.487 |
CIE-LCH | 22.139, 47.378, 331.665 |
CIE-LUV | 0, 81.05, 8.42, 62.75 |
Web Safe | 660066 |
RGB percent of color #5f1257
CMYK percent of color #5f1257
Text with hexadecimal color #5f1257
This text has a font color of #5f1257
<p style="color:#5f1257">Text here</p>
#5f1257 Background Color
This box has a background color of #5f1257
<div style="background-color:#5f1257">Text here</div>
#5f1257 Border Color
This box has a border color of #5f1257
<div style="border: 4px solid #5f1257">Text here</div>
CSS codes
<p style="color:#5f1257">Text here</p>
<div style="background-color:#5f1257">Text here</div>
<div style="border: 4px solid #5f1257">Text here</div>
#5f1257 Color on white background
This is how a font and box color of #5f1257 will look
on a white background.
#5f1257 Color on black background
This is how a font and box color of #5f1257 hex color will look
on a black background.