In RGB color space, #5b42ba hex color has a red value of 91, a green value of 66 and a blue value of 186.
In CMYK color space (used in color printing), #5b42ba hex color is composed of 51.08% cyan, 64.52% magenta, 0% yellow and 27.06% black.
#5b42ba color has a hue of 252.5 degrees, a saturation of 47.62% and a lightness of 49.4%.
#5b42ba hex color contains mainly BLUE.
The closest web safe color of #5b42ba is #6633cc
#5b42ba hex color has a decimal value of 5980858.
HEX | 5b42ba | #5b42ba |
---|---|---|
RGB | 91, 66, 186 | rgb(91, 66, 186) |
RGB Percent | 35.69, 25.88, 72.94 | rgb(35.69, 25.88, 72.94) |
CMYK | 51, 65, 0, 27 | |
HSL | 252.5°, 47.62, 49.4 | hsl(252.5, 47.62%, 49.4%) |
HSV | 252.5°, 64.5, 72.9 |
XYZ | 15.126, 9.666, 47.523 |
---|---|
Hunter Lab | 31.09, 32.436, -68.865 |
CIE-LAB | 37.236, 41.49, -59.922 |
CIE-LCH | 37.236, 72.884, 304.699 |
CIE-LUV | 51.08, 64.52, 0, 27.06 |
Web Safe | 6633cc |
RGB percent of color #5b42ba
CMYK percent of color #5b42ba
Text with hexadecimal color #5b42ba
This text has a font color of #5b42ba
<p style="color:#5b42ba">Text here</p>
#5b42ba Background Color
This box has a background color of #5b42ba
<div style="background-color:#5b42ba">Text here</div>
#5b42ba Border Color
This box has a border color of #5b42ba
<div style="border: 4px solid #5b42ba">Text here</div>
CSS codes
<p style="color:#5b42ba">Text here</p>
<div style="background-color:#5b42ba">Text here</div>
<div style="border: 4px solid #5b42ba">Text here</div>
#5b42ba Color on white background
This is how a font and box color of #5b42ba will look
on a white background.
#5b42ba Color on black background
This is how a font and box color of #5b42ba hex color will look
on a black background.