In RGB color space, #842aa6 hex color has a red value of 132, a green value of 42 and a blue value of 166.
In CMYK color space (used in color printing), #842aa6 hex color is composed of 20.48% cyan, 74.7% magenta, 0% yellow and 34.9% black.
#842aa6 color has a hue of 283.5 degrees, a saturation of 59.62% and a lightness of 40.8%.
#842aa6 hex color contains mainly BLUE.
The closest web safe color of #842aa6 is #993399
#842aa6 hex color has a decimal value of 8661670.
HEX | 842aa6 | #842aa6 |
---|---|---|
RGB | 132, 42, 166 | rgb(132, 42, 166) |
RGB Percent | 51.76, 16.47, 65.1 | rgb(51.76, 16.47, 65.1) |
CMYK | 20, 75, 0, 35 | |
HSL | 283.5°, 59.62, 40.8 | hsl(283.5, 59.62%, 40.8%) |
HSV | 283.5°, 74.7, 65.1 |
XYZ | 17.227, 9.315, 36.966 |
---|---|
Hunter Lab | 30.52, 47.342, -50.447 |
CIE-LAB | 36.584, 56.307, -48.861 |
CIE-LCH | 36.584, 74.551, 319.05 |
CIE-LUV | 20.48, 74.7, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #842aa6
CMYK percent of color #842aa6
Text with hexadecimal color #842aa6
This text has a font color of #842aa6
<p style="color:#842aa6">Text here</p>
#842aa6 Background Color
This box has a background color of #842aa6
<div style="background-color:#842aa6">Text here</div>
#842aa6 Border Color
This box has a border color of #842aa6
<div style="border: 4px solid #842aa6">Text here</div>
CSS codes
<p style="color:#842aa6">Text here</p>
<div style="background-color:#842aa6">Text here</div>
<div style="border: 4px solid #842aa6">Text here</div>
#842aa6 Color on white background
This is how a font and box color of #842aa6 will look
on a white background.
#842aa6 Color on black background
This is how a font and box color of #842aa6 hex color will look
on a black background.