In RGB color space, #5b2c8a hex color has a red value of 91, a green value of 44 and a blue value of 138.
In CMYK color space (used in color printing), #5b2c8a hex color is composed of 34.06% cyan, 68.12% magenta, 0% yellow and 45.88% black.
#5b2c8a color has a hue of 270 degrees, a saturation of 51.65% and a lightness of 35.7%.
#5b2c8a hex color contains mainly BLUE.
The closest web safe color of #5b2c8a is #663399
#5b2c8a hex color has a decimal value of 5975178.
HEX | 5b2c8a | #5b2c8a |
---|---|---|
RGB | 91, 44, 138 | rgb(91, 44, 138) |
RGB Percent | 35.69, 17.25, 54.12 | rgb(35.69, 17.25, 54.12) |
CMYK | 34, 68, 0, 46 | |
HSL | 270°, 51.65, 35.7 | hsl(270, 51.65%, 35.7%) |
HSV | 270°, 68.1, 54.1 |
XYZ | 9.803, 5.86, 24.659 |
---|---|
Hunter Lab | 24.207, 29.922, -43.451 |
CIE-LAB | 29.056, 40.273, -44.225 |
CIE-LCH | 29.056, 59.814, 312.322 |
CIE-LUV | 34.06, 68.12, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5b2c8a
CMYK percent of color #5b2c8a
Text with hexadecimal color #5b2c8a
This text has a font color of #5b2c8a
<p style="color:#5b2c8a">Text here</p>
#5b2c8a Background Color
This box has a background color of #5b2c8a
<div style="background-color:#5b2c8a">Text here</div>
#5b2c8a Border Color
This box has a border color of #5b2c8a
<div style="border: 4px solid #5b2c8a">Text here</div>
CSS codes
<p style="color:#5b2c8a">Text here</p>
<div style="background-color:#5b2c8a">Text here</div>
<div style="border: 4px solid #5b2c8a">Text here</div>
#5b2c8a Color on white background
This is how a font and box color of #5b2c8a will look
on a white background.
#5b2c8a Color on black background
This is how a font and box color of #5b2c8a hex color will look
on a black background.