In RGB color space, #5f2f98 hex color has a red value of 95, a green value of 47 and a blue value of 152.
In CMYK color space (used in color printing), #5f2f98 hex color is composed of 37.5% cyan, 69.08% magenta, 0% yellow and 40.39% black.
#5f2f98 color has a hue of 267.4 degrees, a saturation of 52.76% and a lightness of 39%.
#5f2f98 hex color contains mainly BLUE.
The closest web safe color of #5f2f98 is #663399
#5f2f98 hex color has a decimal value of 6238104.
HEX | 5f2f98 | #5f2f98 |
---|---|---|
RGB | 95, 47, 152 | rgb(95, 47, 152) |
RGB Percent | 37.25, 18.43, 59.61 | rgb(37.25, 18.43, 59.61) |
CMYK | 38, 69, 0, 40 | |
HSL | 267.4°, 52.76, 39 | hsl(267.4, 52.76%, 39%) |
HSV | 267.4°, 69.1, 59.6 |
XYZ | 11.403, 6.733, 30.404 |
---|---|
Hunter Lab | 25.948, 33.034, -51.308 |
CIE-LAB | 31.191, 43.192, -49.359 |
CIE-LCH | 31.191, 65.589, 311.188 |
CIE-LUV | 37.5, 69.08, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f2f98
CMYK percent of color #5f2f98
Text with hexadecimal color #5f2f98
This text has a font color of #5f2f98
<p style="color:#5f2f98">Text here</p>
#5f2f98 Background Color
This box has a background color of #5f2f98
<div style="background-color:#5f2f98">Text here</div>
#5f2f98 Border Color
This box has a border color of #5f2f98
<div style="border: 4px solid #5f2f98">Text here</div>
CSS codes
<p style="color:#5f2f98">Text here</p>
<div style="background-color:#5f2f98">Text here</div>
<div style="border: 4px solid #5f2f98">Text here</div>
#5f2f98 Color on white background
This is how a font and box color of #5f2f98 will look
on a white background.
#5f2f98 Color on black background
This is how a font and box color of #5f2f98 hex color will look
on a black background.