In RGB color space, #502ba3 hex color has a red value of 80, a green value of 43 and a blue value of 163.
In CMYK color space (used in color printing), #502ba3 hex color is composed of 50.92% cyan, 73.62% magenta, 0% yellow and 36.08% black.
#502ba3 color has a hue of 258.5 degrees, a saturation of 58.25% and a lightness of 40.4%.
#502ba3 hex color contains mainly BLUE.
The closest web safe color of #502ba3 is #663399
#502ba3 hex color has a decimal value of 5254051.
HEX | 502ba3 | #502ba3 |
---|---|---|
RGB | 80, 43, 163 | rgb(80, 43, 163) |
RGB Percent | 31.37, 16.86, 63.92 | rgb(31.37, 16.86, 63.92) |
CMYK | 51, 74, 0, 36 | |
HSL | 258.5°, 58.25, 40.4 | hsl(258.5, 58.25%, 40.4%) |
HSV | 258.5°, 73.6, 63.9 |
XYZ | 10.783, 6.078, 35.255 |
---|---|
Hunter Lab | 24.654, 34.929, -67.528 |
CIE-LAB | 29.608, 45.461, -58.701 |
CIE-LCH | 29.608, 74.246, 307.756 |
CIE-LUV | 50.92, 73.62, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #502ba3
CMYK percent of color #502ba3
Text with hexadecimal color #502ba3
This text has a font color of #502ba3
<p style="color:#502ba3">Text here</p>
#502ba3 Background Color
This box has a background color of #502ba3
<div style="background-color:#502ba3">Text here</div>
#502ba3 Border Color
This box has a border color of #502ba3
<div style="border: 4px solid #502ba3">Text here</div>
CSS codes
<p style="color:#502ba3">Text here</p>
<div style="background-color:#502ba3">Text here</div>
<div style="border: 4px solid #502ba3">Text here</div>
#502ba3 Color on white background
This is how a font and box color of #502ba3 will look
on a white background.
#502ba3 Color on black background
This is how a font and box color of #502ba3 hex color will look
on a black background.