In RGB color space, #5f1387 hex color has a red value of 95, a green value of 19 and a blue value of 135.
In CMYK color space (used in color printing), #5f1387 hex color is composed of 29.63% cyan, 85.93% magenta, 0% yellow and 47.06% black.
#5f1387 color has a hue of 279.3 degrees, a saturation of 75.32% and a lightness of 30.2%.
#5f1387 hex color contains mainly BLUE.
The closest web safe color of #5f1387 is #660099
#5f1387 hex color has a decimal value of 6230919.
HEX | 5f1387 | #5f1387 |
---|---|---|
RGB | 95, 19, 135 | rgb(95, 19, 135) |
RGB Percent | 37.25, 7.45, 52.94 | rgb(37.25, 7.45, 52.94) |
CMYK | 30, 86, 0, 47 | |
HSL | 279.3°, 75.32, 30.2 | hsl(279.3, 75.32%, 30.2%) |
HSV | 279.3°, 85.9, 52.9 |
XYZ | 9.325, 4.648, 23.327 |
---|---|
Hunter Lab | 21.559, 39.478, -49.06 |
CIE-LAB | 25.707, 50.834, -47.764 |
CIE-LCH | 25.707, 69.753, 316.783 |
CIE-LUV | 29.63, 85.93, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #5f1387
CMYK percent of color #5f1387
Text with hexadecimal color #5f1387
This text has a font color of #5f1387
<p style="color:#5f1387">Text here</p>
#5f1387 Background Color
This box has a background color of #5f1387
<div style="background-color:#5f1387">Text here</div>
#5f1387 Border Color
This box has a border color of #5f1387
<div style="border: 4px solid #5f1387">Text here</div>
CSS codes
<p style="color:#5f1387">Text here</p>
<div style="background-color:#5f1387">Text here</div>
<div style="border: 4px solid #5f1387">Text here</div>
#5f1387 Color on white background
This is how a font and box color of #5f1387 will look
on a white background.
#5f1387 Color on black background
This is how a font and box color of #5f1387 hex color will look
on a black background.