In RGB color space, #5a42a9 hex color has a red value of 90, a green value of 66 and a blue value of 169.
In CMYK color space (used in color printing), #5a42a9 hex color is composed of 46.75% cyan, 60.95% magenta, 0% yellow and 33.73% black.
#5a42a9 color has a hue of 254 degrees, a saturation of 43.83% and a lightness of 46.1%.
#5a42a9 hex color contains mainly BLUE.
The closest web safe color of #5a42a9 is #663399
#5a42a9 hex color has a decimal value of 5915305.
HEX | 5a42a9 | #5a42a9 |
---|---|---|
RGB | 90, 66, 169 | rgb(90, 66, 169) |
RGB Percent | 35.29, 25.88, 66.27 | rgb(35.29, 25.88, 66.27) |
CMYK | 47, 61, 0, 34 | |
HSL | 254°, 43.83, 46.1 | hsl(254, 43.83%, 46.1%) |
HSV | 254°, 60.9, 66.3 |
XYZ | 13.326, 8.935, 38.558 |
---|---|
Hunter Lab | 29.891, 27.268, -55.556 |
CIE-LAB | 35.859, 36.221, -52.085 |
CIE-LCH | 35.859, 63.441, 304.816 |
CIE-LUV | 46.75, 60.95, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #5a42a9
CMYK percent of color #5a42a9
Text with hexadecimal color #5a42a9
This text has a font color of #5a42a9
<p style="color:#5a42a9">Text here</p>
#5a42a9 Background Color
This box has a background color of #5a42a9
<div style="background-color:#5a42a9">Text here</div>
#5a42a9 Border Color
This box has a border color of #5a42a9
<div style="border: 4px solid #5a42a9">Text here</div>
CSS codes
<p style="color:#5a42a9">Text here</p>
<div style="background-color:#5a42a9">Text here</div>
<div style="border: 4px solid #5a42a9">Text here</div>
#5a42a9 Color on white background
This is how a font and box color of #5a42a9 will look
on a white background.
#5a42a9 Color on black background
This is how a font and box color of #5a42a9 hex color will look
on a black background.