In RGB color space, #5021b2 hex color has a red value of 80, a green value of 33 and a blue value of 178.
In CMYK color space (used in color printing), #5021b2 hex color is composed of 55.06% cyan, 81.46% magenta, 0% yellow and 30.2% black.
#5021b2 color has a hue of 259.4 degrees, a saturation of 68.72% and a lightness of 41.4%.
#5021b2 hex color contains mainly BLUE.
The closest web safe color of #5021b2 is #663399
#5021b2 hex color has a decimal value of 5251506.
HEX | 5021b2 | #5021b2 |
---|---|---|
RGB | 80, 33, 178 | rgb(80, 33, 178) |
RGB Percent | 31.37, 12.94, 69.8 | rgb(31.37, 12.94, 69.8) |
CMYK | 55, 81, 0, 30 | |
HSL | 259.4°, 68.72, 41.4 | hsl(259.4, 68.72%, 41.4%) |
HSV | 259.4°, 81.5, 69.8 |
XYZ | 11.888, 6.008, 42.652 |
---|---|
Hunter Lab | 24.511, 43.678, -86.013 |
CIE-LAB | 29.433, 54.22, -68.006 |
CIE-LCH | 29.433, 86.975, 308.565 |
CIE-LUV | 55.06, 81.46, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #5021b2
CMYK percent of color #5021b2
Text with hexadecimal color #5021b2
This text has a font color of #5021b2
<p style="color:#5021b2">Text here</p>
#5021b2 Background Color
This box has a background color of #5021b2
<div style="background-color:#5021b2">Text here</div>
#5021b2 Border Color
This box has a border color of #5021b2
<div style="border: 4px solid #5021b2">Text here</div>
CSS codes
<p style="color:#5021b2">Text here</p>
<div style="background-color:#5021b2">Text here</div>
<div style="border: 4px solid #5021b2">Text here</div>
#5021b2 Color on white background
This is how a font and box color of #5021b2 will look
on a white background.
#5021b2 Color on black background
This is how a font and box color of #5021b2 hex color will look
on a black background.