In RGB color space, #512ea9 hex color has a red value of 81, a green value of 46 and a blue value of 169.
In CMYK color space (used in color printing), #512ea9 hex color is composed of 52.07% cyan, 72.78% magenta, 0% yellow and 33.73% black.
#512ea9 color has a hue of 257.1 degrees, a saturation of 57.21% and a lightness of 42.2%.
#512ea9 hex color contains mainly BLUE.
The closest web safe color of #512ea9 is #663399
#512ea9 hex color has a decimal value of 5320361.
HEX | 512ea9 | #512ea9 |
---|---|---|
RGB | 81, 46, 169 | rgb(81, 46, 169) |
RGB Percent | 31.76, 18.04, 66.27 | rgb(31.76, 18.04, 66.27) |
CMYK | 52, 73, 0, 34 | |
HSL | 257.1°, 57.21, 42.2 | hsl(257.1, 57.21%, 42.2%) |
HSV | 257.1°, 72.8, 66.3 |
XYZ | 11.532, 6.568, 38.196 |
---|---|
Hunter Lab | 25.628, 35.471, -70.426 |
CIE-LAB | 30.802, 45.794, -60.359 |
CIE-LCH | 30.802, 75.765, 307.187 |
CIE-LUV | 52.07, 72.78, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #512ea9
CMYK percent of color #512ea9
Text with hexadecimal color #512ea9
This text has a font color of #512ea9
<p style="color:#512ea9">Text here</p>
#512ea9 Background Color
This box has a background color of #512ea9
<div style="background-color:#512ea9">Text here</div>
#512ea9 Border Color
This box has a border color of #512ea9
<div style="border: 4px solid #512ea9">Text here</div>
CSS codes
<p style="color:#512ea9">Text here</p>
<div style="background-color:#512ea9">Text here</div>
<div style="border: 4px solid #512ea9">Text here</div>
#512ea9 Color on white background
This is how a font and box color of #512ea9 will look
on a white background.
#512ea9 Color on black background
This is how a font and box color of #512ea9 hex color will look
on a black background.