In RGB color space, #512281 hex color has a red value of 81, a green value of 34 and a blue value of 129.
In CMYK color space (used in color printing), #512281 hex color is composed of 37.21% cyan, 73.64% magenta, 0% yellow and 49.41% black.
#512281 color has a hue of 269.7 degrees, a saturation of 58.28% and a lightness of 32%.
#512281 hex color contains mainly BLUE.
The closest web safe color of #512281 is #663399
#512281 hex color has a decimal value of 5317249.
HEX | 512281 | #512281 |
---|---|---|
RGB | 81, 34, 129 | rgb(81, 34, 129) |
RGB Percent | 31.76, 13.33, 50.59 | rgb(31.76, 13.33, 50.59) |
CMYK | 37, 74, 0, 49 | |
HSL | 269.7°, 58.28, 32 | hsl(269.7, 58.28%, 32%) |
HSV | 269.7°, 73.6, 50.6 |
XYZ | 7.928, 4.478, 21.215 |
---|---|
Hunter Lab | 21.161, 29.842, -44.628 |
CIE-LAB | 25.193, 40.909, -44.925 |
CIE-LCH | 25.193, 60.76, 312.321 |
CIE-LUV | 37.21, 73.64, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #512281
CMYK percent of color #512281
Text with hexadecimal color #512281
This text has a font color of #512281
<p style="color:#512281">Text here</p>
#512281 Background Color
This box has a background color of #512281
<div style="background-color:#512281">Text here</div>
#512281 Border Color
This box has a border color of #512281
<div style="border: 4px solid #512281">Text here</div>
CSS codes
<p style="color:#512281">Text here</p>
<div style="background-color:#512281">Text here</div>
<div style="border: 4px solid #512281">Text here</div>
#512281 Color on white background
This is how a font and box color of #512281 will look
on a white background.
#512281 Color on black background
This is how a font and box color of #512281 hex color will look
on a black background.