In RGB color space, #5f2298 hex color has a red value of 95, a green value of 34 and a blue value of 152.
In CMYK color space (used in color printing), #5f2298 hex color is composed of 37.5% cyan, 77.63% magenta, 0% yellow and 40.39% black.
#5f2298 color has a hue of 271 degrees, a saturation of 63.44% and a lightness of 36.5%.
#5f2298 hex color contains mainly BLUE.
The closest web safe color of #5f2298 is #663399
#5f2298 hex color has a decimal value of 6234776.
HEX | 5f2298 | #5f2298 |
---|---|---|
RGB | 95, 34, 152 | rgb(95, 34, 152) |
RGB Percent | 37.25, 13.33, 59.61 | rgb(37.25, 13.33, 59.61) |
CMYK | 38, 78, 0, 40 | |
HSL | 271°, 63.44, 36.5 | hsl(271, 63.44%, 36.5%) |
HSV | 271°, 77.6, 59.6 |
XYZ | 10.959, 5.844, 30.256 |
---|---|
Hunter Lab | 24.174, 38.615, -57.284 |
CIE-LAB | 29.015, 49.327, -52.898 |
CIE-LCH | 29.015, 72.328, 312.999 |
CIE-LUV | 37.5, 77.63, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f2298
CMYK percent of color #5f2298
Text with hexadecimal color #5f2298
This text has a font color of #5f2298
<p style="color:#5f2298">Text here</p>
#5f2298 Background Color
This box has a background color of #5f2298
<div style="background-color:#5f2298">Text here</div>
#5f2298 Border Color
This box has a border color of #5f2298
<div style="border: 4px solid #5f2298">Text here</div>
CSS codes
<p style="color:#5f2298">Text here</p>
<div style="background-color:#5f2298">Text here</div>
<div style="border: 4px solid #5f2298">Text here</div>
#5f2298 Color on white background
This is how a font and box color of #5f2298 will look
on a white background.
#5f2298 Color on black background
This is how a font and box color of #5f2298 hex color will look
on a black background.