In RGB color space, #512dab hex color has a red value of 81, a green value of 45 and a blue value of 171.
In CMYK color space (used in color printing), #512dab hex color is composed of 52.63% cyan, 73.68% magenta, 0% yellow and 32.94% black.
#512dab color has a hue of 257.1 degrees, a saturation of 58.33% and a lightness of 42.4%.
#512dab hex color contains mainly BLUE.
The closest web safe color of #512dab is #663399
#512dab hex color has a decimal value of 5320107.
HEX | 512dab | #512dab |
---|---|---|
RGB | 81, 45, 171 | rgb(81, 45, 171) |
RGB Percent | 31.76, 17.65, 67.06 | rgb(31.76, 17.65, 67.06) |
CMYK | 53, 74, 0, 33 | |
HSL | 257.1°, 58.33, 42.4 | hsl(257.1, 58.33%, 42.4%) |
HSV | 257.1°, 73.7, 67.1 |
XYZ | 11.682, 6.566, 39.18 |
---|---|
Hunter Lab | 25.624, 36.535, -72.719 |
CIE-LAB | 30.798, 46.883, -61.568 |
CIE-LCH | 30.798, 77.386, 307.289 |
CIE-LUV | 52.63, 73.68, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #512dab
CMYK percent of color #512dab
Text with hexadecimal color #512dab
This text has a font color of #512dab
<p style="color:#512dab">Text here</p>
#512dab Background Color
This box has a background color of #512dab
<div style="background-color:#512dab">Text here</div>
#512dab Border Color
This box has a border color of #512dab
<div style="border: 4px solid #512dab">Text here</div>
CSS codes
<p style="color:#512dab">Text here</p>
<div style="background-color:#512dab">Text here</div>
<div style="border: 4px solid #512dab">Text here</div>
#512dab Color on white background
This is how a font and box color of #512dab will look
on a white background.
#512dab Color on black background
This is how a font and box color of #512dab hex color will look
on a black background.