In RGB color space, #8a1f8c hex color has a red value of 138, a green value of 31 and a blue value of 140.
In CMYK color space (used in color printing), #8a1f8c hex color is composed of 1.43% cyan, 77.86% magenta, 0% yellow and 45.1% black.
#8a1f8c color has a hue of 298.9 degrees, a saturation of 63.74% and a lightness of 33.5%.
#8a1f8c hex color contains mainly BLUE.
The closest web safe color of #8a1f8c is #993399
#8a1f8c hex color has a decimal value of 9052044.
HEX | 8a1f8c | #8a1f8c |
---|---|---|
RGB | 138, 31, 140 | rgb(138, 31, 140) |
RGB Percent | 54.12, 12.16, 54.9 | rgb(54.12, 12.16, 54.9) |
CMYK | 1, 78, 0, 45 | |
HSL | 298.9°, 63.74, 33.5 | hsl(298.9, 63.74%, 33.5%) |
HSV | 298.9°, 77.9, 54.9 |
XYZ | 15.705, 8.277, 25.581 |
---|---|
Hunter Lab | 28.77, 47.093, -32.58 |
CIE-LAB | 34.553, 56.468, -36.249 |
CIE-LCH | 34.553, 67.102, 327.302 |
CIE-LUV | 1.43, 77.86, 0, 45.1 |
Web Safe | 993399 |
RGB percent of color #8a1f8c
CMYK percent of color #8a1f8c
Text with hexadecimal color #8a1f8c
This text has a font color of #8a1f8c
<p style="color:#8a1f8c">Text here</p>
#8a1f8c Background Color
This box has a background color of #8a1f8c
<div style="background-color:#8a1f8c">Text here</div>
#8a1f8c Border Color
This box has a border color of #8a1f8c
<div style="border: 4px solid #8a1f8c">Text here</div>
CSS codes
<p style="color:#8a1f8c">Text here</p>
<div style="background-color:#8a1f8c">Text here</div>
<div style="border: 4px solid #8a1f8c">Text here</div>
#8a1f8c Color on white background
This is how a font and box color of #8a1f8c will look
on a white background.
#8a1f8c Color on black background
This is how a font and box color of #8a1f8c hex color will look
on a black background.