In RGB color space, #5f1487 hex color has a red value of 95, a green value of 20 and a blue value of 135.
In CMYK color space (used in color printing), #5f1487 hex color is composed of 29.63% cyan, 85.19% magenta, 0% yellow and 47.06% black.
#5f1487 color has a hue of 279.1 degrees, a saturation of 74.19% and a lightness of 30.4%.
#5f1487 hex color contains mainly BLUE.
The closest web safe color of #5f1487 is #660099
#5f1487 hex color has a decimal value of 6231175.
HEX | 5f1487 | #5f1487 |
---|---|---|
RGB | 95, 20, 135 | rgb(95, 20, 135) |
RGB Percent | 37.25, 7.84, 52.94 | rgb(37.25, 7.84, 52.94) |
CMYK | 30, 85, 0, 47 | |
HSL | 279.1°, 74.19, 30.4 | hsl(279.1, 74.19%, 30.4%) |
HSV | 279.1°, 85.2, 52.9 |
XYZ | 9.343, 4.682, 23.333 |
---|---|
Hunter Lab | 21.638, 39.208, -48.788 |
CIE-LAB | 25.809, 50.545, -47.599 |
CIE-LCH | 25.809, 69.43, 316.719 |
CIE-LUV | 29.63, 85.19, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #5f1487
CMYK percent of color #5f1487
Text with hexadecimal color #5f1487
This text has a font color of #5f1487
<p style="color:#5f1487">Text here</p>
#5f1487 Background Color
This box has a background color of #5f1487
<div style="background-color:#5f1487">Text here</div>
#5f1487 Border Color
This box has a border color of #5f1487
<div style="border: 4px solid #5f1487">Text here</div>
CSS codes
<p style="color:#5f1487">Text here</p>
<div style="background-color:#5f1487">Text here</div>
<div style="border: 4px solid #5f1487">Text here</div>
#5f1487 Color on white background
This is how a font and box color of #5f1487 will look
on a white background.
#5f1487 Color on black background
This is how a font and box color of #5f1487 hex color will look
on a black background.