In RGB color space, #5f4f98 hex color has a red value of 95, a green value of 79 and a blue value of 152.
In CMYK color space (used in color printing), #5f4f98 hex color is composed of 37.5% cyan, 48.03% magenta, 0% yellow and 40.39% black.
#5f4f98 color has a hue of 253.2 degrees, a saturation of 31.6% and a lightness of 45.3%.
#5f4f98 hex color contains mainly BLUE.
The closest web safe color of #5f4f98 is #666699
#5f4f98 hex color has a decimal value of 6246296.
HEX | 5f4f98 | #5f4f98 |
---|---|---|
RGB | 95, 79, 152 | rgb(95, 79, 152) |
RGB Percent | 37.25, 30.98, 59.61 | rgb(37.25, 30.98, 59.61) |
CMYK | 38, 48, 0, 40 | |
HSL | 253.2°, 31.6, 45.3 | hsl(253.2, 31.6%, 45.3%) |
HSV | 253.2°, 48, 59.6 |
XYZ | 13.183, 10.292, 30.997 |
---|---|
Hunter Lab | 32.081, 17.208, -34.83 |
CIE-LAB | 38.361, 24.502, -37.841 |
CIE-LCH | 38.361, 45.081, 302.923 |
CIE-LUV | 37.5, 48.03, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5f4f98
CMYK percent of color #5f4f98
Text with hexadecimal color #5f4f98
This text has a font color of #5f4f98
<p style="color:#5f4f98">Text here</p>
#5f4f98 Background Color
This box has a background color of #5f4f98
<div style="background-color:#5f4f98">Text here</div>
#5f4f98 Border Color
This box has a border color of #5f4f98
<div style="border: 4px solid #5f4f98">Text here</div>
CSS codes
<p style="color:#5f4f98">Text here</p>
<div style="background-color:#5f4f98">Text here</div>
<div style="border: 4px solid #5f4f98">Text here</div>
#5f4f98 Color on white background
This is how a font and box color of #5f4f98 will look
on a white background.
#5f4f98 Color on black background
This is how a font and box color of #5f4f98 hex color will look
on a black background.