In RGB color space, #502798 hex color has a red value of 80, a green value of 39 and a blue value of 152.
In CMYK color space (used in color printing), #502798 hex color is composed of 47.37% cyan, 74.34% magenta, 0% yellow and 40.39% black.
#502798 color has a hue of 261.8 degrees, a saturation of 59.16% and a lightness of 37.5%.
#502798 hex color contains mainly BLUE.
The closest web safe color of #502798 is #663399
#502798 hex color has a decimal value of 5253016.
HEX | 502798 | #502798 |
---|---|---|
RGB | 80, 39, 152 | rgb(80, 39, 152) |
RGB Percent | 31.37, 15.29, 59.61 | rgb(31.37, 15.29, 59.61) |
CMYK | 47, 74, 0, 40 | |
HSL | 261.8°, 59.16, 37.5 | hsl(261.8, 59.16%, 37.5%) |
HSV | 261.8°, 74.3, 59.6 |
XYZ | 9.701, 5.424, 30.241 |
---|---|
Hunter Lab | 23.289, 33.596, -60.684 |
CIE-LAB | 27.91, 44.399, -54.782 |
CIE-LCH | 27.91, 70.515, 309.024 |
CIE-LUV | 47.37, 74.34, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #502798
CMYK percent of color #502798
Text with hexadecimal color #502798
This text has a font color of #502798
<p style="color:#502798">Text here</p>
#502798 Background Color
This box has a background color of #502798
<div style="background-color:#502798">Text here</div>
#502798 Border Color
This box has a border color of #502798
<div style="border: 4px solid #502798">Text here</div>
CSS codes
<p style="color:#502798">Text here</p>
<div style="background-color:#502798">Text here</div>
<div style="border: 4px solid #502798">Text here</div>
#502798 Color on white background
This is how a font and box color of #502798 will look
on a white background.
#502798 Color on black background
This is how a font and box color of #502798 hex color will look
on a black background.