In RGB color space, #5a2997 hex color has a red value of 90, a green value of 41 and a blue value of 151.
In CMYK color space (used in color printing), #5a2997 hex color is composed of 40.4% cyan, 72.85% magenta, 0% yellow and 40.78% black.
#5a2997 color has a hue of 266.7 degrees, a saturation of 57.29% and a lightness of 37.6%.
#5a2997 hex color contains mainly BLUE.
The closest web safe color of #5a2997 is #663399
#5a2997 hex color has a decimal value of 5908887.
HEX | 5a2997 | #5a2997 |
---|---|---|
RGB | 90, 41, 151 | rgb(90, 41, 151) |
RGB Percent | 35.29, 16.08, 59.22 | rgb(35.29, 16.08, 59.22) |
CMYK | 40, 73, 0, 41 | |
HSL | 266.7°, 57.29, 37.6 | hsl(266.7, 57.29%, 37.6%) |
HSV | 266.7°, 72.8, 59.2 |
XYZ | 10.595, 5.994, 29.877 |
---|---|
Hunter Lab | 24.483, 34.402, -55.216 |
CIE-LAB | 29.397, 44.956, -51.693 |
CIE-LCH | 29.397, 68.507, 311.013 |
CIE-LUV | 40.4, 72.85, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a2997
CMYK percent of color #5a2997
Text with hexadecimal color #5a2997
This text has a font color of #5a2997
<p style="color:#5a2997">Text here</p>
#5a2997 Background Color
This box has a background color of #5a2997
<div style="background-color:#5a2997">Text here</div>
#5a2997 Border Color
This box has a border color of #5a2997
<div style="border: 4px solid #5a2997">Text here</div>
CSS codes
<p style="color:#5a2997">Text here</p>
<div style="background-color:#5a2997">Text here</div>
<div style="border: 4px solid #5a2997">Text here</div>
#5a2997 Color on white background
This is how a font and box color of #5a2997 will look
on a white background.
#5a2997 Color on black background
This is how a font and box color of #5a2997 hex color will look
on a black background.