In RGB color space, #502898 hex color has a red value of 80, a green value of 40 and a blue value of 152.
In CMYK color space (used in color printing), #502898 hex color is composed of 47.37% cyan, 73.68% magenta, 0% yellow and 40.39% black.
#502898 color has a hue of 261.4 degrees, a saturation of 58.33% and a lightness of 37.6%.
#502898 hex color contains mainly BLUE.
The closest web safe color of #502898 is #663399
#502898 hex color has a decimal value of 5253272.
HEX | 502898 | #502898 |
---|---|---|
RGB | 80, 40, 152 | rgb(80, 40, 152) |
RGB Percent | 31.37, 15.69, 59.61 | rgb(31.37, 15.69, 59.61) |
CMYK | 47, 74, 0, 40 | |
HSL | 261.4°, 58.33, 37.6 | hsl(261.4, 58.33%, 37.6%) |
HSV | 261.4°, 73.7, 59.6 |
XYZ | 9.735, 5.49, 30.252 |
---|---|
Hunter Lab | 23.431, 33.159, -60.149 |
CIE-LAB | 28.087, 43.907, -54.492 |
CIE-LCH | 28.087, 69.98, 308.86 |
CIE-LUV | 47.37, 73.68, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #502898
CMYK percent of color #502898
Text with hexadecimal color #502898
This text has a font color of #502898
<p style="color:#502898">Text here</p>
#502898 Background Color
This box has a background color of #502898
<div style="background-color:#502898">Text here</div>
#502898 Border Color
This box has a border color of #502898
<div style="border: 4px solid #502898">Text here</div>
CSS codes
<p style="color:#502898">Text here</p>
<div style="background-color:#502898">Text here</div>
<div style="border: 4px solid #502898">Text here</div>
#502898 Color on white background
This is how a font and box color of #502898 will look
on a white background.
#502898 Color on black background
This is how a font and box color of #502898 hex color will look
on a black background.