In RGB color space, #5021a6 hex color has a red value of 80, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #5021a6 hex color is composed of 51.81% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#5021a6 color has a hue of 261.2 degrees, a saturation of 66.83% and a lightness of 39%.
#5021a6 hex color contains mainly BLUE.
The closest web safe color of #5021a6 is #663399
#5021a6 hex color has a decimal value of 5251494.
HEX | 5021a6 | #5021a6 |
---|---|---|
RGB | 80, 33, 166 | rgb(80, 33, 166) |
RGB Percent | 31.37, 12.94, 65.1 | rgb(31.37, 12.94, 65.1) |
CMYK | 52, 80, 0, 35 | |
HSL | 261.2°, 66.83, 39 | hsl(261.2, 66.83%, 39%) |
HSV | 261.2°, 80.1, 65.1 |
XYZ | 10.735, 5.546, 36.581 |
---|---|
Hunter Lab | 23.55, 40.155, -75.612 |
CIE-LAB | 28.237, 51.013, -62.766 |
CIE-LCH | 28.237, 80.882, 309.102 |
CIE-LUV | 51.81, 80.12, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5021a6
CMYK percent of color #5021a6
Text with hexadecimal color #5021a6
This text has a font color of #5021a6
<p style="color:#5021a6">Text here</p>
#5021a6 Background Color
This box has a background color of #5021a6
<div style="background-color:#5021a6">Text here</div>
#5021a6 Border Color
This box has a border color of #5021a6
<div style="border: 4px solid #5021a6">Text here</div>
CSS codes
<p style="color:#5021a6">Text here</p>
<div style="background-color:#5021a6">Text here</div>
<div style="border: 4px solid #5021a6">Text here</div>
#5021a6 Color on white background
This is how a font and box color of #5021a6 will look
on a white background.
#5021a6 Color on black background
This is how a font and box color of #5021a6 hex color will look
on a black background.