In RGB color space, #511989 hex color has a red value of 81, a green value of 25 and a blue value of 137.
In CMYK color space (used in color printing), #511989 hex color is composed of 40.88% cyan, 81.75% magenta, 0% yellow and 46.27% black.
#511989 color has a hue of 270 degrees, a saturation of 69.14% and a lightness of 31.8%.
#511989 hex color contains mainly BLUE.
The closest web safe color of #511989 is #660099
#511989 hex color has a decimal value of 5314953.
HEX | 511989 | #511989 |
---|---|---|
RGB | 81, 25, 137 | rgb(81, 25, 137) |
RGB Percent | 31.76, 9.8, 53.73 | rgb(31.76, 9.8, 53.73) |
CMYK | 41, 82, 0, 46 | |
HSL | 270°, 69.14, 31.8 | hsl(270, 69.14%, 31.8%) |
HSV | 270°, 81.8, 53.7 |
XYZ | 8.256, 4.251, 24.052 |
---|---|
Hunter Lab | 20.618, 35.395, -54.733 |
CIE-LAB | 24.484, 46.933, -51.099 |
CIE-LCH | 24.484, 69.382, 312.567 |
CIE-LUV | 40.88, 81.75, 0, 46.27 |
Web Safe | 660099 |
RGB percent of color #511989
CMYK percent of color #511989
Text with hexadecimal color #511989
This text has a font color of #511989
<p style="color:#511989">Text here</p>
#511989 Background Color
This box has a background color of #511989
<div style="background-color:#511989">Text here</div>
#511989 Border Color
This box has a border color of #511989
<div style="border: 4px solid #511989">Text here</div>
CSS codes
<p style="color:#511989">Text here</p>
<div style="background-color:#511989">Text here</div>
<div style="border: 4px solid #511989">Text here</div>
#511989 Color on white background
This is how a font and box color of #511989 will look
on a white background.
#511989 Color on black background
This is how a font and box color of #511989 hex color will look
on a black background.