In RGB color space, #5b2798 hex color has a red value of 91, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #5b2798 hex color is composed of 40.13% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#5b2798 color has a hue of 267.6 degrees, a saturation of 59.16% and a lightness of 37.5%.
#5b2798 hex color contains mainly BLUE.
The closest web safe color of #5b2798 is #663399
#5b2798 hex color has a decimal value of 5973912.
HEX | 5b2798 | #5b2798 |
---|---|---|
RGB | 91, 39, 152 | rgb(91, 39, 152) |
RGB Percent | 35.69, 15.29, 59.61 | rgb(35.69, 15.29, 59.61) |
CMYK | 40, 74, 0, 40 | |
HSL | 267.6°, 59.16, 37.5 | hsl(267.6, 59.16%, 37.5%) |
HSV | 267.6°, 74.3, 59.6 |
XYZ | 10.707, 5.942, 30.288 |
---|---|
Hunter Lab | 24.376, 35.746, -56.606 |
CIE-LAB | 29.266, 46.369, -52.513 |
CIE-LCH | 29.266, 70.055, 311.445 |
CIE-LUV | 40.13, 74.34, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5b2798
CMYK percent of color #5b2798
Text with hexadecimal color #5b2798
This text has a font color of #5b2798
<p style="color:#5b2798">Text here</p>
#5b2798 Background Color
This box has a background color of #5b2798
<div style="background-color:#5b2798">Text here</div>
#5b2798 Border Color
This box has a border color of #5b2798
<div style="border: 4px solid #5b2798">Text here</div>
CSS codes
<p style="color:#5b2798">Text here</p>
<div style="background-color:#5b2798">Text here</div>
<div style="border: 4px solid #5b2798">Text here</div>
#5b2798 Color on white background
This is how a font and box color of #5b2798 will look
on a white background.
#5b2798 Color on black background
This is how a font and box color of #5b2798 hex color will look
on a black background.