In RGB color space, #5228a3 hex color has a red value of 82, a green value of 40 and a blue value of 163.
In CMYK color space (used in color printing), #5228a3 hex color is composed of 49.69% cyan, 75.46% magenta, 0% yellow and 36.08% black.
#5228a3 color has a hue of 260.5 degrees, a saturation of 60.59% and a lightness of 39.8%.
#5228a3 hex color contains mainly BLUE.
The closest web safe color of #5228a3 is #663399
#5228a3 hex color has a decimal value of 5384355.
HEX | 5228a3 | #5228a3 |
---|---|---|
RGB | 82, 40, 163 | rgb(82, 40, 163) |
RGB Percent | 32.16, 15.69, 63.92 | rgb(32.16, 15.69, 63.92) |
CMYK | 50, 75, 0, 36 | |
HSL | 260.5°, 60.59, 39.8 | hsl(260.5, 60.59%, 39.8%) |
HSV | 260.5°, 75.5, 63.9 |
XYZ | 10.849, 5.956, 35.228 |
---|---|
Hunter Lab | 24.405, 36.642, -68.5 |
CIE-LAB | 29.301, 47.278, -59.195 |
CIE-LCH | 29.301, 75.758, 308.614 |
CIE-LUV | 49.69, 75.46, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #5228a3
CMYK percent of color #5228a3
Text with hexadecimal color #5228a3
This text has a font color of #5228a3
<p style="color:#5228a3">Text here</p>
#5228a3 Background Color
This box has a background color of #5228a3
<div style="background-color:#5228a3">Text here</div>
#5228a3 Border Color
This box has a border color of #5228a3
<div style="border: 4px solid #5228a3">Text here</div>
CSS codes
<p style="color:#5228a3">Text here</p>
<div style="background-color:#5228a3">Text here</div>
<div style="border: 4px solid #5228a3">Text here</div>
#5228a3 Color on white background
This is how a font and box color of #5228a3 will look
on a white background.
#5228a3 Color on black background
This is how a font and box color of #5228a3 hex color will look
on a black background.