In RGB color space, #502866 hex color has a red value of 80, a green value of 40 and a blue value of 102.
In CMYK color space (used in color printing), #502866 hex color is composed of 21.57% cyan, 60.78% magenta, 0% yellow and 60% black.
#502866 color has a hue of 278.7 degrees, a saturation of 43.66% and a lightness of 27.8%.
#502866 hex color contains mainly BLUE.
The closest web safe color of #502866 is #663366
#502866 hex color has a decimal value of 5253222.
HEX | 502866 | #502866 |
---|---|---|
RGB | 80, 40, 102 | rgb(80, 40, 102) |
RGB Percent | 31.37, 15.69, 40 | rgb(31.37, 15.69, 40) |
CMYK | 22, 61, 0, 60 | |
HSL | 278.7°, 43.66, 27.8 | hsl(278.7, 43.66%, 27.8%) |
HSV | 278.7°, 60.8, 40 |
XYZ | 6.465, 4.182, 13.037 |
---|---|
Hunter Lab | 20.45, 20.643, -23.483 |
CIE-LAB | 24.264, 30.549, -29.154 |
CIE-LCH | 24.264, 42.228, 316.339 |
CIE-LUV | 21.57, 60.78, 0, 60 |
Web Safe | 663366 |
RGB percent of color #502866
CMYK percent of color #502866
Text with hexadecimal color #502866
This text has a font color of #502866
<p style="color:#502866">Text here</p>
#502866 Background Color
This box has a background color of #502866
<div style="background-color:#502866">Text here</div>
#502866 Border Color
This box has a border color of #502866
<div style="border: 4px solid #502866">Text here</div>
CSS codes
<p style="color:#502866">Text here</p>
<div style="background-color:#502866">Text here</div>
<div style="border: 4px solid #502866">Text here</div>
#502866 Color on white background
This is how a font and box color of #502866 will look
on a white background.
#502866 Color on black background
This is how a font and box color of #502866 hex color will look
on a black background.