In RGB color space, #512985 hex color has a red value of 81, a green value of 41 and a blue value of 133.
In CMYK color space (used in color printing), #512985 hex color is composed of 39.1% cyan, 69.17% magenta, 0% yellow and 47.84% black.
#512985 color has a hue of 266.1 degrees, a saturation of 52.87% and a lightness of 34.1%.
#512985 hex color contains mainly BLUE.
The closest web safe color of #512985 is #663399
#512985 hex color has a decimal value of 5319045.
HEX | 512985 | #512985 |
---|---|---|
RGB | 81, 41, 133 | rgb(81, 41, 133) |
RGB Percent | 31.76, 16.08, 52.16 | rgb(31.76, 16.08, 52.16) |
CMYK | 39, 69, 0, 48 | |
HSL | 266.1°, 52.87, 34.1 | hsl(266.1, 52.87%, 34.1%) |
HSV | 266.1°, 69.2, 52.2 |
XYZ | 8.42, 5.029, 22.717 |
---|---|
Hunter Lab | 22.425, 27.776, -44.363 |
CIE-LAB | 26.817, 38.335, -44.798 |
CIE-LCH | 26.817, 58.961, 310.555 |
CIE-LUV | 39.1, 69.17, 0, 47.84 |
Web Safe | 663399 |
RGB percent of color #512985
CMYK percent of color #512985
Text with hexadecimal color #512985
This text has a font color of #512985
<p style="color:#512985">Text here</p>
#512985 Background Color
This box has a background color of #512985
<div style="background-color:#512985">Text here</div>
#512985 Border Color
This box has a border color of #512985
<div style="border: 4px solid #512985">Text here</div>
CSS codes
<p style="color:#512985">Text here</p>
<div style="background-color:#512985">Text here</div>
<div style="border: 4px solid #512985">Text here</div>
#512985 Color on white background
This is how a font and box color of #512985 will look
on a white background.
#512985 Color on black background
This is how a font and box color of #512985 hex color will look
on a black background.