In RGB color space, #5f2698 hex color has a red value of 95, a green value of 38 and a blue value of 152.
In CMYK color space (used in color printing), #5f2698 hex color is composed of 37.5% cyan, 75% magenta, 0% yellow and 40.39% black.
#5f2698 color has a hue of 270 degrees, a saturation of 60% and a lightness of 37.3%.
#5f2698 hex color contains mainly BLUE.
The closest web safe color of #5f2698 is #663399
#5f2698 hex color has a decimal value of 6235800.
HEX | 5f2698 | #5f2698 |
---|---|---|
RGB | 95, 38, 152 | rgb(95, 38, 152) |
RGB Percent | 37.25, 14.9, 59.61 | rgb(37.25, 14.9, 59.61) |
CMYK | 38, 75, 0, 40 | |
HSL | 270°, 60, 37.3 | hsl(270, 60%, 37.3%) |
HSV | 270°, 75, 59.6 |
XYZ | 11.08, 6.086, 30.297 |
---|---|
Hunter Lab | 24.67, 36.998, -55.545 |
CIE-LAB | 29.628, 47.577, -51.9 |
CIE-LCH | 29.628, 70.407, 312.512 |
CIE-LUV | 37.5, 75, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f2698
CMYK percent of color #5f2698
Text with hexadecimal color #5f2698
This text has a font color of #5f2698
<p style="color:#5f2698">Text here</p>
#5f2698 Background Color
This box has a background color of #5f2698
<div style="background-color:#5f2698">Text here</div>
#5f2698 Border Color
This box has a border color of #5f2698
<div style="border: 4px solid #5f2698">Text here</div>
CSS codes
<p style="color:#5f2698">Text here</p>
<div style="background-color:#5f2698">Text here</div>
<div style="border: 4px solid #5f2698">Text here</div>
#5f2698 Color on white background
This is how a font and box color of #5f2698 will look
on a white background.
#5f2698 Color on black background
This is how a font and box color of #5f2698 hex color will look
on a black background.