In RGB color space, #5d42c1 hex color has a red value of 93, a green value of 66 and a blue value of 193.
In CMYK color space (used in color printing), #5d42c1 hex color is composed of 51.81% cyan, 65.8% magenta, 0% yellow and 24.31% black.
#5d42c1 color has a hue of 252.8 degrees, a saturation of 50.6% and a lightness of 50.8%.
#5d42c1 hex color contains mainly BLUE.
The closest web safe color of #5d42c1 is #6633cc
#5d42c1 hex color has a decimal value of 6111937.
HEX | 5d42c1 | #5d42c1 |
---|---|---|
RGB | 93, 66, 193 | rgb(93, 66, 193) |
RGB Percent | 36.47, 25.88, 75.69 | rgb(36.47, 25.88, 75.69) |
CMYK | 52, 66, 0, 24 | |
HSL | 252.8°, 50.6, 50.8 | hsl(252.8, 50.6%, 50.8%) |
HSV | 252.8°, 65.8, 75.7 |
XYZ | 16.088, 10.074, 51.549 |
---|---|
Hunter Lab | 31.74, 34.933, -74.077 |
CIE-LAB | 37.975, 43.932, -62.817 |
CIE-LCH | 37.975, 76.655, 304.968 |
CIE-LUV | 51.81, 65.8, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #5d42c1
CMYK percent of color #5d42c1
Text with hexadecimal color #5d42c1
This text has a font color of #5d42c1
<p style="color:#5d42c1">Text here</p>
#5d42c1 Background Color
This box has a background color of #5d42c1
<div style="background-color:#5d42c1">Text here</div>
#5d42c1 Border Color
This box has a border color of #5d42c1
<div style="border: 4px solid #5d42c1">Text here</div>
CSS codes
<p style="color:#5d42c1">Text here</p>
<div style="background-color:#5d42c1">Text here</div>
<div style="border: 4px solid #5d42c1">Text here</div>
#5d42c1 Color on white background
This is how a font and box color of #5d42c1 will look
on a white background.
#5d42c1 Color on black background
This is how a font and box color of #5d42c1 hex color will look
on a black background.