In RGB color space, #512784 hex color has a red value of 81, a green value of 39 and a blue value of 132.
In CMYK color space (used in color printing), #512784 hex color is composed of 38.64% cyan, 70.45% magenta, 0% yellow and 48.24% black.
#512784 color has a hue of 267.1 degrees, a saturation of 54.39% and a lightness of 33.5%.
#512784 hex color contains mainly BLUE.
The closest web safe color of #512784 is #663399
#512784 hex color has a decimal value of 5318532.
HEX | 512784 | #512784 |
---|---|---|
RGB | 81, 39, 132 | rgb(81, 39, 132) |
RGB Percent | 31.76, 15.29, 51.76 | rgb(31.76, 15.29, 51.76) |
CMYK | 39, 70, 0, 48 | |
HSL | 267.1°, 54.39, 33.5 | hsl(267.1, 54.39%, 33.5%) |
HSV | 267.1°, 70.5, 51.8 |
XYZ | 8.284, 4.866, 22.332 |
---|---|
Hunter Lab | 22.059, 28.43, -44.582 |
CIE-LAB | 26.35, 39.144, -44.93 |
CIE-LCH | 26.35, 59.59, 311.063 |
CIE-LUV | 38.64, 70.45, 0, 48.24 |
Web Safe | 663399 |
RGB percent of color #512784
CMYK percent of color #512784
Text with hexadecimal color #512784
This text has a font color of #512784
<p style="color:#512784">Text here</p>
#512784 Background Color
This box has a background color of #512784
<div style="background-color:#512784">Text here</div>
#512784 Border Color
This box has a border color of #512784
<div style="border: 4px solid #512784">Text here</div>
CSS codes
<p style="color:#512784">Text here</p>
<div style="background-color:#512784">Text here</div>
<div style="border: 4px solid #512784">Text here</div>
#512784 Color on white background
This is how a font and box color of #512784 will look
on a white background.
#512784 Color on black background
This is how a font and box color of #512784 hex color will look
on a black background.