In RGB color space, #5a22a8 hex color has a red value of 90, a green value of 34 and a blue value of 168.
In CMYK color space (used in color printing), #5a22a8 hex color is composed of 46.43% cyan, 79.76% magenta, 0% yellow and 34.12% black.
#5a22a8 color has a hue of 265.1 degrees, a saturation of 66.34% and a lightness of 39.6%.
#5a22a8 hex color contains mainly BLUE.
The closest web safe color of #5a22a8 is #663399
#5a22a8 hex color has a decimal value of 5907112.
HEX | 5a22a8 | #5a22a8 |
---|---|---|
RGB | 90, 34, 168 | rgb(90, 34, 168) |
RGB Percent | 35.29, 13.33, 65.88 | rgb(35.29, 13.33, 65.88) |
CMYK | 46, 80, 0, 34 | |
HSL | 265.1°, 66.34, 39.6 | hsl(265.1, 66.34%, 39.6%) |
HSV | 265.1°, 79.8, 65.9 |
XYZ | 11.856, 6.145, 37.607 |
---|---|
Hunter Lab | 24.789, 41.991, -72.595 |
CIE-LAB | 29.775, 52.518, -61.401 |
CIE-LCH | 29.775, 80.797, 310.541 |
CIE-LUV | 46.43, 79.76, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5a22a8
CMYK percent of color #5a22a8
Text with hexadecimal color #5a22a8
This text has a font color of #5a22a8
<p style="color:#5a22a8">Text here</p>
#5a22a8 Background Color
This box has a background color of #5a22a8
<div style="background-color:#5a22a8">Text here</div>
#5a22a8 Border Color
This box has a border color of #5a22a8
<div style="border: 4px solid #5a22a8">Text here</div>
CSS codes
<p style="color:#5a22a8">Text here</p>
<div style="background-color:#5a22a8">Text here</div>
<div style="border: 4px solid #5a22a8">Text here</div>
#5a22a8 Color on white background
This is how a font and box color of #5a22a8 will look
on a white background.
#5a22a8 Color on black background
This is how a font and box color of #5a22a8 hex color will look
on a black background.