In RGB color space, #5f2c98 hex color has a red value of 95, a green value of 44 and a blue value of 152.
In CMYK color space (used in color printing), #5f2c98 hex color is composed of 37.5% cyan, 71.05% magenta, 0% yellow and 40.39% black.
#5f2c98 color has a hue of 268.3 degrees, a saturation of 55.1% and a lightness of 38.4%.
#5f2c98 hex color contains mainly BLUE.
The closest web safe color of #5f2c98 is #663399
#5f2c98 hex color has a decimal value of 6237336.
HEX | 5f2c98 | #5f2c98 |
---|---|---|
RGB | 95, 44, 152 | rgb(95, 44, 152) |
RGB Percent | 37.25, 17.25, 59.61 | rgb(37.25, 17.25, 59.61) |
CMYK | 38, 71, 0, 40 | |
HSL | 268.3°, 55.1, 38.4 | hsl(268.3, 55.1%, 38.4%) |
HSV | 268.3°, 71.1, 59.6 |
XYZ | 11.287, 6.501, 30.366 |
---|---|
Hunter Lab | 25.497, 34.398, -52.764 |
CIE-LAB | 30.643, 44.717, -50.25 |
CIE-LCH | 30.643, 67.266, 311.666 |
CIE-LUV | 37.5, 71.05, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f2c98
CMYK percent of color #5f2c98
Text with hexadecimal color #5f2c98
This text has a font color of #5f2c98
<p style="color:#5f2c98">Text here</p>
#5f2c98 Background Color
This box has a background color of #5f2c98
<div style="background-color:#5f2c98">Text here</div>
#5f2c98 Border Color
This box has a border color of #5f2c98
<div style="border: 4px solid #5f2c98">Text here</div>
CSS codes
<p style="color:#5f2c98">Text here</p>
<div style="background-color:#5f2c98">Text here</div>
<div style="border: 4px solid #5f2c98">Text here</div>
#5f2c98 Color on white background
This is how a font and box color of #5f2c98 will look
on a white background.
#5f2c98 Color on black background
This is how a font and box color of #5f2c98 hex color will look
on a black background.