In RGB color space, #5b2a98 hex color has a red value of 91, a green value of 42 and a blue value of 152.
In CMYK color space (used in color printing), #5b2a98 hex color is composed of 40.13% cyan, 72.37% magenta, 0% yellow and 40.39% black.
#5b2a98 color has a hue of 266.7 degrees, a saturation of 56.7% and a lightness of 38%.
#5b2a98 hex color contains mainly BLUE.
The closest web safe color of #5b2a98 is #663399
#5b2a98 hex color has a decimal value of 5974680.
HEX | 5b2a98 | #5b2a98 |
---|---|---|
RGB | 91, 42, 152 | rgb(91, 42, 152) |
RGB Percent | 35.69, 16.47, 59.61 | rgb(35.69, 16.47, 59.61) |
CMYK | 40, 72, 0, 40 | |
HSL | 266.7°, 56.7, 38 | hsl(266.7, 56.7%, 38%) |
HSV | 266.7°, 72.4, 59.6 |
XYZ | 10.81, 6.147, 30.323 |
---|---|
Hunter Lab | 24.793, 34.439, -55.159 |
CIE-LAB | 29.78, 44.922, -51.676 |
CIE-LCH | 29.78, 68.472, 311 |
CIE-LUV | 40.13, 72.37, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5b2a98
CMYK percent of color #5b2a98
Text with hexadecimal color #5b2a98
This text has a font color of #5b2a98
<p style="color:#5b2a98">Text here</p>
#5b2a98 Background Color
This box has a background color of #5b2a98
<div style="background-color:#5b2a98">Text here</div>
#5b2a98 Border Color
This box has a border color of #5b2a98
<div style="border: 4px solid #5b2a98">Text here</div>
CSS codes
<p style="color:#5b2a98">Text here</p>
<div style="background-color:#5b2a98">Text here</div>
<div style="border: 4px solid #5b2a98">Text here</div>
#5b2a98 Color on white background
This is how a font and box color of #5b2a98 will look
on a white background.
#5b2a98 Color on black background
This is how a font and box color of #5b2a98 hex color will look
on a black background.