In RGB color space, #5a217a hex color has a red value of 90, a green value of 33 and a blue value of 122.
In CMYK color space (used in color printing), #5a217a hex color is composed of 26.23% cyan, 72.95% magenta, 0% yellow and 52.16% black.
#5a217a color has a hue of 278.4 degrees, a saturation of 57.42% and a lightness of 30.4%.
#5a217a hex color contains mainly BLUE.
The closest web safe color of #5a217a is #663366
#5a217a hex color has a decimal value of 5906810.
HEX | 5a217a | #5a217a |
---|---|---|
RGB | 90, 33, 122 | rgb(90, 33, 122) |
RGB Percent | 35.29, 12.94, 47.84 | rgb(35.29, 12.94, 47.84) |
CMYK | 26, 73, 0, 52 | |
HSL | 278.4°, 57.42, 30.4 | hsl(278.4, 57.42%, 30.4%) |
HSV | 278.4°, 73, 47.8 |
XYZ | 8.273, 4.667, 18.877 |
---|---|
Hunter Lab | 21.603, 30.551, -36.686 |
CIE-LAB | 25.764, 41.569, -39.513 |
CIE-LCH | 25.764, 57.352, 316.453 |
CIE-LUV | 26.23, 72.95, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5a217a
CMYK percent of color #5a217a
Text with hexadecimal color #5a217a
This text has a font color of #5a217a
<p style="color:#5a217a">Text here</p>
#5a217a Background Color
This box has a background color of #5a217a
<div style="background-color:#5a217a">Text here</div>
#5a217a Border Color
This box has a border color of #5a217a
<div style="border: 4px solid #5a217a">Text here</div>
CSS codes
<p style="color:#5a217a">Text here</p>
<div style="background-color:#5a217a">Text here</div>
<div style="border: 4px solid #5a217a">Text here</div>
#5a217a Color on white background
This is how a font and box color of #5a217a will look
on a white background.
#5a217a Color on black background
This is how a font and box color of #5a217a hex color will look
on a black background.