In RGB color space, #512166 hex color has a red value of 81, a green value of 33 and a blue value of 102.
In CMYK color space (used in color printing), #512166 hex color is composed of 20.59% cyan, 67.65% magenta, 0% yellow and 60% black.
#512166 color has a hue of 281.7 degrees, a saturation of 51.11% and a lightness of 26.5%.
#512166 hex color contains mainly BLUE.
The closest web safe color of #512166 is #663366
#512166 hex color has a decimal value of 5316966.
HEX | 512166 | #512166 |
---|---|---|
RGB | 81, 33, 102 | rgb(81, 33, 102) |
RGB Percent | 31.76, 12.94, 40 | rgb(31.76, 12.94, 40) |
CMYK | 21, 68, 0, 60 | |
HSL | 281.7°, 51.11, 26.5 | hsl(281.7, 51.11%, 26.5%) |
HSV | 281.7°, 67.6, 40 |
XYZ | 6.335, 3.796, 12.969 |
---|---|
Hunter Lab | 19.483, 23.943, -25.828 |
CIE-LAB | 22.985, 34.685, -31.188 |
CIE-LCH | 22.985, 46.645, 318.039 |
CIE-LUV | 20.59, 67.65, 0, 60 |
Web Safe | 663366 |
RGB percent of color #512166
CMYK percent of color #512166
Text with hexadecimal color #512166
This text has a font color of #512166
<p style="color:#512166">Text here</p>
#512166 Background Color
This box has a background color of #512166
<div style="background-color:#512166">Text here</div>
#512166 Border Color
This box has a border color of #512166
<div style="border: 4px solid #512166">Text here</div>
CSS codes
<p style="color:#512166">Text here</p>
<div style="background-color:#512166">Text here</div>
<div style="border: 4px solid #512166">Text here</div>
#512166 Color on white background
This is how a font and box color of #512166 will look
on a white background.
#512166 Color on black background
This is how a font and box color of #512166 hex color will look
on a black background.