In RGB color space, #5a218f hex color has a red value of 90, a green value of 33 and a blue value of 143.
In CMYK color space (used in color printing), #5a218f hex color is composed of 37.06% cyan, 76.92% magenta, 0% yellow and 43.92% black.
#5a218f color has a hue of 271.1 degrees, a saturation of 62.5% and a lightness of 34.5%.
#5a218f hex color contains mainly BLUE.
The closest web safe color of #5a218f is #663399
#5a218f hex color has a decimal value of 5906831.
HEX | 5a218f | #5a218f |
---|---|---|
RGB | 90, 33, 143 | rgb(90, 33, 143) |
RGB Percent | 35.29, 12.94, 56.08 | rgb(35.29, 12.94, 56.08) |
CMYK | 37, 77, 0, 44 | |
HSL | 271.1°, 62.5, 34.5 | hsl(271.1, 62.5%, 34.5%) |
HSV | 271.1°, 76.9, 56.1 |
XYZ | 9.718, 5.245, 26.487 |
---|---|
Hunter Lab | 22.902, 35.665, -52.54 |
CIE-LAB | 27.422, 46.64, -49.985 |
CIE-LCH | 27.422, 68.365, 313.017 |
CIE-LUV | 37.06, 76.92, 0, 43.92 |
Web Safe | 663399 |
RGB percent of color #5a218f
CMYK percent of color #5a218f
Text with hexadecimal color #5a218f
This text has a font color of #5a218f
<p style="color:#5a218f">Text here</p>
#5a218f Background Color
This box has a background color of #5a218f
<div style="background-color:#5a218f">Text here</div>
#5a218f Border Color
This box has a border color of #5a218f
<div style="border: 4px solid #5a218f">Text here</div>
CSS codes
<p style="color:#5a218f">Text here</p>
<div style="background-color:#5a218f">Text here</div>
<div style="border: 4px solid #5a218f">Text here</div>
#5a218f Color on white background
This is how a font and box color of #5a218f will look
on a white background.
#5a218f Color on black background
This is how a font and box color of #5a218f hex color will look
on a black background.