In RGB color space, #5b42a2 hex color has a red value of 91, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #5b42a2 hex color is composed of 43.83% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#5b42a2 color has a hue of 255.6 degrees, a saturation of 42.11% and a lightness of 44.7%.
#5b42a2 hex color contains mainly BLUE.
The closest web safe color of #5b42a2 is #663399
#5b42a2 hex color has a decimal value of 5980834.
HEX | 5b42a2 | #5b42a2 |
---|---|---|
RGB | 91, 66, 162 | rgb(91, 66, 162) |
RGB Percent | 35.69, 25.88, 63.53 | rgb(35.69, 25.88, 63.53) |
CMYK | 44, 59, 0, 36 | |
HSL | 255.6°, 42.11, 44.7 | hsl(255.6, 42.11%, 44.7%) |
HSV | 255.6°, 59.3, 63.5 |
XYZ | 12.784, 8.729, 35.194 |
---|---|
Hunter Lab | 29.545, 25.533, -49.945 |
CIE-LAB | 35.457, 34.382, -48.537 |
CIE-LCH | 35.457, 59.481, 305.312 |
CIE-LUV | 43.83, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5b42a2
CMYK percent of color #5b42a2
Text with hexadecimal color #5b42a2
This text has a font color of #5b42a2
<p style="color:#5b42a2">Text here</p>
#5b42a2 Background Color
This box has a background color of #5b42a2
<div style="background-color:#5b42a2">Text here</div>
#5b42a2 Border Color
This box has a border color of #5b42a2
<div style="border: 4px solid #5b42a2">Text here</div>
CSS codes
<p style="color:#5b42a2">Text here</p>
<div style="background-color:#5b42a2">Text here</div>
<div style="border: 4px solid #5b42a2">Text here</div>
#5b42a2 Color on white background
This is how a font and box color of #5b42a2 will look
on a white background.
#5b42a2 Color on black background
This is how a font and box color of #5b42a2 hex color will look
on a black background.