In RGB color space, #511172 hex color has a red value of 81, a green value of 17 and a blue value of 114.
In CMYK color space (used in color printing), #511172 hex color is composed of 28.95% cyan, 85.09% magenta, 0% yellow and 55.29% black.
#511172 color has a hue of 279.6 degrees, a saturation of 74.05% and a lightness of 25.7%.
#511172 hex color contains mainly BLUE.
The closest web safe color of #511172 is #660066
#511172 hex color has a decimal value of 5312882.
HEX | 511172 | #511172 |
---|---|---|
RGB | 81, 17, 114 | rgb(81, 17, 114) |
RGB Percent | 31.76, 6.67, 44.71 | rgb(31.76, 6.67, 44.71) |
CMYK | 29, 85, 0, 55 | |
HSL | 279.6°, 74.05, 25.7 | hsl(279.6, 74.05%, 25.7%) |
HSV | 279.6°, 85.1, 44.7 |
XYZ | 6.631, 3.365, 16.22 |
---|---|
Hunter Lab | 18.344, 32.423, -39.584 |
CIE-LAB | 21.45, 44.411, -41.452 |
CIE-LCH | 21.45, 60.75, 316.974 |
CIE-LUV | 28.95, 85.09, 0, 55.29 |
Web Safe | 660066 |
RGB percent of color #511172
CMYK percent of color #511172
Text with hexadecimal color #511172
This text has a font color of #511172
<p style="color:#511172">Text here</p>
#511172 Background Color
This box has a background color of #511172
<div style="background-color:#511172">Text here</div>
#511172 Border Color
This box has a border color of #511172
<div style="border: 4px solid #511172">Text here</div>
CSS codes
<p style="color:#511172">Text here</p>
<div style="background-color:#511172">Text here</div>
<div style="border: 4px solid #511172">Text here</div>
#511172 Color on white background
This is how a font and box color of #511172 will look
on a white background.
#511172 Color on black background
This is how a font and box color of #511172 hex color will look
on a black background.