In RGB color space, #5a22c6 hex color has a red value of 90, a green value of 34 and a blue value of 198.
In CMYK color space (used in color printing), #5a22c6 hex color is composed of 54.55% cyan, 82.83% magenta, 0% yellow and 22.35% black.
#5a22c6 color has a hue of 260.5 degrees, a saturation of 70.69% and a lightness of 45.5%.
#5a22c6 hex color contains mainly BLUE.
The closest web safe color of #5a22c6 is #6633cc
#5a22c6 hex color has a decimal value of 5907142.
HEX | 5a22c6 | #5a22c6 |
---|---|---|
RGB | 90, 34, 198 | rgb(90, 34, 198) |
RGB Percent | 35.29, 13.33, 77.65 | rgb(35.29, 13.33, 77.65) |
CMYK | 55, 83, 0, 22 | |
HSL | 260.5°, 70.69, 45.5 | hsl(260.5, 70.69%, 45.5%) |
HSV | 260.5°, 82.8, 77.6 |
XYZ | 14.982, 7.395, 54.064 |
---|---|
Hunter Lab | 27.194, 50.753, -98.839 |
CIE-LAB | 32.69, 60.224, -74.425 |
CIE-LCH | 32.69, 95.739, 308.979 |
CIE-LUV | 54.55, 82.83, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5a22c6
CMYK percent of color #5a22c6
Text with hexadecimal color #5a22c6
This text has a font color of #5a22c6
<p style="color:#5a22c6">Text here</p>
#5a22c6 Background Color
This box has a background color of #5a22c6
<div style="background-color:#5a22c6">Text here</div>
#5a22c6 Border Color
This box has a border color of #5a22c6
<div style="border: 4px solid #5a22c6">Text here</div>
CSS codes
<p style="color:#5a22c6">Text here</p>
<div style="background-color:#5a22c6">Text here</div>
<div style="border: 4px solid #5a22c6">Text here</div>
#5a22c6 Color on white background
This is how a font and box color of #5a22c6 will look
on a white background.
#5a22c6 Color on black background
This is how a font and box color of #5a22c6 hex color will look
on a black background.