In RGB color space, #8a1f9d hex color has a red value of 138, a green value of 31 and a blue value of 157.
In CMYK color space (used in color printing), #8a1f9d hex color is composed of 12.1% cyan, 80.25% magenta, 0% yellow and 38.43% black.
#8a1f9d color has a hue of 291 degrees, a saturation of 67.02% and a lightness of 36.9%.
#8a1f9d hex color contains mainly BLUE.
The closest web safe color of #8a1f9d is #993399
#8a1f9d hex color has a decimal value of 9052061.
HEX | 8a1f9d | #8a1f9d |
---|---|---|
RGB | 138, 31, 157 | rgb(138, 31, 157) |
RGB Percent | 54.12, 12.16, 61.57 | rgb(54.12, 12.16, 61.57) |
CMYK | 12, 80, 0, 38 | |
HSL | 291°, 67.02, 36.9 | hsl(291, 67.02%, 36.9%) |
HSV | 291°, 80.3, 61.6 |
XYZ | 17.057, 8.818, 32.701 |
---|---|
Hunter Lab | 29.695, 50.565, -44.505 |
CIE-LAB | 35.631, 59.478, -44.916 |
CIE-LCH | 35.631, 74.532, 322.941 |
CIE-LUV | 12.1, 80.25, 0, 38.43 |
Web Safe | 993399 |
RGB percent of color #8a1f9d
CMYK percent of color #8a1f9d
Text with hexadecimal color #8a1f9d
This text has a font color of #8a1f9d
<p style="color:#8a1f9d">Text here</p>
#8a1f9d Background Color
This box has a background color of #8a1f9d
<div style="background-color:#8a1f9d">Text here</div>
#8a1f9d Border Color
This box has a border color of #8a1f9d
<div style="border: 4px solid #8a1f9d">Text here</div>
CSS codes
<p style="color:#8a1f9d">Text here</p>
<div style="background-color:#8a1f9d">Text here</div>
<div style="border: 4px solid #8a1f9d">Text here</div>
#8a1f9d Color on white background
This is how a font and box color of #8a1f9d will look
on a white background.
#8a1f9d Color on black background
This is how a font and box color of #8a1f9d hex color will look
on a black background.