In RGB color space, #5f42c3 hex color has a red value of 95, a green value of 66 and a blue value of 195.
In CMYK color space (used in color printing), #5f42c3 hex color is composed of 51.28% cyan, 66.15% magenta, 0% yellow and 23.53% black.
#5f42c3 color has a hue of 253.5 degrees, a saturation of 51.81% and a lightness of 51.2%.
#5f42c3 hex color contains mainly BLUE.
The closest web safe color of #5f42c3 is #6633cc
#5f42c3 hex color has a decimal value of 6243011.
HEX | 5f42c3 | #5f42c3 |
---|---|---|
RGB | 95, 66, 195 | rgb(95, 66, 195) |
RGB Percent | 37.25, 25.88, 76.47 | rgb(37.25, 25.88, 76.47) |
CMYK | 51, 66, 0, 24 | |
HSL | 253.5°, 51.81, 51.2 | hsl(253.5, 51.81%, 51.2%) |
HSV | 253.5°, 66.2, 76.5 |
XYZ | 16.518, 10.269, 52.741 |
---|---|
Hunter Lab | 32.045, 35.93, -75.149 |
CIE-LAB | 38.321, 44.883, -63.413 |
CIE-LCH | 38.321, 77.69, 305.29 |
CIE-LUV | 51.28, 66.15, 0, 23.53 |
Web Safe | 6633cc |
RGB percent of color #5f42c3
CMYK percent of color #5f42c3
Text with hexadecimal color #5f42c3
This text has a font color of #5f42c3
<p style="color:#5f42c3">Text here</p>
#5f42c3 Background Color
This box has a background color of #5f42c3
<div style="background-color:#5f42c3">Text here</div>
#5f42c3 Border Color
This box has a border color of #5f42c3
<div style="border: 4px solid #5f42c3">Text here</div>
CSS codes
<p style="color:#5f42c3">Text here</p>
<div style="background-color:#5f42c3">Text here</div>
<div style="border: 4px solid #5f42c3">Text here</div>
#5f42c3 Color on white background
This is how a font and box color of #5f42c3 will look
on a white background.
#5f42c3 Color on black background
This is how a font and box color of #5f42c3 hex color will look
on a black background.