In RGB color space, #5b2b8b hex color has a red value of 91, a green value of 43 and a blue value of 139.
In CMYK color space (used in color printing), #5b2b8b hex color is composed of 34.53% cyan, 69.06% magenta, 0% yellow and 45.49% black.
#5b2b8b color has a hue of 270 degrees, a saturation of 52.75% and a lightness of 35.7%.
#5b2b8b hex color contains mainly BLUE.
The closest web safe color of #5b2b8b is #663399
#5b2b8b hex color has a decimal value of 5974923.
HEX | 5b2b8b | #5b2b8b |
---|---|---|
RGB | 91, 43, 139 | rgb(91, 43, 139) |
RGB Percent | 35.69, 16.86, 54.51 | rgb(35.69, 16.86, 54.51) |
CMYK | 35, 69, 0, 45 | |
HSL | 270°, 52.75, 35.7 | hsl(270, 52.75%, 35.7%) |
HSV | 270°, 69.1, 54.5 |
XYZ | 9.838, 5.816, 25.03 |
---|---|
Hunter Lab | 24.116, 30.613, -44.655 |
CIE-LAB | 28.943, 41.039, -45.029 |
CIE-LCH | 28.943, 60.925, 312.346 |
CIE-LUV | 34.53, 69.06, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5b2b8b
CMYK percent of color #5b2b8b
Text with hexadecimal color #5b2b8b
This text has a font color of #5b2b8b
<p style="color:#5b2b8b">Text here</p>
#5b2b8b Background Color
This box has a background color of #5b2b8b
<div style="background-color:#5b2b8b">Text here</div>
#5b2b8b Border Color
This box has a border color of #5b2b8b
<div style="border: 4px solid #5b2b8b">Text here</div>
CSS codes
<p style="color:#5b2b8b">Text here</p>
<div style="background-color:#5b2b8b">Text here</div>
<div style="border: 4px solid #5b2b8b">Text here</div>
#5b2b8b Color on white background
This is how a font and box color of #5b2b8b will look
on a white background.
#5b2b8b Color on black background
This is how a font and box color of #5b2b8b hex color will look
on a black background.