In RGB color space, #5a42b5 hex color has a red value of 90, a green value of 66 and a blue value of 181.
In CMYK color space (used in color printing), #5a42b5 hex color is composed of 50.28% cyan, 63.54% magenta, 0% yellow and 29.02% black.
#5a42b5 color has a hue of 252.5 degrees, a saturation of 46.56% and a lightness of 48.4%.
#5a42b5 hex color contains mainly BLUE.
The closest web safe color of #5a42b5 is #6633cc
#5a42b5 hex color has a decimal value of 5915317.
HEX | 5a42b5 | #5a42b5 |
---|---|---|
RGB | 90, 66, 181 | rgb(90, 66, 181) |
RGB Percent | 35.29, 25.88, 70.98 | rgb(35.29, 25.88, 70.98) |
CMYK | 50, 64, 0, 29 | |
HSL | 252.5°, 46.56, 48.4 | hsl(252.5, 46.56%, 48.4%) |
HSV | 252.5°, 63.5, 71 |
XYZ | 14.505, 9.406, 44.767 |
---|---|
Hunter Lab | 30.669, 30.75, -65.076 |
CIE-LAB | 36.755, 39.806, -57.762 |
CIE-LCH | 36.755, 70.15, 304.572 |
CIE-LUV | 50.28, 63.54, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5a42b5
CMYK percent of color #5a42b5
Text with hexadecimal color #5a42b5
This text has a font color of #5a42b5
<p style="color:#5a42b5">Text here</p>
#5a42b5 Background Color
This box has a background color of #5a42b5
<div style="background-color:#5a42b5">Text here</div>
#5a42b5 Border Color
This box has a border color of #5a42b5
<div style="border: 4px solid #5a42b5">Text here</div>
CSS codes
<p style="color:#5a42b5">Text here</p>
<div style="background-color:#5a42b5">Text here</div>
<div style="border: 4px solid #5a42b5">Text here</div>
#5a42b5 Color on white background
This is how a font and box color of #5a42b5 will look
on a white background.
#5a42b5 Color on black background
This is how a font and box color of #5a42b5 hex color will look
on a black background.