In RGB color space, #5a2497 hex color has a red value of 90, a green value of 36 and a blue value of 151.
In CMYK color space (used in color printing), #5a2497 hex color is composed of 40.4% cyan, 76.16% magenta, 0% yellow and 40.78% black.
#5a2497 color has a hue of 268.2 degrees, a saturation of 61.5% and a lightness of 36.7%.
#5a2497 hex color contains mainly BLUE.
The closest web safe color of #5a2497 is #663399
#5a2497 hex color has a decimal value of 5907607.
HEX | 5a2497 | #5a2497 |
---|---|---|
RGB | 90, 36, 151 | rgb(90, 36, 151) |
RGB Percent | 35.29, 14.12, 59.22 | rgb(35.29, 14.12, 59.22) |
CMYK | 40, 76, 0, 41 | |
HSL | 268.2°, 61.5, 36.7 | hsl(268.2, 61.5%, 36.7%) |
HSV | 268.2°, 76.2, 59.2 |
XYZ | 10.433, 5.67, 29.823 |
---|---|
Hunter Lab | 23.812, 36.538, -57.589 |
CIE-LAB | 28.564, 47.315, -53.051 |
CIE-LCH | 28.564, 71.085, 311.729 |
CIE-LUV | 40.4, 76.16, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a2497
CMYK percent of color #5a2497
Text with hexadecimal color #5a2497
This text has a font color of #5a2497
<p style="color:#5a2497">Text here</p>
#5a2497 Background Color
This box has a background color of #5a2497
<div style="background-color:#5a2497">Text here</div>
#5a2497 Border Color
This box has a border color of #5a2497
<div style="border: 4px solid #5a2497">Text here</div>
CSS codes
<p style="color:#5a2497">Text here</p>
<div style="background-color:#5a2497">Text here</div>
<div style="border: 4px solid #5a2497">Text here</div>
#5a2497 Color on white background
This is how a font and box color of #5a2497 will look
on a white background.
#5a2497 Color on black background
This is how a font and box color of #5a2497 hex color will look
on a black background.