In RGB color space, #502fa7 hex color has a red value of 80, a green value of 47 and a blue value of 167.
In CMYK color space (used in color printing), #502fa7 hex color is composed of 52.1% cyan, 71.86% magenta, 0% yellow and 34.51% black.
#502fa7 color has a hue of 256.5 degrees, a saturation of 56.07% and a lightness of 42%.
#502fa7 hex color contains mainly BLUE.
The closest web safe color of #502fa7 is #663399
#502fa7 hex color has a decimal value of 5255079.
HEX | 502fa7 | #502fa7 |
---|---|---|
RGB | 80, 47, 167 | rgb(80, 47, 167) |
RGB Percent | 31.37, 18.43, 65.49 | rgb(31.37, 18.43, 65.49) |
CMYK | 52, 72, 0, 35 | |
HSL | 256.5°, 56.07, 42 | hsl(256.5, 56.07%, 42%) |
HSV | 256.5°, 71.9, 65.5 |
XYZ | 11.3, 6.529, 37.224 |
---|---|
Hunter Lab | 25.552, 34.223, -68.487 |
CIE-LAB | 30.71, 44.523, -59.312 |
CIE-LCH | 30.71, 74.163, 306.894 |
CIE-LUV | 52.1, 71.86, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #502fa7
CMYK percent of color #502fa7
Text with hexadecimal color #502fa7
This text has a font color of #502fa7
<p style="color:#502fa7">Text here</p>
#502fa7 Background Color
This box has a background color of #502fa7
<div style="background-color:#502fa7">Text here</div>
#502fa7 Border Color
This box has a border color of #502fa7
<div style="border: 4px solid #502fa7">Text here</div>
CSS codes
<p style="color:#502fa7">Text here</p>
<div style="background-color:#502fa7">Text here</div>
<div style="border: 4px solid #502fa7">Text here</div>
#502fa7 Color on white background
This is how a font and box color of #502fa7 will look
on a white background.
#502fa7 Color on black background
This is how a font and box color of #502fa7 hex color will look
on a black background.