In RGB color space, #502fa6 hex color has a red value of 80, a green value of 47 and a blue value of 166.
In CMYK color space (used in color printing), #502fa6 hex color is composed of 51.81% cyan, 71.69% magenta, 0% yellow and 34.9% black.
#502fa6 color has a hue of 256.6 degrees, a saturation of 55.87% and a lightness of 41.8%.
#502fa6 hex color contains mainly BLUE.
The closest web safe color of #502fa6 is #663399
#502fa6 hex color has a decimal value of 5255078.
HEX | 502fa6 | #502fa6 |
---|---|---|
RGB | 80, 47, 166 | rgb(80, 47, 166) |
RGB Percent | 31.37, 18.43, 65.1 | rgb(31.37, 18.43, 65.1) |
CMYK | 52, 72, 0, 35 | |
HSL | 256.6°, 55.87, 41.8 | hsl(256.6, 55.87%, 41.8%) |
HSV | 256.6°, 71.7, 65.1 |
XYZ | 11.208, 6.492, 36.739 |
---|---|
Hunter Lab | 25.479, 33.93, -67.655 |
CIE-LAB | 30.621, 44.235, -58.855 |
CIE-LCH | 30.621, 73.625, 306.928 |
CIE-LUV | 51.81, 71.69, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #502fa6
CMYK percent of color #502fa6
Text with hexadecimal color #502fa6
This text has a font color of #502fa6
<p style="color:#502fa6">Text here</p>
#502fa6 Background Color
This box has a background color of #502fa6
<div style="background-color:#502fa6">Text here</div>
#502fa6 Border Color
This box has a border color of #502fa6
<div style="border: 4px solid #502fa6">Text here</div>
CSS codes
<p style="color:#502fa6">Text here</p>
<div style="background-color:#502fa6">Text here</div>
<div style="border: 4px solid #502fa6">Text here</div>
#502fa6 Color on white background
This is how a font and box color of #502fa6 will look
on a white background.
#502fa6 Color on black background
This is how a font and box color of #502fa6 hex color will look
on a black background.