In RGB color space, #5b42e1 hex color has a red value of 91, a green value of 66 and a blue value of 225.
In CMYK color space (used in color printing), #5b42e1 hex color is composed of 59.56% cyan, 70.67% magenta, 0% yellow and 11.76% black.
#5b42e1 color has a hue of 249.4 degrees, a saturation of 72.6% and a lightness of 57.1%.
#5b42e1 hex color contains mainly BLUE.
The closest web safe color of #5b42e1 is #6633cc
#5b42e1 hex color has a decimal value of 5980897.
HEX | 5b42e1 | #5b42e1 |
---|---|---|
RGB | 91, 66, 225 | rgb(91, 66, 225) |
RGB Percent | 35.69, 25.88, 88.24 | rgb(35.69, 25.88, 88.24) |
CMYK | 60, 71, 0, 12 | |
HSL | 249.4°, 72.6, 57.1 | hsl(249.4, 72.6%, 57.1%) |
HSV | 249.4°, 70.7, 88.2 |
XYZ | 19.853, 11.557, 72.418 |
---|---|
Hunter Lab | 33.996, 44.749, -102.504 |
CIE-LAB | 40.503, 53.116, -77.16 |
CIE-LCH | 40.503, 93.675, 304.543 |
CIE-LUV | 59.56, 70.67, 0, 11.76 |
Web Safe | 6633cc |
RGB percent of color #5b42e1
CMYK percent of color #5b42e1
Text with hexadecimal color #5b42e1
This text has a font color of #5b42e1
<p style="color:#5b42e1">Text here</p>
#5b42e1 Background Color
This box has a background color of #5b42e1
<div style="background-color:#5b42e1">Text here</div>
#5b42e1 Border Color
This box has a border color of #5b42e1
<div style="border: 4px solid #5b42e1">Text here</div>
CSS codes
<p style="color:#5b42e1">Text here</p>
<div style="background-color:#5b42e1">Text here</div>
<div style="border: 4px solid #5b42e1">Text here</div>
#5b42e1 Color on white background
This is how a font and box color of #5b42e1 will look
on a white background.
#5b42e1 Color on black background
This is how a font and box color of #5b42e1 hex color will look
on a black background.