In RGB color space, #511797 hex color has a red value of 81, a green value of 23 and a blue value of 151.
In CMYK color space (used in color printing), #511797 hex color is composed of 46.36% cyan, 84.77% magenta, 0% yellow and 40.78% black.
#511797 color has a hue of 267.2 degrees, a saturation of 73.56% and a lightness of 34.1%.
#511797 hex color contains mainly BLUE.
The closest web safe color of #511797 is #660099
#511797 hex color has a decimal value of 5314455.
HEX | 511797 | #511797 |
---|---|---|
RGB | 81, 23, 151 | rgb(81, 23, 151) |
RGB Percent | 31.76, 9.02, 59.22 | rgb(31.76, 9.02, 59.22) |
CMYK | 46, 85, 0, 41 | |
HSL | 267.2°, 73.56, 34.1 | hsl(267.2, 73.56%, 34.1%) |
HSV | 267.2°, 84.8, 59.2 |
XYZ | 9.286, 4.596, 29.676 |
---|---|
Hunter Lab | 21.438, 39.8, -67.066 |
CIE-LAB | 25.551, 51.185, -58.031 |
CIE-LCH | 25.551, 77.379, 311.413 |
CIE-LUV | 46.36, 84.77, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #511797
CMYK percent of color #511797
Text with hexadecimal color #511797
This text has a font color of #511797
<p style="color:#511797">Text here</p>
#511797 Background Color
This box has a background color of #511797
<div style="background-color:#511797">Text here</div>
#511797 Border Color
This box has a border color of #511797
<div style="border: 4px solid #511797">Text here</div>
CSS codes
<p style="color:#511797">Text here</p>
<div style="background-color:#511797">Text here</div>
<div style="border: 4px solid #511797">Text here</div>
#511797 Color on white background
This is how a font and box color of #511797 will look
on a white background.
#511797 Color on black background
This is how a font and box color of #511797 hex color will look
on a black background.