In RGB color space, #511e8c hex color has a red value of 81, a green value of 30 and a blue value of 140.
In CMYK color space (used in color printing), #511e8c hex color is composed of 42.14% cyan, 78.57% magenta, 0% yellow and 45.1% black.
#511e8c color has a hue of 267.8 degrees, a saturation of 64.71% and a lightness of 33.3%.
#511e8c hex color contains mainly BLUE.
The closest web safe color of #511e8c is #663399
#511e8c hex color has a decimal value of 5316236.
HEX | 511e8c | #511e8c |
---|---|---|
RGB | 81, 30, 140 | rgb(81, 30, 140) |
RGB Percent | 31.76, 11.76, 54.9 | rgb(31.76, 11.76, 54.9) |
CMYK | 42, 79, 0, 45 | |
HSL | 267.8°, 64.71, 33.3 | hsl(267.8, 64.71%, 33.3%) |
HSV | 267.8°, 78.6, 54.9 |
XYZ | 8.591, 4.571, 25.24 |
---|---|
Hunter Lab | 21.38, 34.311, -55.029 |
CIE-LAB | 25.476, 45.616, -51.349 |
CIE-LCH | 25.476, 68.684, 311.616 |
CIE-LUV | 42.14, 78.57, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #511e8c
CMYK percent of color #511e8c
Text with hexadecimal color #511e8c
This text has a font color of #511e8c
<p style="color:#511e8c">Text here</p>
#511e8c Background Color
This box has a background color of #511e8c
<div style="background-color:#511e8c">Text here</div>
#511e8c Border Color
This box has a border color of #511e8c
<div style="border: 4px solid #511e8c">Text here</div>
CSS codes
<p style="color:#511e8c">Text here</p>
<div style="background-color:#511e8c">Text here</div>
<div style="border: 4px solid #511e8c">Text here</div>
#511e8c Color on white background
This is how a font and box color of #511e8c will look
on a white background.
#511e8c Color on black background
This is how a font and box color of #511e8c hex color will look
on a black background.