In RGB color space, #5b42d5 hex color has a red value of 91, a green value of 66 and a blue value of 213.
In CMYK color space (used in color printing), #5b42d5 hex color is composed of 57.28% cyan, 69.01% magenta, 0% yellow and 16.47% black.
#5b42d5 color has a hue of 250.2 degrees, a saturation of 63.64% and a lightness of 54.7%.
#5b42d5 hex color contains mainly BLUE.
The closest web safe color of #5b42d5 is #6633cc
#5b42d5 hex color has a decimal value of 5980885.
HEX | 5b42d5 | #5b42d5 |
---|---|---|
RGB | 91, 66, 213 | rgb(91, 66, 213) |
RGB Percent | 35.69, 25.88, 83.53 | rgb(35.69, 25.88, 83.53) |
CMYK | 57, 69, 0, 16 | |
HSL | 250.2°, 63.64, 54.7 | hsl(250.2, 63.64%, 54.7%) |
HSV | 250.2°, 69, 83.5 |
XYZ | 18.273, 10.925, 64.096 |
---|---|
Hunter Lab | 33.053, 40.839, -91.837 |
CIE-LAB | 39.454, 49.551, -72.008 |
CIE-LCH | 39.454, 87.41, 304.533 |
CIE-LUV | 57.28, 69.01, 0, 16.47 |
Web Safe | 6633cc |
RGB percent of color #5b42d5
CMYK percent of color #5b42d5
Text with hexadecimal color #5b42d5
This text has a font color of #5b42d5
<p style="color:#5b42d5">Text here</p>
#5b42d5 Background Color
This box has a background color of #5b42d5
<div style="background-color:#5b42d5">Text here</div>
#5b42d5 Border Color
This box has a border color of #5b42d5
<div style="border: 4px solid #5b42d5">Text here</div>
CSS codes
<p style="color:#5b42d5">Text here</p>
<div style="background-color:#5b42d5">Text here</div>
<div style="border: 4px solid #5b42d5">Text here</div>
#5b42d5 Color on white background
This is how a font and box color of #5b42d5 will look
on a white background.
#5b42d5 Color on black background
This is how a font and box color of #5b42d5 hex color will look
on a black background.