In RGB color space, #5b2d98 hex color has a red value of 91, a green value of 45 and a blue value of 152.
In CMYK color space (used in color printing), #5b2d98 hex color is composed of 40.13% cyan, 70.39% magenta, 0% yellow and 40.39% black.
#5b2d98 color has a hue of 265.8 degrees, a saturation of 54.31% and a lightness of 38.6%.
#5b2d98 hex color contains mainly BLUE.
The closest web safe color of #5b2d98 is #663399
#5b2d98 hex color has a decimal value of 5975448.
HEX | 5b2d98 | #5b2d98 |
---|---|---|
RGB | 91, 45, 152 | rgb(91, 45, 152) |
RGB Percent | 35.69, 17.65, 59.61 | rgb(35.69, 17.65, 59.61) |
CMYK | 40, 70, 0, 40 | |
HSL | 265.8°, 54.31, 38.6 | hsl(265.8, 54.31%, 38.6%) |
HSV | 265.8°, 70.4, 59.6 |
XYZ | 10.92, 6.368, 30.359 |
---|---|
Hunter Lab | 25.235, 33.082, -53.665 |
CIE-LAB | 30.323, 43.404, -50.792 |
CIE-LCH | 30.323, 66.811, 310.515 |
CIE-LUV | 40.13, 70.39, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5b2d98
CMYK percent of color #5b2d98
Text with hexadecimal color #5b2d98
This text has a font color of #5b2d98
<p style="color:#5b2d98">Text here</p>
#5b2d98 Background Color
This box has a background color of #5b2d98
<div style="background-color:#5b2d98">Text here</div>
#5b2d98 Border Color
This box has a border color of #5b2d98
<div style="border: 4px solid #5b2d98">Text here</div>
CSS codes
<p style="color:#5b2d98">Text here</p>
<div style="background-color:#5b2d98">Text here</div>
<div style="border: 4px solid #5b2d98">Text here</div>
#5b2d98 Color on white background
This is how a font and box color of #5b2d98 will look
on a white background.
#5b2d98 Color on black background
This is how a font and box color of #5b2d98 hex color will look
on a black background.