In RGB color space, #842d8a hex color has a red value of 132, a green value of 45 and a blue value of 138.
In CMYK color space (used in color printing), #842d8a hex color is composed of 4.35% cyan, 67.39% magenta, 0% yellow and 45.88% black.
#842d8a color has a hue of 296.1 degrees, a saturation of 50.82% and a lightness of 35.9%.
#842d8a hex color contains mainly BLUE.
The closest web safe color of #842d8a is #993399
#842d8a hex color has a decimal value of 8662410.
HEX | 842d8a | #842d8a |
---|---|---|
RGB | 132, 45, 138 | rgb(132, 45, 138) |
RGB Percent | 51.76, 17.65, 54.12 | rgb(51.76, 17.65, 54.12) |
CMYK | 4, 67, 0, 46 | |
HSL | 296.1°, 50.82, 35.9 | hsl(296.1, 50.82%, 35.9%) |
HSV | 296.1°, 67.4, 54.1 |
XYZ | 15.042, 8.617, 24.915 |
---|---|
Hunter Lab | 29.355, 40.097, -29.774 |
CIE-LAB | 35.236, 49.608, -33.991 |
CIE-LCH | 35.236, 60.136, 325.581 |
CIE-LUV | 4.35, 67.39, 0, 45.88 |
Web Safe | 993399 |
RGB percent of color #842d8a
CMYK percent of color #842d8a
Text with hexadecimal color #842d8a
This text has a font color of #842d8a
<p style="color:#842d8a">Text here</p>
#842d8a Background Color
This box has a background color of #842d8a
<div style="background-color:#842d8a">Text here</div>
#842d8a Border Color
This box has a border color of #842d8a
<div style="border: 4px solid #842d8a">Text here</div>
CSS codes
<p style="color:#842d8a">Text here</p>
<div style="background-color:#842d8a">Text here</div>
<div style="border: 4px solid #842d8a">Text here</div>
#842d8a Color on white background
This is how a font and box color of #842d8a will look
on a white background.
#842d8a Color on black background
This is how a font and box color of #842d8a hex color will look
on a black background.