In RGB color space, #842ba9 hex color has a red value of 132, a green value of 43 and a blue value of 169.
In CMYK color space (used in color printing), #842ba9 hex color is composed of 21.89% cyan, 74.56% magenta, 0% yellow and 33.73% black.
#842ba9 color has a hue of 282.4 degrees, a saturation of 59.43% and a lightness of 41.6%.
#842ba9 hex color contains mainly BLUE.
The closest web safe color of #842ba9 is #993399
#842ba9 hex color has a decimal value of 8661929.
HEX | 842ba9 | #842ba9 |
---|---|---|
RGB | 132, 43, 169 | rgb(132, 43, 169) |
RGB Percent | 51.76, 16.86, 66.27 | rgb(51.76, 16.86, 66.27) |
CMYK | 22, 75, 0, 34 | |
HSL | 282.4°, 59.43, 41.6 | hsl(282.4, 59.43%, 41.6%) |
HSV | 282.4°, 74.6, 66.3 |
XYZ | 17.541, 9.498, 38.445 |
---|---|
Hunter Lab | 30.819, 47.663, -52.388 |
CIE-LAB | 36.926, 56.541, -50.107 |
CIE-LCH | 36.926, 75.549, 318.452 |
CIE-LUV | 21.89, 74.56, 0, 33.73 |
Web Safe | 993399 |
RGB percent of color #842ba9
CMYK percent of color #842ba9
Text with hexadecimal color #842ba9
This text has a font color of #842ba9
<p style="color:#842ba9">Text here</p>
#842ba9 Background Color
This box has a background color of #842ba9
<div style="background-color:#842ba9">Text here</div>
#842ba9 Border Color
This box has a border color of #842ba9
<div style="border: 4px solid #842ba9">Text here</div>
CSS codes
<p style="color:#842ba9">Text here</p>
<div style="background-color:#842ba9">Text here</div>
<div style="border: 4px solid #842ba9">Text here</div>
#842ba9 Color on white background
This is how a font and box color of #842ba9 will look
on a white background.
#842ba9 Color on black background
This is how a font and box color of #842ba9 hex color will look
on a black background.