In RGB color space, #5a42ad hex color has a red value of 90, a green value of 66 and a blue value of 173.
In CMYK color space (used in color printing), #5a42ad hex color is composed of 47.98% cyan, 61.85% magenta, 0% yellow and 32.16% black.
#5a42ad color has a hue of 253.5 degrees, a saturation of 44.77% and a lightness of 46.9%.
#5a42ad hex color contains mainly BLUE.
The closest web safe color of #5a42ad is #663399
#5a42ad hex color has a decimal value of 5915309.
HEX | 5a42ad | #5a42ad |
---|---|---|
RGB | 90, 66, 173 | rgb(90, 66, 173) |
RGB Percent | 35.29, 25.88, 67.84 | rgb(35.29, 25.88, 67.84) |
CMYK | 48, 62, 0, 32 | |
HSL | 253.5°, 44.77, 46.9 | hsl(253.5, 44.77%, 46.9%) |
HSV | 253.5°, 61.8, 67.8 |
XYZ | 13.707, 9.087, 40.567 |
---|---|
Hunter Lab | 30.145, 28.412, -58.688 |
CIE-LAB | 36.151, 37.413, -53.997 |
CIE-LCH | 36.151, 65.692, 304.717 |
CIE-LUV | 47.98, 61.85, 0, 32.16 |
Web Safe | 663399 |
RGB percent of color #5a42ad
CMYK percent of color #5a42ad
Text with hexadecimal color #5a42ad
This text has a font color of #5a42ad
<p style="color:#5a42ad">Text here</p>
#5a42ad Background Color
This box has a background color of #5a42ad
<div style="background-color:#5a42ad">Text here</div>
#5a42ad Border Color
This box has a border color of #5a42ad
<div style="border: 4px solid #5a42ad">Text here</div>
CSS codes
<p style="color:#5a42ad">Text here</p>
<div style="background-color:#5a42ad">Text here</div>
<div style="border: 4px solid #5a42ad">Text here</div>
#5a42ad Color on white background
This is how a font and box color of #5a42ad will look
on a white background.
#5a42ad Color on black background
This is how a font and box color of #5a42ad hex color will look
on a black background.