In RGB color space, #511ea8 hex color has a red value of 81, a green value of 30 and a blue value of 168.
In CMYK color space (used in color printing), #511ea8 hex color is composed of 51.79% cyan, 82.14% magenta, 0% yellow and 34.12% black.
#511ea8 color has a hue of 262.2 degrees, a saturation of 69.7% and a lightness of 38.8%.
#511ea8 hex color contains mainly BLUE.
The closest web safe color of #511ea8 is #663399
#511ea8 hex color has a decimal value of 5316264.
HEX | 511ea8 | #511ea8 |
---|---|---|
RGB | 81, 30, 168 | rgb(81, 30, 168) |
RGB Percent | 31.76, 11.76, 65.88 | rgb(31.76, 11.76, 65.88) |
CMYK | 52, 82, 0, 34 | |
HSL | 262.2°, 69.7, 38.8 | hsl(262.2, 69.7%, 38.8%) |
HSV | 262.2°, 82.1, 65.9 |
XYZ | 10.925, 5.505, 37.533 |
---|---|
Hunter Lab | 23.463, 42.056, -78.421 |
CIE-LAB | 28.128, 52.902, -64.15 |
CIE-LCH | 28.128, 83.15, 309.511 |
CIE-LUV | 51.79, 82.14, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #511ea8
CMYK percent of color #511ea8
Text with hexadecimal color #511ea8
This text has a font color of #511ea8
<p style="color:#511ea8">Text here</p>
#511ea8 Background Color
This box has a background color of #511ea8
<div style="background-color:#511ea8">Text here</div>
#511ea8 Border Color
This box has a border color of #511ea8
<div style="border: 4px solid #511ea8">Text here</div>
CSS codes
<p style="color:#511ea8">Text here</p>
<div style="background-color:#511ea8">Text here</div>
<div style="border: 4px solid #511ea8">Text here</div>
#511ea8 Color on white background
This is how a font and box color of #511ea8 will look
on a white background.
#511ea8 Color on black background
This is how a font and box color of #511ea8 hex color will look
on a black background.