In RGB color space, #5b21b4 hex color has a red value of 91, a green value of 33 and a blue value of 180.
In CMYK color space (used in color printing), #5b21b4 hex color is composed of 49.44% cyan, 81.67% magenta, 0% yellow and 29.41% black.
#5b21b4 color has a hue of 263.7 degrees, a saturation of 69.01% and a lightness of 41.8%.
#5b21b4 hex color contains mainly BLUE.
The closest web safe color of #5b21b4 is #6633cc
#5b21b4 hex color has a decimal value of 5972404.
HEX | 5b21b4 | #5b21b4 |
---|---|---|
RGB | 91, 33, 180 | rgb(91, 33, 180) |
RGB Percent | 35.69, 12.94, 70.59 | rgb(35.69, 12.94, 70.59) |
CMYK | 49, 82, 0, 29 | |
HSL | 263.7°, 69.01, 41.8 | hsl(263.7, 69.01%, 41.8%) |
HSV | 263.7°, 81.7, 70.6 |
XYZ | 13.096, 6.607, 43.765 |
---|---|
Hunter Lab | 25.704, 45.962, -82.957 |
CIE-LAB | 30.895, 56.114, -66.746 |
CIE-LCH | 30.895, 87.2, 310.054 |
CIE-LUV | 49.44, 81.67, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5b21b4
CMYK percent of color #5b21b4
Text with hexadecimal color #5b21b4
This text has a font color of #5b21b4
<p style="color:#5b21b4">Text here</p>
#5b21b4 Background Color
This box has a background color of #5b21b4
<div style="background-color:#5b21b4">Text here</div>
#5b21b4 Border Color
This box has a border color of #5b21b4
<div style="border: 4px solid #5b21b4">Text here</div>
CSS codes
<p style="color:#5b21b4">Text here</p>
<div style="background-color:#5b21b4">Text here</div>
<div style="border: 4px solid #5b21b4">Text here</div>
#5b21b4 Color on white background
This is how a font and box color of #5b21b4 will look
on a white background.
#5b21b4 Color on black background
This is how a font and box color of #5b21b4 hex color will look
on a black background.