In RGB color space, #5a42b7 hex color has a red value of 90, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #5a42b7 hex color is composed of 50.82% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#5a42b7 color has a hue of 252.3 degrees, a saturation of 46.99% and a lightness of 48.8%.
#5a42b7 hex color contains mainly BLUE.
The closest web safe color of #5a42b7 is #6633cc
#5a42b7 hex color has a decimal value of 5915319.
HEX | 5a42b7 | #5a42b7 |
---|---|---|
RGB | 90, 66, 183 | rgb(90, 66, 183) |
RGB Percent | 35.29, 25.88, 71.76 | rgb(35.29, 25.88, 71.76) |
CMYK | 51, 64, 0, 28 | |
HSL | 252.3°, 46.99, 48.8 | hsl(252.3, 46.99%, 48.8%) |
HSV | 252.3°, 63.9, 71.8 |
XYZ | 14.712, 9.489, 45.856 |
---|---|
Hunter Lab | 30.804, 31.344, -66.698 |
CIE-LAB | 36.909, 40.404, -58.691 |
CIE-LCH | 36.909, 71.254, 304.544 |
CIE-LUV | 50.82, 63.93, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #5a42b7
CMYK percent of color #5a42b7
Text with hexadecimal color #5a42b7
This text has a font color of #5a42b7
<p style="color:#5a42b7">Text here</p>
#5a42b7 Background Color
This box has a background color of #5a42b7
<div style="background-color:#5a42b7">Text here</div>
#5a42b7 Border Color
This box has a border color of #5a42b7
<div style="border: 4px solid #5a42b7">Text here</div>
CSS codes
<p style="color:#5a42b7">Text here</p>
<div style="background-color:#5a42b7">Text here</div>
<div style="border: 4px solid #5a42b7">Text here</div>
#5a42b7 Color on white background
This is how a font and box color of #5a42b7 will look
on a white background.
#5a42b7 Color on black background
This is how a font and box color of #5a42b7 hex color will look
on a black background.