In RGB color space, #5b2fa6 hex color has a red value of 91, a green value of 47 and a blue value of 166.
In CMYK color space (used in color printing), #5b2fa6 hex color is composed of 45.18% cyan, 71.69% magenta, 0% yellow and 34.9% black.
#5b2fa6 color has a hue of 262.2 degrees, a saturation of 55.87% and a lightness of 41.8%.
#5b2fa6 hex color contains mainly BLUE.
The closest web safe color of #5b2fa6 is #663399
#5b2fa6 hex color has a decimal value of 5975974.
HEX | 5b2fa6 | #5b2fa6 |
---|---|---|
RGB | 91, 47, 166 | rgb(91, 47, 166) |
RGB Percent | 35.69, 18.43, 65.1 | rgb(35.69, 18.43, 65.1) |
CMYK | 45, 72, 0, 35 | |
HSL | 262.2°, 55.87, 41.8 | hsl(262.2, 55.87%, 41.8%) |
HSV | 262.2°, 71.7, 65.1 |
XYZ | 12.214, 7.01, 36.786 |
---|---|
Hunter Lab | 26.476, 36.011, -63.843 |
CIE-LAB | 31.83, 46.153, -56.831 |
CIE-LCH | 31.83, 73.211, 309.08 |
CIE-LUV | 45.18, 71.69, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5b2fa6
CMYK percent of color #5b2fa6
Text with hexadecimal color #5b2fa6
This text has a font color of #5b2fa6
<p style="color:#5b2fa6">Text here</p>
#5b2fa6 Background Color
This box has a background color of #5b2fa6
<div style="background-color:#5b2fa6">Text here</div>
#5b2fa6 Border Color
This box has a border color of #5b2fa6
<div style="border: 4px solid #5b2fa6">Text here</div>
CSS codes
<p style="color:#5b2fa6">Text here</p>
<div style="background-color:#5b2fa6">Text here</div>
<div style="border: 4px solid #5b2fa6">Text here</div>
#5b2fa6 Color on white background
This is how a font and box color of #5b2fa6 will look
on a white background.
#5b2fa6 Color on black background
This is how a font and box color of #5b2fa6 hex color will look
on a black background.