In RGB color space, #840aa4 hex color has a red value of 132, a green value of 10 and a blue value of 164.
In CMYK color space (used in color printing), #840aa4 hex color is composed of 19.51% cyan, 93.9% magenta, 0% yellow and 35.69% black.
#840aa4 color has a hue of 287.5 degrees, a saturation of 88.51% and a lightness of 34.1%.
#840aa4 hex color contains mainly BLUE.
The closest web safe color of #840aa4 is #990099
#840aa4 hex color has a decimal value of 8653476.
HEX | 840aa4 | #840aa4 |
---|---|---|
RGB | 132, 10, 164 | rgb(132, 10, 164) |
RGB Percent | 51.76, 3.92, 64.31 | rgb(51.76, 3.92, 64.31) |
CMYK | 20, 94, 0, 36 | |
HSL | 287.5°, 88.51, 34.1 | hsl(287.5, 88.51%, 34.1%) |
HSV | 287.5°, 93.9, 64.3 |
XYZ | 16.325, 7.803, 35.768 |
---|---|
Hunter Lab | 27.934, 55.434, -56.364 |
CIE-LAB | 33.569, 64.274, -52.535 |
CIE-LCH | 33.569, 83.012, 320.739 |
CIE-LUV | 19.51, 93.9, 0, 35.69 |
Web Safe | 990099 |
RGB percent of color #840aa4
CMYK percent of color #840aa4
Text with hexadecimal color #840aa4
This text has a font color of #840aa4
<p style="color:#840aa4">Text here</p>
#840aa4 Background Color
This box has a background color of #840aa4
<div style="background-color:#840aa4">Text here</div>
#840aa4 Border Color
This box has a border color of #840aa4
<div style="border: 4px solid #840aa4">Text here</div>
CSS codes
<p style="color:#840aa4">Text here</p>
<div style="background-color:#840aa4">Text here</div>
<div style="border: 4px solid #840aa4">Text here</div>
#840aa4 Color on white background
This is how a font and box color of #840aa4 will look
on a white background.
#840aa4 Color on black background
This is how a font and box color of #840aa4 hex color will look
on a black background.