In RGB color space, #5f0c98 hex color has a red value of 95, a green value of 12 and a blue value of 152.
In CMYK color space (used in color printing), #5f0c98 hex color is composed of 37.5% cyan, 92.11% magenta, 0% yellow and 40.39% black.
#5f0c98 color has a hue of 275.6 degrees, a saturation of 85.37% and a lightness of 32.2%.
#5f0c98 hex color contains mainly BLUE.
The closest web safe color of #5f0c98 is #660099
#5f0c98 hex color has a decimal value of 6229144.
HEX | 5f0c98 | #5f0c98 |
---|---|---|
RGB | 95, 12, 152 | rgb(95, 12, 152) |
RGB Percent | 37.25, 4.71, 59.61 | rgb(37.25, 4.71, 59.61) |
CMYK | 38, 92, 0, 40 | |
HSL | 275.6°, 85.37, 32.2 | hsl(275.6, 85.37%, 32.2%) |
HSV | 275.6°, 92.1, 59.6 |
XYZ | 10.518, 4.963, 30.109 |
---|---|
Hunter Lab | 22.278, 45.289, -64.537 |
CIE-LAB | 26.629, 56.304, -56.801 |
CIE-LCH | 26.629, 79.978, 314.748 |
CIE-LUV | 37.5, 92.11, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #5f0c98
CMYK percent of color #5f0c98
Text with hexadecimal color #5f0c98
This text has a font color of #5f0c98
<p style="color:#5f0c98">Text here</p>
#5f0c98 Background Color
This box has a background color of #5f0c98
<div style="background-color:#5f0c98">Text here</div>
#5f0c98 Border Color
This box has a border color of #5f0c98
<div style="border: 4px solid #5f0c98">Text here</div>
CSS codes
<p style="color:#5f0c98">Text here</p>
<div style="background-color:#5f0c98">Text here</div>
<div style="border: 4px solid #5f0c98">Text here</div>
#5f0c98 Color on white background
This is how a font and box color of #5f0c98 will look
on a white background.
#5f0c98 Color on black background
This is how a font and box color of #5f0c98 hex color will look
on a black background.