In RGB color space, #511f98 hex color has a red value of 81, a green value of 31 and a blue value of 152.
In CMYK color space (used in color printing), #511f98 hex color is composed of 46.71% cyan, 79.61% magenta, 0% yellow and 40.39% black.
#511f98 color has a hue of 264.8 degrees, a saturation of 66.12% and a lightness of 35.9%.
#511f98 hex color contains mainly BLUE.
The closest web safe color of #511f98 is #663399
#511f98 hex color has a decimal value of 5316504.
HEX | 511f98 | #511f98 |
---|---|---|
RGB | 81, 31, 152 | rgb(81, 31, 152) |
RGB Percent | 31.76, 12.16, 59.61 | rgb(31.76, 12.16, 59.61) |
CMYK | 47, 80, 0, 40 | |
HSL | 264.8°, 66.12, 35.9 | hsl(264.8, 66.12%, 35.9%) |
HSV | 264.8°, 79.6, 59.6 |
XYZ | 9.551, 4.996, 30.167 |
---|---|
Hunter Lab | 22.352, 37.158, -64.374 |
CIE-LAB | 26.723, 48.303, -56.722 |
CIE-LCH | 26.723, 74.502, 310.417 |
CIE-LUV | 46.71, 79.61, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #511f98
CMYK percent of color #511f98
Text with hexadecimal color #511f98
This text has a font color of #511f98
<p style="color:#511f98">Text here</p>
#511f98 Background Color
This box has a background color of #511f98
<div style="background-color:#511f98">Text here</div>
#511f98 Border Color
This box has a border color of #511f98
<div style="border: 4px solid #511f98">Text here</div>
CSS codes
<p style="color:#511f98">Text here</p>
<div style="background-color:#511f98">Text here</div>
<div style="border: 4px solid #511f98">Text here</div>
#511f98 Color on white background
This is how a font and box color of #511f98 will look
on a white background.
#511f98 Color on black background
This is how a font and box color of #511f98 hex color will look
on a black background.