In RGB color space, #502ba5 hex color has a red value of 80, a green value of 43 and a blue value of 165.
In CMYK color space (used in color printing), #502ba5 hex color is composed of 51.52% cyan, 73.94% magenta, 0% yellow and 35.29% black.
#502ba5 color has a hue of 258.2 degrees, a saturation of 58.65% and a lightness of 40.8%.
#502ba5 hex color contains mainly BLUE.
The closest web safe color of #502ba5 is #663399
#502ba5 hex color has a decimal value of 5254053.
HEX | 502ba5 | #502ba5 |
---|---|---|
RGB | 80, 43, 165 | rgb(80, 43, 165) |
RGB Percent | 31.37, 16.86, 64.71 | rgb(31.37, 16.86, 64.71) |
CMYK | 52, 74, 0, 35 | |
HSL | 258.2°, 58.65, 40.8 | hsl(258.2, 58.65%, 40.8%) |
HSV | 258.2°, 73.9, 64.7 |
XYZ | 10.964, 6.15, 36.206 |
---|---|
Hunter Lab | 24.799, 35.518, -69.202 |
CIE-LAB | 29.788, 46.035, -59.615 |
CIE-LCH | 29.788, 75.32, 307.675 |
CIE-LUV | 51.52, 73.94, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #502ba5
CMYK percent of color #502ba5
Text with hexadecimal color #502ba5
This text has a font color of #502ba5
<p style="color:#502ba5">Text here</p>
#502ba5 Background Color
This box has a background color of #502ba5
<div style="background-color:#502ba5">Text here</div>
#502ba5 Border Color
This box has a border color of #502ba5
<div style="border: 4px solid #502ba5">Text here</div>
CSS codes
<p style="color:#502ba5">Text here</p>
<div style="background-color:#502ba5">Text here</div>
<div style="border: 4px solid #502ba5">Text here</div>
#502ba5 Color on white background
This is how a font and box color of #502ba5 will look
on a white background.
#502ba5 Color on black background
This is how a font and box color of #502ba5 hex color will look
on a black background.