In RGB color space, #842fa6 hex color has a red value of 132, a green value of 47 and a blue value of 166.
In CMYK color space (used in color printing), #842fa6 hex color is composed of 20.48% cyan, 71.69% magenta, 0% yellow and 34.9% black.
#842fa6 color has a hue of 282.9 degrees, a saturation of 55.87% and a lightness of 41.8%.
#842fa6 hex color contains mainly BLUE.
The closest web safe color of #842fa6 is #993399
#842fa6 hex color has a decimal value of 8662950.
HEX | 842fa6 | #842fa6 |
---|---|---|
RGB | 132, 47, 166 | rgb(132, 47, 166) |
RGB Percent | 51.76, 18.43, 65.1 | rgb(51.76, 18.43, 65.1) |
CMYK | 20, 72, 0, 35 | |
HSL | 282.9°, 55.87, 41.8 | hsl(282.9, 55.87%, 41.8%) |
HSV | 282.9°, 71.7, 65.1 |
XYZ | 17.415, 9.692, 37.029 |
---|---|
Hunter Lab | 31.132, 45.371, -48.728 |
CIE-LAB | 37.284, 54.315, -47.733 |
CIE-LCH | 37.284, 72.309, 318.69 |
CIE-LUV | 20.48, 71.69, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #842fa6
CMYK percent of color #842fa6
Text with hexadecimal color #842fa6
This text has a font color of #842fa6
<p style="color:#842fa6">Text here</p>
#842fa6 Background Color
This box has a background color of #842fa6
<div style="background-color:#842fa6">Text here</div>
#842fa6 Border Color
This box has a border color of #842fa6
<div style="border: 4px solid #842fa6">Text here</div>
CSS codes
<p style="color:#842fa6">Text here</p>
<div style="background-color:#842fa6">Text here</div>
<div style="border: 4px solid #842fa6">Text here</div>
#842fa6 Color on white background
This is how a font and box color of #842fa6 will look
on a white background.
#842fa6 Color on black background
This is how a font and box color of #842fa6 hex color will look
on a black background.