In RGB color space, #512a99 hex color has a red value of 81, a green value of 42 and a blue value of 153.
In CMYK color space (used in color printing), #512a99 hex color is composed of 47.06% cyan, 72.55% magenta, 0% yellow and 40% black.
#512a99 color has a hue of 261.1 degrees, a saturation of 56.92% and a lightness of 38.2%.
#512a99 hex color contains mainly BLUE.
The closest web safe color of #512a99 is #663399
#512a99 hex color has a decimal value of 5319321.
HEX | 512a99 | #512a99 |
---|---|---|
RGB | 81, 42, 153 | rgb(81, 42, 153) |
RGB Percent | 31.76, 16.47, 60 | rgb(31.76, 16.47, 60) |
CMYK | 47, 73, 0, 40 | |
HSL | 261.1°, 56.92, 38.2 | hsl(261.1, 56.92%, 38.2%) |
HSV | 261.1°, 72.5, 60 |
XYZ | 9.971, 5.705, 30.713 |
---|---|
Hunter Lab | 23.885, 32.717, -59.519 |
CIE-LAB | 28.656, 43.333, -54.172 |
CIE-LCH | 28.656, 69.371, 308.657 |
CIE-LUV | 47.06, 72.55, 0, 40 |
Web Safe | 663399 |
RGB percent of color #512a99
CMYK percent of color #512a99
Text with hexadecimal color #512a99
This text has a font color of #512a99
<p style="color:#512a99">Text here</p>
#512a99 Background Color
This box has a background color of #512a99
<div style="background-color:#512a99">Text here</div>
#512a99 Border Color
This box has a border color of #512a99
<div style="border: 4px solid #512a99">Text here</div>
CSS codes
<p style="color:#512a99">Text here</p>
<div style="background-color:#512a99">Text here</div>
<div style="border: 4px solid #512a99">Text here</div>
#512a99 Color on white background
This is how a font and box color of #512a99 will look
on a white background.
#512a99 Color on black background
This is how a font and box color of #512a99 hex color will look
on a black background.