In RGB color space, #502878 hex color has a red value of 80, a green value of 40 and a blue value of 120.
In CMYK color space (used in color printing), #502878 hex color is composed of 33.33% cyan, 66.67% magenta, 0% yellow and 52.94% black.
#502878 color has a hue of 270 degrees, a saturation of 50% and a lightness of 31.4%.
#502878 hex color contains mainly BLUE.
The closest web safe color of #502878 is #663366
#502878 hex color has a decimal value of 5253240.
HEX | 502878 | #502878 |
---|---|---|
RGB | 80, 40, 120 | rgb(80, 40, 120) |
RGB Percent | 31.37, 15.69, 47.06 | rgb(31.37, 15.69, 47.06) |
CMYK | 33, 67, 0, 53 | |
HSL | 270°, 50, 31.4 | hsl(270, 50%, 31.4%) |
HSV | 270°, 66.7, 47.1 |
XYZ | 7.457, 4.579, 18.26 |
---|---|
Hunter Lab | 21.399, 24.756, -35.615 |
CIE-LAB | 25.5, 35.169, -38.74 |
CIE-LCH | 25.5, 52.323, 312.234 |
CIE-LUV | 33.33, 66.67, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #502878
CMYK percent of color #502878
Text with hexadecimal color #502878
This text has a font color of #502878
<p style="color:#502878">Text here</p>
#502878 Background Color
This box has a background color of #502878
<div style="background-color:#502878">Text here</div>
#502878 Border Color
This box has a border color of #502878
<div style="border: 4px solid #502878">Text here</div>
CSS codes
<p style="color:#502878">Text here</p>
<div style="background-color:#502878">Text here</div>
<div style="border: 4px solid #502878">Text here</div>
#502878 Color on white background
This is how a font and box color of #502878 will look
on a white background.
#502878 Color on black background
This is how a font and box color of #502878 hex color will look
on a black background.