In RGB color space, #5f2898 hex color has a red value of 95, a green value of 40 and a blue value of 152.
In CMYK color space (used in color printing), #5f2898 hex color is composed of 37.5% cyan, 73.68% magenta, 0% yellow and 40.39% black.
#5f2898 color has a hue of 269.5 degrees, a saturation of 58.33% and a lightness of 37.6%.
#5f2898 hex color contains mainly BLUE.
The closest web safe color of #5f2898 is #663399
#5f2898 hex color has a decimal value of 6236312.
HEX | 5f2898 | #5f2898 |
---|---|---|
RGB | 95, 40, 152 | rgb(95, 40, 152) |
RGB Percent | 37.25, 15.69, 59.61 | rgb(37.25, 15.69, 59.61) |
CMYK | 38, 74, 0, 40 | |
HSL | 269.5°, 58.33, 37.6 | hsl(269.5, 58.33%, 37.6%) |
HSV | 269.5°, 73.7, 59.6 |
XYZ | 11.146, 6.217, 30.318 |
---|---|
Hunter Lab | 24.934, 36.159, -54.639 |
CIE-LAB | 29.953, 46.66, -51.37 |
CIE-LCH | 29.953, 69.398, 312.249 |
CIE-LUV | 37.5, 73.68, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f2898
CMYK percent of color #5f2898
Text with hexadecimal color #5f2898
This text has a font color of #5f2898
<p style="color:#5f2898">Text here</p>
#5f2898 Background Color
This box has a background color of #5f2898
<div style="background-color:#5f2898">Text here</div>
#5f2898 Border Color
This box has a border color of #5f2898
<div style="border: 4px solid #5f2898">Text here</div>
CSS codes
<p style="color:#5f2898">Text here</p>
<div style="background-color:#5f2898">Text here</div>
<div style="border: 4px solid #5f2898">Text here</div>
#5f2898 Color on white background
This is how a font and box color of #5f2898 will look
on a white background.
#5f2898 Color on black background
This is how a font and box color of #5f2898 hex color will look
on a black background.