In RGB color space, #5218a1 hex color has a red value of 82, a green value of 24 and a blue value of 161.
In CMYK color space (used in color printing), #5218a1 hex color is composed of 49.07% cyan, 85.09% magenta, 0% yellow and 36.86% black.
#5218a1 color has a hue of 265.4 degrees, a saturation of 74.05% and a lightness of 36.3%.
#5218a1 hex color contains mainly BLUE.
The closest web safe color of #5218a1 is #660099
#5218a1 hex color has a decimal value of 5380257.
HEX | 5218a1 | #5218a1 |
---|---|---|
RGB | 82, 24, 161 | rgb(82, 24, 161) |
RGB Percent | 32.16, 9.41, 63.14 | rgb(32.16, 9.41, 63.14) |
CMYK | 49, 85, 0, 37 | |
HSL | 265.4°, 74.05, 36.3 | hsl(265.4, 74.05%, 36.3%) |
HSV | 265.4°, 85.1, 63.1 |
XYZ | 10.239, 5.02, 34.148 |
---|---|
Hunter Lab | 22.405, 42.363, -74.68 |
CIE-LAB | 26.792, 53.462, -62.104 |
CIE-LCH | 26.792, 81.946, 310.723 |
CIE-LUV | 49.07, 85.09, 0, 36.86 |
Web Safe | 660099 |
RGB percent of color #5218a1
CMYK percent of color #5218a1
Text with hexadecimal color #5218a1
This text has a font color of #5218a1
<p style="color:#5218a1">Text here</p>
#5218a1 Background Color
This box has a background color of #5218a1
<div style="background-color:#5218a1">Text here</div>
#5218a1 Border Color
This box has a border color of #5218a1
<div style="border: 4px solid #5218a1">Text here</div>
CSS codes
<p style="color:#5218a1">Text here</p>
<div style="background-color:#5218a1">Text here</div>
<div style="border: 4px solid #5218a1">Text here</div>
#5218a1 Color on white background
This is how a font and box color of #5218a1 will look
on a white background.
#5218a1 Color on black background
This is how a font and box color of #5218a1 hex color will look
on a black background.