In RGB color space, #5f2987 hex color has a red value of 95, a green value of 41 and a blue value of 135.
In CMYK color space (used in color printing), #5f2987 hex color is composed of 29.63% cyan, 69.63% magenta, 0% yellow and 47.06% black.
#5f2987 color has a hue of 274.5 degrees, a saturation of 53.41% and a lightness of 34.5%.
#5f2987 hex color contains mainly BLUE.
The closest web safe color of #5f2987 is #663399
#5f2987 hex color has a decimal value of 6236551.
HEX | 5f2987 | #5f2987 |
---|---|---|
RGB | 95, 41, 135 | rgb(95, 41, 135) |
RGB Percent | 37.25, 16.08, 52.94 | rgb(37.25, 16.08, 52.94) |
CMYK | 30, 70, 0, 47 | |
HSL | 274.5°, 53.41, 34.5 | hsl(274.5, 53.41%, 34.5%) |
HSV | 274.5°, 69.6, 52.9 |
XYZ | 9.885, 5.768, 23.514 |
---|---|
Hunter Lab | 24.017, 31.44, -41.237 |
CIE-LAB | 28.819, 41.947, -42.717 |
CIE-LCH | 28.819, 59.869, 314.479 |
CIE-LUV | 29.63, 69.63, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #5f2987
CMYK percent of color #5f2987
Text with hexadecimal color #5f2987
This text has a font color of #5f2987
<p style="color:#5f2987">Text here</p>
#5f2987 Background Color
This box has a background color of #5f2987
<div style="background-color:#5f2987">Text here</div>
#5f2987 Border Color
This box has a border color of #5f2987
<div style="border: 4px solid #5f2987">Text here</div>
CSS codes
<p style="color:#5f2987">Text here</p>
<div style="background-color:#5f2987">Text here</div>
<div style="border: 4px solid #5f2987">Text here</div>
#5f2987 Color on white background
This is how a font and box color of #5f2987 will look
on a white background.
#5f2987 Color on black background
This is how a font and box color of #5f2987 hex color will look
on a black background.