In RGB color space, #5e42c1 hex color has a red value of 94, a green value of 66 and a blue value of 193.
In CMYK color space (used in color printing), #5e42c1 hex color is composed of 51.3% cyan, 65.8% magenta, 0% yellow and 24.31% black.
#5e42c1 color has a hue of 253.2 degrees, a saturation of 50.6% and a lightness of 50.8%.
#5e42c1 hex color contains mainly BLUE.
The closest web safe color of #5e42c1 is #6633cc
#5e42c1 hex color has a decimal value of 6177473.
HEX | 5e42c1 | #5e42c1 |
---|---|---|
RGB | 94, 66, 193 | rgb(94, 66, 193) |
RGB Percent | 36.86, 25.88, 75.69 | rgb(36.86, 25.88, 75.69) |
CMYK | 51, 66, 0, 24 | |
HSL | 253.2°, 50.6, 50.8 | hsl(253.2, 50.6%, 50.8%) |
HSV | 253.2°, 65.8, 75.7 |
XYZ | 16.19, 10.126, 51.553 |
---|---|
Hunter Lab | 31.821, 35.129, -73.779 |
CIE-LAB | 38.068, 44.116, -62.661 |
CIE-LCH | 38.068, 76.633, 305.147 |
CIE-LUV | 51.3, 65.8, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #5e42c1
CMYK percent of color #5e42c1
Text with hexadecimal color #5e42c1
This text has a font color of #5e42c1
<p style="color:#5e42c1">Text here</p>
#5e42c1 Background Color
This box has a background color of #5e42c1
<div style="background-color:#5e42c1">Text here</div>
#5e42c1 Border Color
This box has a border color of #5e42c1
<div style="border: 4px solid #5e42c1">Text here</div>
CSS codes
<p style="color:#5e42c1">Text here</p>
<div style="background-color:#5e42c1">Text here</div>
<div style="border: 4px solid #5e42c1">Text here</div>
#5e42c1 Color on white background
This is how a font and box color of #5e42c1 will look
on a white background.
#5e42c1 Color on black background
This is how a font and box color of #5e42c1 hex color will look
on a black background.