In RGB color space, #842ab1 hex color has a red value of 132, a green value of 42 and a blue value of 177.
In CMYK color space (used in color printing), #842ab1 hex color is composed of 25.42% cyan, 76.27% magenta, 0% yellow and 30.59% black.
#842ab1 color has a hue of 280 degrees, a saturation of 61.64% and a lightness of 42.9%.
#842ab1 hex color contains mainly BLUE.
The closest web safe color of #842ab1 is #993399
#842ab1 hex color has a decimal value of 8661681.
HEX | 842ab1 | #842ab1 |
---|---|---|
RGB | 132, 42, 177 | rgb(132, 42, 177) |
RGB Percent | 51.76, 16.47, 69.41 | rgb(51.76, 16.47, 69.41) |
CMYK | 25, 76, 0, 31 | |
HSL | 280°, 61.64, 42.9 | hsl(280, 61.64%, 42.9%) |
HSV | 280°, 76.3, 69.4 |
XYZ | 18.279, 9.736, 42.511 |
---|---|
Hunter Lab | 31.203, 49.964, -58.936 |
CIE-LAB | 37.364, 58.589, -54.169 |
CIE-LCH | 37.364, 79.793, 317.245 |
CIE-LUV | 25.42, 76.27, 0, 30.59 |
Web Safe | 993399 |
RGB percent of color #842ab1
CMYK percent of color #842ab1
Text with hexadecimal color #842ab1
This text has a font color of #842ab1
<p style="color:#842ab1">Text here</p>
#842ab1 Background Color
This box has a background color of #842ab1
<div style="background-color:#842ab1">Text here</div>
#842ab1 Border Color
This box has a border color of #842ab1
<div style="border: 4px solid #842ab1">Text here</div>
CSS codes
<p style="color:#842ab1">Text here</p>
<div style="background-color:#842ab1">Text here</div>
<div style="border: 4px solid #842ab1">Text here</div>
#842ab1 Color on white background
This is how a font and box color of #842ab1 will look
on a white background.
#842ab1 Color on black background
This is how a font and box color of #842ab1 hex color will look
on a black background.