In RGB color space, #842eb4 hex color has a red value of 132, a green value of 46 and a blue value of 180.
In CMYK color space (used in color printing), #842eb4 hex color is composed of 26.67% cyan, 74.44% magenta, 0% yellow and 29.41% black.
#842eb4 color has a hue of 278.5 degrees, a saturation of 59.29% and a lightness of 44.3%.
#842eb4 hex color contains mainly BLUE.
The closest web safe color of #842eb4 is #9933cc
#842eb4 hex color has a decimal value of 8662708.
HEX | 842eb4 | #842eb4 |
---|---|---|
RGB | 132, 46, 180 | rgb(132, 46, 180) |
RGB Percent | 51.76, 18.04, 70.59 | rgb(51.76, 18.04, 70.59) |
CMYK | 27, 74, 0, 29 | |
HSL | 278.5°, 59.29, 44.3 | hsl(278.5, 59.29%, 44.3%) |
HSV | 278.5°, 74.4, 70.6 |
XYZ | 18.731, 10.155, 44.153 |
---|---|
Hunter Lab | 31.867, 49.153, -59.842 |
CIE-LAB | 38.119, 57.695, -54.726 |
CIE-LCH | 38.119, 79.521, 316.513 |
CIE-LUV | 26.67, 74.44, 0, 29.41 |
Web Safe | 9933cc |
RGB percent of color #842eb4
CMYK percent of color #842eb4
Text with hexadecimal color #842eb4
This text has a font color of #842eb4
<p style="color:#842eb4">Text here</p>
#842eb4 Background Color
This box has a background color of #842eb4
<div style="background-color:#842eb4">Text here</div>
#842eb4 Border Color
This box has a border color of #842eb4
<div style="border: 4px solid #842eb4">Text here</div>
CSS codes
<p style="color:#842eb4">Text here</p>
<div style="background-color:#842eb4">Text here</div>
<div style="border: 4px solid #842eb4">Text here</div>
#842eb4 Color on white background
This is how a font and box color of #842eb4 will look
on a white background.
#842eb4 Color on black background
This is how a font and box color of #842eb4 hex color will look
on a black background.