In RGB color space, #842fa1 hex color has a red value of 132, a green value of 47 and a blue value of 161.
In CMYK color space (used in color printing), #842fa1 hex color is composed of 18.01% cyan, 70.81% magenta, 0% yellow and 36.86% black.
#842fa1 color has a hue of 284.7 degrees, a saturation of 54.81% and a lightness of 40.8%.
#842fa1 hex color contains mainly BLUE.
The closest web safe color of #842fa1 is #993399
#842fa1 hex color has a decimal value of 8662945.
HEX | 842fa1 | #842fa1 |
---|---|---|
RGB | 132, 47, 161 | rgb(132, 47, 161) |
RGB Percent | 51.76, 18.43, 63.14 | rgb(51.76, 18.43, 63.14) |
CMYK | 18, 71, 0, 37 | |
HSL | 284.7°, 54.81, 40.8 | hsl(284.7, 54.81%, 40.8%) |
HSV | 284.7°, 70.8, 63.1 |
XYZ | 16.965, 9.512, 34.66 |
---|---|
Hunter Lab | 30.842, 44.215, -45.042 |
CIE-LAB | 36.952, 53.278, -45.262 |
CIE-LCH | 36.952, 69.908, 319.651 |
CIE-LUV | 18.01, 70.81, 0, 36.86 |
Web Safe | 993399 |
RGB percent of color #842fa1
CMYK percent of color #842fa1
Text with hexadecimal color #842fa1
This text has a font color of #842fa1
<p style="color:#842fa1">Text here</p>
#842fa1 Background Color
This box has a background color of #842fa1
<div style="background-color:#842fa1">Text here</div>
#842fa1 Border Color
This box has a border color of #842fa1
<div style="border: 4px solid #842fa1">Text here</div>
CSS codes
<p style="color:#842fa1">Text here</p>
<div style="background-color:#842fa1">Text here</div>
<div style="border: 4px solid #842fa1">Text here</div>
#842fa1 Color on white background
This is how a font and box color of #842fa1 will look
on a white background.
#842fa1 Color on black background
This is how a font and box color of #842fa1 hex color will look
on a black background.