In RGB color space, #5b42b7 hex color has a red value of 91, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #5b42b7 hex color is composed of 50.27% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#5b42b7 color has a hue of 252.8 degrees, a saturation of 46.99% and a lightness of 48.8%.
#5b42b7 hex color contains mainly BLUE.
The closest web safe color of #5b42b7 is #6633cc
#5b42b7 hex color has a decimal value of 5980855.
HEX | 5b42b7 | #5b42b7 |
---|---|---|
RGB | 91, 66, 183 | rgb(91, 66, 183) |
RGB Percent | 35.69, 25.88, 71.76 | rgb(35.69, 25.88, 71.76) |
CMYK | 50, 64, 0, 28 | |
HSL | 252.8°, 46.99, 48.8 | hsl(252.8, 46.99%, 48.8%) |
HSV | 252.8°, 63.9, 71.8 |
XYZ | 14.81, 9.539, 45.86 |
---|---|
Hunter Lab | 30.885, 31.544, -66.417 |
CIE-LAB | 37.002, 40.599, -58.536 |
CIE-LCH | 37.002, 71.237, 304.744 |
CIE-LUV | 50.27, 63.93, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #5b42b7
CMYK percent of color #5b42b7
Text with hexadecimal color #5b42b7
This text has a font color of #5b42b7
<p style="color:#5b42b7">Text here</p>
#5b42b7 Background Color
This box has a background color of #5b42b7
<div style="background-color:#5b42b7">Text here</div>
#5b42b7 Border Color
This box has a border color of #5b42b7
<div style="border: 4px solid #5b42b7">Text here</div>
CSS codes
<p style="color:#5b42b7">Text here</p>
<div style="background-color:#5b42b7">Text here</div>
<div style="border: 4px solid #5b42b7">Text here</div>
#5b42b7 Color on white background
This is how a font and box color of #5b42b7 will look
on a white background.
#5b42b7 Color on black background
This is how a font and box color of #5b42b7 hex color will look
on a black background.