In RGB color space, #512f8f hex color has a red value of 81, a green value of 47 and a blue value of 143.
In CMYK color space (used in color printing), #512f8f hex color is composed of 43.36% cyan, 67.13% magenta, 0% yellow and 43.92% black.
#512f8f color has a hue of 261.3 degrees, a saturation of 50.53% and a lightness of 37.3%.
#512f8f hex color contains mainly BLUE.
The closest web safe color of #512f8f is #663399
#512f8f hex color has a decimal value of 5320591.
HEX | 512f8f | #512f8f |
---|---|---|
RGB | 81, 47, 143 | rgb(81, 47, 143) |
RGB Percent | 31.76, 18.43, 56.08 | rgb(31.76, 18.43, 56.08) |
CMYK | 43, 67, 0, 44 | |
HSL | 261.3°, 50.53, 37.3 | hsl(261.3, 50.53%, 37.3%) |
HSV | 261.3°, 67.1, 56.1 |
XYZ | 9.368, 5.766, 26.606 |
---|---|
Hunter Lab | 24.012, 27.616, -48.885 |
CIE-LAB | 28.814, 37.797, -47.77 |
CIE-LCH | 28.814, 60.915, 308.352 |
CIE-LUV | 43.36, 67.13, 0, 43.92 |
Web Safe | 663399 |
RGB percent of color #512f8f
CMYK percent of color #512f8f
Text with hexadecimal color #512f8f
This text has a font color of #512f8f
<p style="color:#512f8f">Text here</p>
#512f8f Background Color
This box has a background color of #512f8f
<div style="background-color:#512f8f">Text here</div>
#512f8f Border Color
This box has a border color of #512f8f
<div style="border: 4px solid #512f8f">Text here</div>
CSS codes
<p style="color:#512f8f">Text here</p>
<div style="background-color:#512f8f">Text here</div>
<div style="border: 4px solid #512f8f">Text here</div>
#512f8f Color on white background
This is how a font and box color of #512f8f will look
on a white background.
#512f8f Color on black background
This is how a font and box color of #512f8f hex color will look
on a black background.