In RGB color space, #512a9e hex color has a red value of 81, a green value of 42 and a blue value of 158.
In CMYK color space (used in color printing), #512a9e hex color is composed of 48.73% cyan, 73.42% magenta, 0% yellow and 38.04% black.
#512a9e color has a hue of 260.2 degrees, a saturation of 58% and a lightness of 39.2%.
#512a9e hex color contains mainly BLUE.
The closest web safe color of #512a9e is #663399
#512a9e hex color has a decimal value of 5319326.
HEX | 512a9e | #512a9e |
---|---|---|
RGB | 81, 42, 158 | rgb(81, 42, 158) |
RGB Percent | 31.76, 16.47, 61.96 | rgb(31.76, 16.47, 61.96) |
CMYK | 49, 73, 0, 38 | |
HSL | 260.2°, 58, 39.2 | hsl(260.2, 58%, 39.2%) |
HSV | 260.2°, 73.4, 62 |
XYZ | 10.393, 5.874, 32.934 |
---|---|
Hunter Lab | 24.236, 34.131, -63.602 |
CIE-LAB | 29.092, 44.732, -56.508 |
CIE-LCH | 29.092, 72.07, 308.365 |
CIE-LUV | 48.73, 73.42, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #512a9e
CMYK percent of color #512a9e
Text with hexadecimal color #512a9e
This text has a font color of #512a9e
<p style="color:#512a9e">Text here</p>
#512a9e Background Color
This box has a background color of #512a9e
<div style="background-color:#512a9e">Text here</div>
#512a9e Border Color
This box has a border color of #512a9e
<div style="border: 4px solid #512a9e">Text here</div>
CSS codes
<p style="color:#512a9e">Text here</p>
<div style="background-color:#512a9e">Text here</div>
<div style="border: 4px solid #512a9e">Text here</div>
#512a9e Color on white background
This is how a font and box color of #512a9e will look
on a white background.
#512a9e Color on black background
This is how a font and box color of #512a9e hex color will look
on a black background.