In RGB color space, #5228a6 hex color has a red value of 82, a green value of 40 and a blue value of 166.
In CMYK color space (used in color printing), #5228a6 hex color is composed of 50.6% cyan, 75.9% magenta, 0% yellow and 34.9% black.
#5228a6 color has a hue of 260 degrees, a saturation of 61.17% and a lightness of 40.4%.
#5228a6 hex color contains mainly BLUE.
The closest web safe color of #5228a6 is #663399
#5228a6 hex color has a decimal value of 5384358.
HEX | 5228a6 | #5228a6 |
---|---|---|
RGB | 82, 40, 166 | rgb(82, 40, 166) |
RGB Percent | 32.16, 15.69, 65.1 | rgb(32.16, 15.69, 65.1) |
CMYK | 51, 76, 0, 35 | |
HSL | 260°, 61.17, 40.4 | hsl(260, 61.17%, 40.4%) |
HSV | 260°, 75.9, 65.1 |
XYZ | 11.121, 6.065, 36.661 |
---|---|
Hunter Lab | 24.627, 37.508, -71.022 |
CIE-LAB | 29.576, 48.105, -60.559 |
CIE-LCH | 29.576, 77.34, 308.462 |
CIE-LUV | 50.6, 75.9, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5228a6
CMYK percent of color #5228a6
Text with hexadecimal color #5228a6
This text has a font color of #5228a6
<p style="color:#5228a6">Text here</p>
#5228a6 Background Color
This box has a background color of #5228a6
<div style="background-color:#5228a6">Text here</div>
#5228a6 Border Color
This box has a border color of #5228a6
<div style="border: 4px solid #5228a6">Text here</div>
CSS codes
<p style="color:#5228a6">Text here</p>
<div style="background-color:#5228a6">Text here</div>
<div style="border: 4px solid #5228a6">Text here</div>
#5228a6 Color on white background
This is how a font and box color of #5228a6 will look
on a white background.
#5228a6 Color on black background
This is how a font and box color of #5228a6 hex color will look
on a black background.