In RGB color space, #5b2f9d hex color has a red value of 91, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #5b2f9d hex color is composed of 42.04% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#5b2f9d color has a hue of 264 degrees, a saturation of 53.92% and a lightness of 40%.
#5b2f9d hex color contains mainly BLUE.
The closest web safe color of #5b2f9d is #663399
#5b2f9d hex color has a decimal value of 5975965.
HEX | 5b2f9d | #5b2f9d |
---|---|---|
RGB | 91, 47, 157 | rgb(91, 47, 157) |
RGB Percent | 35.69, 18.43, 61.57 | rgb(35.69, 18.43, 61.57) |
CMYK | 42, 70, 0, 38 | |
HSL | 264°, 53.92, 40 | hsl(264, 53.92%, 40%) |
HSV | 264°, 70.1, 61.6 |
XYZ | 11.417, 6.691, 32.588 |
---|---|
Hunter Lab | 25.867, 33.518, -56.588 |
CIE-LAB | 31.093, 43.717, -52.587 |
CIE-LCH | 31.093, 68.385, 309.738 |
CIE-LUV | 42.04, 70.06, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #5b2f9d
CMYK percent of color #5b2f9d
Text with hexadecimal color #5b2f9d
This text has a font color of #5b2f9d
<p style="color:#5b2f9d">Text here</p>
#5b2f9d Background Color
This box has a background color of #5b2f9d
<div style="background-color:#5b2f9d">Text here</div>
#5b2f9d Border Color
This box has a border color of #5b2f9d
<div style="border: 4px solid #5b2f9d">Text here</div>
CSS codes
<p style="color:#5b2f9d">Text here</p>
<div style="background-color:#5b2f9d">Text here</div>
<div style="border: 4px solid #5b2f9d">Text here</div>
#5b2f9d Color on white background
This is how a font and box color of #5b2f9d will look
on a white background.
#5b2f9d Color on black background
This is how a font and box color of #5b2f9d hex color will look
on a black background.