In RGB color space, #842ab3 hex color has a red value of 132, a green value of 42 and a blue value of 179.
In CMYK color space (used in color printing), #842ab3 hex color is composed of 26.26% cyan, 76.54% magenta, 0% yellow and 29.8% black.
#842ab3 color has a hue of 279.4 degrees, a saturation of 61.99% and a lightness of 43.3%.
#842ab3 hex color contains mainly BLUE.
The closest web safe color of #842ab3 is #9933cc
#842ab3 hex color has a decimal value of 8661683.
HEX | 842ab3 | #842ab3 |
---|---|---|
RGB | 132, 42, 179 | rgb(132, 42, 179) |
RGB Percent | 51.76, 16.47, 70.2 | rgb(51.76, 16.47, 70.2) |
CMYK | 26, 77, 0, 30 | |
HSL | 279.4°, 61.99, 43.3 | hsl(279.4, 61.99%, 43.3%) |
HSV | 279.4°, 76.5, 70.2 |
XYZ | 18.48, 9.816, 43.569 |
---|---|
Hunter Lab | 31.33, 50.458, -60.519 |
CIE-LAB | 37.51, 59.015, -55.12 |
CIE-LCH | 37.51, 80.753, 316.955 |
CIE-LUV | 26.26, 76.54, 0, 29.8 |
Web Safe | 9933cc |
RGB percent of color #842ab3
CMYK percent of color #842ab3
Text with hexadecimal color #842ab3
This text has a font color of #842ab3
<p style="color:#842ab3">Text here</p>
#842ab3 Background Color
This box has a background color of #842ab3
<div style="background-color:#842ab3">Text here</div>
#842ab3 Border Color
This box has a border color of #842ab3
<div style="border: 4px solid #842ab3">Text here</div>
CSS codes
<p style="color:#842ab3">Text here</p>
<div style="background-color:#842ab3">Text here</div>
<div style="border: 4px solid #842ab3">Text here</div>
#842ab3 Color on white background
This is how a font and box color of #842ab3 will look
on a white background.
#842ab3 Color on black background
This is how a font and box color of #842ab3 hex color will look
on a black background.