In RGB color space, #5221a2 hex color has a red value of 82, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #5221a2 hex color is composed of 49.38% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#5221a2 color has a hue of 262.8 degrees, a saturation of 66.15% and a lightness of 38.2%.
#5221a2 hex color contains mainly BLUE.
The closest web safe color of #5221a2 is #663399
#5221a2 hex color has a decimal value of 5382562.
HEX | 5221a2 | #5221a2 |
---|---|---|
RGB | 82, 33, 162 | rgb(82, 33, 162) |
RGB Percent | 32.16, 12.94, 63.53 | rgb(32.16, 12.94, 63.53) |
CMYK | 49, 80, 0, 36 | |
HSL | 262.8°, 66.15, 38.2 | hsl(262.8, 66.15%, 38.2%) |
HSV | 262.8°, 79.6, 63.5 |
XYZ | 10.545, 5.49, 34.686 |
---|---|
Hunter Lab | 23.431, 39.33, -71.369 |
CIE-LAB | 28.087, 50.223, -60.58 |
CIE-LCH | 28.087, 78.691, 309.66 |
CIE-LUV | 49.38, 79.63, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5221a2
CMYK percent of color #5221a2
Text with hexadecimal color #5221a2
This text has a font color of #5221a2
<p style="color:#5221a2">Text here</p>
#5221a2 Background Color
This box has a background color of #5221a2
<div style="background-color:#5221a2">Text here</div>
#5221a2 Border Color
This box has a border color of #5221a2
<div style="border: 4px solid #5221a2">Text here</div>
CSS codes
<p style="color:#5221a2">Text here</p>
<div style="background-color:#5221a2">Text here</div>
<div style="border: 4px solid #5221a2">Text here</div>
#5221a2 Color on white background
This is how a font and box color of #5221a2 will look
on a white background.
#5221a2 Color on black background
This is how a font and box color of #5221a2 hex color will look
on a black background.