In RGB color space, #502171 hex color has a red value of 80, a green value of 33 and a blue value of 113.
In CMYK color space (used in color printing), #502171 hex color is composed of 29.2% cyan, 70.8% magenta, 0% yellow and 55.69% black.
#502171 color has a hue of 275.3 degrees, a saturation of 54.79% and a lightness of 28.6%.
#502171 hex color contains mainly BLUE.
The closest web safe color of #502171 is #663366
#502171 hex color has a decimal value of 5251441.
HEX | 502171 | #502171 |
---|---|---|
RGB | 80, 33, 113 | rgb(80, 33, 113) |
RGB Percent | 31.37, 12.94, 44.31 | rgb(31.37, 12.94, 44.31) |
CMYK | 29, 71, 0, 56 | |
HSL | 275.3°, 54.79, 28.6 | hsl(275.3, 54.79%, 28.6%) |
HSV | 275.3°, 70.8, 44.3 |
XYZ | 6.833, 3.985, 16.032 |
---|---|
Hunter Lab | 19.962, 26.165, -33.643 |
CIE-LAB | 23.622, 37.12, -37.297 |
CIE-LCH | 23.622, 52.621, 314.864 |
CIE-LUV | 29.2, 70.8, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #502171
CMYK percent of color #502171
Text with hexadecimal color #502171
This text has a font color of #502171
<p style="color:#502171">Text here</p>
#502171 Background Color
This box has a background color of #502171
<div style="background-color:#502171">Text here</div>
#502171 Border Color
This box has a border color of #502171
<div style="border: 4px solid #502171">Text here</div>
CSS codes
<p style="color:#502171">Text here</p>
<div style="background-color:#502171">Text here</div>
<div style="border: 4px solid #502171">Text here</div>
#502171 Color on white background
This is how a font and box color of #502171 will look
on a white background.
#502171 Color on black background
This is how a font and box color of #502171 hex color will look
on a black background.