In RGB color space, #5218b1 hex color has a red value of 82, a green value of 24 and a blue value of 177.
In CMYK color space (used in color printing), #5218b1 hex color is composed of 53.67% cyan, 86.44% magenta, 0% yellow and 30.59% black.
#5218b1 color has a hue of 262.7 degrees, a saturation of 76.12% and a lightness of 39.4%.
#5218b1 hex color contains mainly BLUE.
The closest web safe color of #5218b1 is #660099
#5218b1 hex color has a decimal value of 5380273.
HEX | 5218b1 | #5218b1 |
---|---|---|
RGB | 82, 24, 177 | rgb(82, 24, 177) |
RGB Percent | 32.16, 9.41, 69.41 | rgb(32.16, 9.41, 69.41) |
CMYK | 54, 86, 0, 31 | |
HSL | 262.7°, 76.12, 39.4 | hsl(262.7, 76.12%, 39.4%) |
HSV | 262.7°, 86.4, 69.4 |
XYZ | 11.742, 5.621, 42.061 |
---|---|
Hunter Lab | 23.709, 46.914, -88.589 |
CIE-LAB | 28.435, 57.49, -69.046 |
CIE-LCH | 28.435, 89.847, 309.782 |
CIE-LUV | 53.67, 86.44, 0, 30.59 |
Web Safe | 660099 |
RGB percent of color #5218b1
CMYK percent of color #5218b1
Text with hexadecimal color #5218b1
This text has a font color of #5218b1
<p style="color:#5218b1">Text here</p>
#5218b1 Background Color
This box has a background color of #5218b1
<div style="background-color:#5218b1">Text here</div>
#5218b1 Border Color
This box has a border color of #5218b1
<div style="border: 4px solid #5218b1">Text here</div>
CSS codes
<p style="color:#5218b1">Text here</p>
<div style="background-color:#5218b1">Text here</div>
<div style="border: 4px solid #5218b1">Text here</div>
#5218b1 Color on white background
This is how a font and box color of #5218b1 will look
on a white background.
#5218b1 Color on black background
This is how a font and box color of #5218b1 hex color will look
on a black background.