In RGB color space, #5a2998 hex color has a red value of 90, a green value of 41 and a blue value of 152.
In CMYK color space (used in color printing), #5a2998 hex color is composed of 40.79% cyan, 73.03% magenta, 0% yellow and 40.39% black.
#5a2998 color has a hue of 266.5 degrees, a saturation of 57.51% and a lightness of 37.8%.
#5a2998 hex color contains mainly BLUE.
The closest web safe color of #5a2998 is #663399
#5a2998 hex color has a decimal value of 5908888.
HEX | 5a2998 | #5a2998 |
---|---|---|
RGB | 90, 41, 152 | rgb(90, 41, 152) |
RGB Percent | 35.29, 16.08, 59.61 | rgb(35.29, 16.08, 59.61) |
CMYK | 41, 73, 0, 40 | |
HSL | 266.5°, 57.51, 37.8 | hsl(266.5, 57.51%, 37.8%) |
HSV | 266.5°, 73, 59.6 |
XYZ | 10.677, 6.027, 30.306 |
---|---|
Hunter Lab | 24.55, 34.669, -56.006 |
CIE-LAB | 29.48, 45.217, -52.168 |
CIE-LCH | 29.48, 69.037, 310.917 |
CIE-LUV | 40.79, 73.03, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5a2998
CMYK percent of color #5a2998
Text with hexadecimal color #5a2998
This text has a font color of #5a2998
<p style="color:#5a2998">Text here</p>
#5a2998 Background Color
This box has a background color of #5a2998
<div style="background-color:#5a2998">Text here</div>
#5a2998 Border Color
This box has a border color of #5a2998
<div style="border: 4px solid #5a2998">Text here</div>
CSS codes
<p style="color:#5a2998">Text here</p>
<div style="background-color:#5a2998">Text here</div>
<div style="border: 4px solid #5a2998">Text here</div>
#5a2998 Color on white background
This is how a font and box color of #5a2998 will look
on a white background.
#5a2998 Color on black background
This is how a font and box color of #5a2998 hex color will look
on a black background.