In RGB color space, #512a82 hex color has a red value of 81, a green value of 42 and a blue value of 130.
In CMYK color space (used in color printing), #512a82 hex color is composed of 37.69% cyan, 67.69% magenta, 0% yellow and 49.02% black.
#512a82 color has a hue of 266.6 degrees, a saturation of 51.16% and a lightness of 33.7%.
#512a82 hex color contains mainly BLUE.
The closest web safe color of #512a82 is #663399
#512a82 hex color has a decimal value of 5319298.
HEX | 512a82 | #512a82 |
---|---|---|
RGB | 81, 42, 130 | rgb(81, 42, 130) |
RGB Percent | 31.76, 16.47, 50.98 | rgb(31.76, 16.47, 50.98) |
CMYK | 38, 68, 0, 49 | |
HSL | 266.6°, 51.16, 33.7 | hsl(266.6, 51.16%, 33.7%) |
HSV | 266.6°, 67.7, 51 |
XYZ | 8.251, 5.017, 21.653 |
---|---|
Hunter Lab | 22.399, 26.556, -41.637 |
CIE-LAB | 26.783, 36.981, -42.975 |
CIE-LCH | 26.783, 56.696, 310.713 |
CIE-LUV | 37.69, 67.69, 0, 49.02 |
Web Safe | 663399 |
RGB percent of color #512a82
CMYK percent of color #512a82
Text with hexadecimal color #512a82
This text has a font color of #512a82
<p style="color:#512a82">Text here</p>
#512a82 Background Color
This box has a background color of #512a82
<div style="background-color:#512a82">Text here</div>
#512a82 Border Color
This box has a border color of #512a82
<div style="border: 4px solid #512a82">Text here</div>
CSS codes
<p style="color:#512a82">Text here</p>
<div style="background-color:#512a82">Text here</div>
<div style="border: 4px solid #512a82">Text here</div>
#512a82 Color on white background
This is how a font and box color of #512a82 will look
on a white background.
#512a82 Color on black background
This is how a font and box color of #512a82 hex color will look
on a black background.