In RGB color space, #5022a1 hex color has a red value of 80, a green value of 34 and a blue value of 161.
In CMYK color space (used in color printing), #5022a1 hex color is composed of 50.31% cyan, 78.88% magenta, 0% yellow and 36.86% black.
#5022a1 color has a hue of 261.7 degrees, a saturation of 65.13% and a lightness of 38.2%.
#5022a1 hex color contains mainly BLUE.
The closest web safe color of #5022a1 is #663399
#5022a1 hex color has a decimal value of 5251745.
HEX | 5022a1 | #5022a1 |
---|---|---|
RGB | 80, 34, 161 | rgb(80, 34, 161) |
RGB Percent | 31.37, 13.33, 63.14 | rgb(31.37, 13.33, 63.14) |
CMYK | 50, 79, 0, 37 | |
HSL | 261.7°, 65.13, 38.2 | hsl(261.7, 65.13%, 38.2%) |
HSV | 261.7°, 78.9, 63.1 |
XYZ | 10.313, 5.423, 34.221 |
---|---|
Hunter Lab | 23.287, 38.297, -70.826 |
CIE-LAB | 27.907, 49.224, -60.277 |
CIE-LCH | 27.907, 77.822, 309.236 |
CIE-LUV | 50.31, 78.88, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5022a1
CMYK percent of color #5022a1
Text with hexadecimal color #5022a1
This text has a font color of #5022a1
<p style="color:#5022a1">Text here</p>
#5022a1 Background Color
This box has a background color of #5022a1
<div style="background-color:#5022a1">Text here</div>
#5022a1 Border Color
This box has a border color of #5022a1
<div style="border: 4px solid #5022a1">Text here</div>
CSS codes
<p style="color:#5022a1">Text here</p>
<div style="background-color:#5022a1">Text here</div>
<div style="border: 4px solid #5022a1">Text here</div>
#5022a1 Color on white background
This is how a font and box color of #5022a1 will look
on a white background.
#5022a1 Color on black background
This is how a font and box color of #5022a1 hex color will look
on a black background.