In RGB color space, #5221a5 hex color has a red value of 82, a green value of 33 and a blue value of 165.
In CMYK color space (used in color printing), #5221a5 hex color is composed of 50.3% cyan, 80% magenta, 0% yellow and 35.29% black.
#5221a5 color has a hue of 262.3 degrees, a saturation of 66.67% and a lightness of 38.8%.
#5221a5 hex color contains mainly BLUE.
The closest web safe color of #5221a5 is #663399
#5221a5 hex color has a decimal value of 5382565.
HEX | 5221a5 | #5221a5 |
---|---|---|
RGB | 82, 33, 165 | rgb(82, 33, 165) |
RGB Percent | 32.16, 12.94, 64.71 | rgb(32.16, 12.94, 64.71) |
CMYK | 50, 80, 0, 35 | |
HSL | 262.3°, 66.67, 38.8 | hsl(262.3, 66.67%, 38.8%) |
HSV | 262.3°, 80, 64.7 |
XYZ | 10.815, 5.598, 36.108 |
---|---|
Hunter Lab | 23.66, 40.187, -73.921 |
CIE-LAB | 28.375, 51.018, -61.926 |
CIE-LCH | 28.375, 80.235, 309.484 |
CIE-LUV | 50.3, 80, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #5221a5
CMYK percent of color #5221a5
Text with hexadecimal color #5221a5
This text has a font color of #5221a5
<p style="color:#5221a5">Text here</p>
#5221a5 Background Color
This box has a background color of #5221a5
<div style="background-color:#5221a5">Text here</div>
#5221a5 Border Color
This box has a border color of #5221a5
<div style="border: 4px solid #5221a5">Text here</div>
CSS codes
<p style="color:#5221a5">Text here</p>
<div style="background-color:#5221a5">Text here</div>
<div style="border: 4px solid #5221a5">Text here</div>
#5221a5 Color on white background
This is how a font and box color of #5221a5 will look
on a white background.
#5221a5 Color on black background
This is how a font and box color of #5221a5 hex color will look
on a black background.