In RGB color space, #840ca2 hex color has a red value of 132, a green value of 12 and a blue value of 162.
In CMYK color space (used in color printing), #840ca2 hex color is composed of 18.52% cyan, 92.59% magenta, 0% yellow and 36.47% black.
#840ca2 color has a hue of 288 degrees, a saturation of 86.21% and a lightness of 34.1%.
#840ca2 hex color contains mainly BLUE.
The closest web safe color of #840ca2 is #990099
#840ca2 hex color has a decimal value of 8653986.
HEX | 840ca2 | #840ca2 |
---|---|---|
RGB | 132, 12, 162 | rgb(132, 12, 162) |
RGB Percent | 51.76, 4.71, 63.53 | rgb(51.76, 4.71, 63.53) |
CMYK | 19, 93, 0, 36 | |
HSL | 288°, 86.21, 34.1 | hsl(288, 86.21%, 34.1%) |
HSV | 288°, 92.6, 63.5 |
XYZ | 16.169, 7.777, 34.831 |
---|---|
Hunter Lab | 27.887, 54.691, -54.532 |
CIE-LAB | 33.514, 63.623, -51.414 |
CIE-LCH | 33.514, 81.8, 321.058 |
CIE-LUV | 18.52, 92.59, 0, 36.47 |
Web Safe | 990099 |
RGB percent of color #840ca2
CMYK percent of color #840ca2
Text with hexadecimal color #840ca2
This text has a font color of #840ca2
<p style="color:#840ca2">Text here</p>
#840ca2 Background Color
This box has a background color of #840ca2
<div style="background-color:#840ca2">Text here</div>
#840ca2 Border Color
This box has a border color of #840ca2
<div style="border: 4px solid #840ca2">Text here</div>
CSS codes
<p style="color:#840ca2">Text here</p>
<div style="background-color:#840ca2">Text here</div>
<div style="border: 4px solid #840ca2">Text here</div>
#840ca2 Color on white background
This is how a font and box color of #840ca2 will look
on a white background.
#840ca2 Color on black background
This is how a font and box color of #840ca2 hex color will look
on a black background.