In RGB color space, #5218a8 hex color has a red value of 82, a green value of 24 and a blue value of 168.
In CMYK color space (used in color printing), #5218a8 hex color is composed of 51.19% cyan, 85.71% magenta, 0% yellow and 34.12% black.
#5218a8 color has a hue of 264.2 degrees, a saturation of 75% and a lightness of 37.6%.
#5218a8 hex color contains mainly BLUE.
The closest web safe color of #5218a8 is #660099
#5218a8 hex color has a decimal value of 5380264.
HEX | 5218a8 | #5218a8 |
---|---|---|
RGB | 82, 24, 168 | rgb(82, 24, 168) |
RGB Percent | 32.16, 9.41, 65.88 | rgb(32.16, 9.41, 65.88) |
CMYK | 51, 86, 0, 34 | |
HSL | 264.2°, 75, 37.6 | hsl(264.2, 75%, 37.6%) |
HSV | 264.2°, 85.7, 65.9 |
XYZ | 10.874, 5.274, 37.491 |
---|---|
Hunter Lab | 22.965, 44.331, -80.716 |
CIE-LAB | 27.502, 55.222, -65.177 |
CIE-LCH | 27.502, 85.425, 310.273 |
CIE-LUV | 51.19, 85.71, 0, 34.12 |
Web Safe | 660099 |
RGB percent of color #5218a8
CMYK percent of color #5218a8
Text with hexadecimal color #5218a8
This text has a font color of #5218a8
<p style="color:#5218a8">Text here</p>
#5218a8 Background Color
This box has a background color of #5218a8
<div style="background-color:#5218a8">Text here</div>
#5218a8 Border Color
This box has a border color of #5218a8
<div style="border: 4px solid #5218a8">Text here</div>
CSS codes
<p style="color:#5218a8">Text here</p>
<div style="background-color:#5218a8">Text here</div>
<div style="border: 4px solid #5218a8">Text here</div>
#5218a8 Color on white background
This is how a font and box color of #5218a8 will look
on a white background.
#5218a8 Color on black background
This is how a font and box color of #5218a8 hex color will look
on a black background.