In RGB color space, #5a2171 hex color has a red value of 90, a green value of 33 and a blue value of 113.
In CMYK color space (used in color printing), #5a2171 hex color is composed of 20.35% cyan, 70.8% magenta, 0% yellow and 55.69% black.
#5a2171 color has a hue of 282.8 degrees, a saturation of 54.79% and a lightness of 28.6%.
#5a2171 hex color contains mainly BLUE.
The closest web safe color of #5a2171 is #663366
#5a2171 hex color has a decimal value of 5906801.
HEX | 5a2171 | #5a2171 |
---|---|---|
RGB | 90, 33, 113 | rgb(90, 33, 113) |
RGB Percent | 35.29, 12.94, 44.31 | rgb(35.29, 12.94, 44.31) |
CMYK | 20, 71, 0, 56 | |
HSL | 282.8°, 54.79, 28.6 | hsl(282.8, 54.79%, 28.6%) |
HSV | 282.8°, 70.8, 44.3 |
XYZ | 7.741, 4.454, 16.074 |
---|---|
Hunter Lab | 21.105, 28.54, -30.384 |
CIE-LAB | 25.119, 39.495, -34.808 |
CIE-LCH | 25.119, 52.645, 318.609 |
CIE-LUV | 20.35, 70.8, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5a2171
CMYK percent of color #5a2171
Text with hexadecimal color #5a2171
This text has a font color of #5a2171
<p style="color:#5a2171">Text here</p>
#5a2171 Background Color
This box has a background color of #5a2171
<div style="background-color:#5a2171">Text here</div>
#5a2171 Border Color
This box has a border color of #5a2171
<div style="border: 4px solid #5a2171">Text here</div>
CSS codes
<p style="color:#5a2171">Text here</p>
<div style="background-color:#5a2171">Text here</div>
<div style="border: 4px solid #5a2171">Text here</div>
#5a2171 Color on white background
This is how a font and box color of #5a2171 will look
on a white background.
#5a2171 Color on black background
This is how a font and box color of #5a2171 hex color will look
on a black background.