In RGB color space, #5f3f98 hex color has a red value of 95, a green value of 63 and a blue value of 152.
In CMYK color space (used in color printing), #5f3f98 hex color is composed of 37.5% cyan, 58.55% magenta, 0% yellow and 40.39% black.
#5f3f98 color has a hue of 261.6 degrees, a saturation of 41.4% and a lightness of 42.2%.
#5f3f98 hex color contains mainly BLUE.
The closest web safe color of #5f3f98 is #663399
#5f3f98 hex color has a decimal value of 6242200.
HEX | 5f3f98 | #5f3f98 |
---|---|---|
RGB | 95, 63, 152 | rgb(95, 63, 152) |
RGB Percent | 37.25, 24.71, 59.61 | rgb(37.25, 24.71, 59.61) |
CMYK | 38, 59, 0, 40 | |
HSL | 261.6°, 41.4, 42.2 | hsl(261.6, 41.4%, 42.2%) |
HSV | 261.6°, 58.6, 59.6 |
XYZ | 12.164, 8.255, 30.658 |
---|---|
Hunter Lab | 28.732, 25.291, -43.153 |
CIE-LAB | 34.508, 34.262, -44.003 |
CIE-LCH | 34.508, 55.769, 307.905 |
CIE-LUV | 37.5, 58.55, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f3f98
CMYK percent of color #5f3f98
Text with hexadecimal color #5f3f98
This text has a font color of #5f3f98
<p style="color:#5f3f98">Text here</p>
#5f3f98 Background Color
This box has a background color of #5f3f98
<div style="background-color:#5f3f98">Text here</div>
#5f3f98 Border Color
This box has a border color of #5f3f98
<div style="border: 4px solid #5f3f98">Text here</div>
CSS codes
<p style="color:#5f3f98">Text here</p>
<div style="background-color:#5f3f98">Text here</div>
<div style="border: 4px solid #5f3f98">Text here</div>
#5f3f98 Color on white background
This is how a font and box color of #5f3f98 will look
on a white background.
#5f3f98 Color on black background
This is how a font and box color of #5f3f98 hex color will look
on a black background.