In RGB color space, #512980 hex color has a red value of 81, a green value of 41 and a blue value of 128.
In CMYK color space (used in color printing), #512980 hex color is composed of 36.72% cyan, 67.97% magenta, 0% yellow and 49.8% black.
#512980 color has a hue of 267.6 degrees, a saturation of 51.48% and a lightness of 33.1%.
#512980 hex color contains mainly BLUE.
The closest web safe color of #512980 is #663399
#512980 hex color has a decimal value of 5319040.
HEX | 512980 | #512980 |
---|---|---|
RGB | 81, 41, 128 | rgb(81, 41, 128) |
RGB Percent | 31.76, 16.08, 50.2 | rgb(31.76, 16.08, 50.2) |
CMYK | 37, 68, 0, 50 | |
HSL | 267.6°, 51.48, 33.1 | hsl(267.6, 51.48%, 33.1%) |
HSV | 267.6°, 68, 50.2 |
XYZ | 8.083, 4.894, 20.941 |
---|---|
Hunter Lab | 22.122, 26.506, -40.638 |
CIE-LAB | 26.431, 36.987, -42.289 |
CIE-LCH | 26.431, 56.182, 311.174 |
CIE-LUV | 36.72, 67.97, 0, 49.8 |
Web Safe | 663399 |
RGB percent of color #512980
CMYK percent of color #512980
Text with hexadecimal color #512980
This text has a font color of #512980
<p style="color:#512980">Text here</p>
#512980 Background Color
This box has a background color of #512980
<div style="background-color:#512980">Text here</div>
#512980 Border Color
This box has a border color of #512980
<div style="border: 4px solid #512980">Text here</div>
CSS codes
<p style="color:#512980">Text here</p>
<div style="background-color:#512980">Text here</div>
<div style="border: 4px solid #512980">Text here</div>
#512980 Color on white background
This is how a font and box color of #512980 will look
on a white background.
#512980 Color on black background
This is how a font and box color of #512980 hex color will look
on a black background.