In RGB color space, #512386 hex color has a red value of 81, a green value of 35 and a blue value of 134.
In CMYK color space (used in color printing), #512386 hex color is composed of 39.55% cyan, 73.88% magenta, 0% yellow and 47.45% black.
#512386 color has a hue of 267.9 degrees, a saturation of 58.58% and a lightness of 33.1%.
#512386 hex color contains mainly BLUE.
The closest web safe color of #512386 is #663399
#512386 hex color has a decimal value of 5317510.
HEX | 512386 | #512386 |
---|---|---|
RGB | 81, 35, 134 | rgb(81, 35, 134) |
RGB Percent | 31.76, 13.73, 52.55 | rgb(31.76, 13.73, 52.55) |
CMYK | 40, 74, 0, 47 | |
HSL | 267.9°, 58.58, 33.1 | hsl(267.9, 58.58%, 33.1%) |
HSV | 267.9°, 73.9, 52.5 |
XYZ | 8.297, 4.673, 23.019 |
---|---|
Hunter Lab | 21.617, 30.681, -48.003 |
CIE-LAB | 25.782, 41.706, -47.106 |
CIE-LCH | 25.782, 62.916, 311.521 |
CIE-LUV | 39.55, 73.88, 0, 47.45 |
Web Safe | 663399 |
RGB percent of color #512386
CMYK percent of color #512386
Text with hexadecimal color #512386
This text has a font color of #512386
<p style="color:#512386">Text here</p>
#512386 Background Color
This box has a background color of #512386
<div style="background-color:#512386">Text here</div>
#512386 Border Color
This box has a border color of #512386
<div style="border: 4px solid #512386">Text here</div>
CSS codes
<p style="color:#512386">Text here</p>
<div style="background-color:#512386">Text here</div>
<div style="border: 4px solid #512386">Text here</div>
#512386 Color on white background
This is how a font and box color of #512386 will look
on a white background.
#512386 Color on black background
This is how a font and box color of #512386 hex color will look
on a black background.