In RGB color space, #5c42b7 hex color has a red value of 92, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #5c42b7 hex color is composed of 49.73% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#5c42b7 color has a hue of 253.3 degrees, a saturation of 46.99% and a lightness of 48.8%.
#5c42b7 hex color contains mainly BLUE.
The closest web safe color of #5c42b7 is #6633cc
#5c42b7 hex color has a decimal value of 6046391.
HEX | 5c42b7 | #5c42b7 |
---|---|---|
RGB | 92, 66, 183 | rgb(92, 66, 183) |
RGB Percent | 36.08, 25.88, 71.76 | rgb(36.08, 25.88, 71.76) |
CMYK | 50, 64, 0, 28 | |
HSL | 253.3°, 46.99, 48.8 | hsl(253.3, 46.99%, 48.8%) |
HSV | 253.3°, 63.9, 71.8 |
XYZ | 14.909, 9.591, 45.865 |
---|---|
Hunter Lab | 30.969, 31.736, -66.129 |
CIE-LAB | 37.098, 40.783, -58.375 |
CIE-LCH | 37.098, 71.21, 304.94 |
CIE-LUV | 49.73, 63.93, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #5c42b7
CMYK percent of color #5c42b7
Text with hexadecimal color #5c42b7
This text has a font color of #5c42b7
<p style="color:#5c42b7">Text here</p>
#5c42b7 Background Color
This box has a background color of #5c42b7
<div style="background-color:#5c42b7">Text here</div>
#5c42b7 Border Color
This box has a border color of #5c42b7
<div style="border: 4px solid #5c42b7">Text here</div>
CSS codes
<p style="color:#5c42b7">Text here</p>
<div style="background-color:#5c42b7">Text here</div>
<div style="border: 4px solid #5c42b7">Text here</div>
#5c42b7 Color on white background
This is how a font and box color of #5c42b7 will look
on a white background.
#5c42b7 Color on black background
This is how a font and box color of #5c42b7 hex color will look
on a black background.