In RGB color space, #5b2898 hex color has a red value of 91, a green value of 40 and a blue value of 152.
In CMYK color space (used in color printing), #5b2898 hex color is composed of 40.13% cyan, 73.68% magenta, 0% yellow and 40.39% black.
#5b2898 color has a hue of 267.3 degrees, a saturation of 58.33% and a lightness of 37.6%.
#5b2898 hex color contains mainly BLUE.
The closest web safe color of #5b2898 is #663399
#5b2898 hex color has a decimal value of 5974168.
HEX | 5b2898 | #5b2898 |
---|---|---|
RGB | 91, 40, 152 | rgb(91, 40, 152) |
RGB Percent | 35.69, 15.69, 59.61 | rgb(35.69, 15.69, 59.61) |
CMYK | 40, 74, 0, 40 | |
HSL | 267.3°, 58.33, 37.6 | hsl(267.3, 58.33%, 37.6%) |
HSV | 267.3°, 73.7, 59.6 |
XYZ | 10.741, 6.009, 30.299 |
---|---|
Hunter Lab | 24.513, 35.315, -56.125 |
CIE-LAB | 29.435, 45.893, -52.236 |
CIE-LCH | 29.435, 69.532, 311.302 |
CIE-LUV | 40.13, 73.68, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5b2898
CMYK percent of color #5b2898
Text with hexadecimal color #5b2898
This text has a font color of #5b2898
<p style="color:#5b2898">Text here</p>
#5b2898 Background Color
This box has a background color of #5b2898
<div style="background-color:#5b2898">Text here</div>
#5b2898 Border Color
This box has a border color of #5b2898
<div style="border: 4px solid #5b2898">Text here</div>
CSS codes
<p style="color:#5b2898">Text here</p>
<div style="background-color:#5b2898">Text here</div>
<div style="border: 4px solid #5b2898">Text here</div>
#5b2898 Color on white background
This is how a font and box color of #5b2898 will look
on a white background.
#5b2898 Color on black background
This is how a font and box color of #5b2898 hex color will look
on a black background.