In RGB color space, #840fab hex color has a red value of 132, a green value of 15 and a blue value of 171.
In CMYK color space (used in color printing), #840fab hex color is composed of 22.81% cyan, 91.23% magenta, 0% yellow and 32.94% black.
#840fab color has a hue of 285 degrees, a saturation of 83.87% and a lightness of 36.5%.
#840fab hex color contains mainly BLUE.
The closest web safe color of #840fab is #990099
#840fab hex color has a decimal value of 8654763.
HEX | 840fab | #840fab |
---|---|---|
RGB | 132, 15, 171 | rgb(132, 15, 171) |
RGB Percent | 51.76, 5.88, 67.06 | rgb(51.76, 5.88, 67.06) |
CMYK | 23, 91, 0, 33 | |
HSL | 285°, 83.87, 36.5 | hsl(285, 83.87%, 36.5%) |
HSV | 285°, 91.2, 67.1 |
XYZ | 17.037, 8.187, 39.21 |
---|---|
Hunter Lab | 28.613, 56.212, -61.22 |
CIE-LAB | 34.369, 64.808, -55.447 |
CIE-LCH | 34.369, 85.29, 319.451 |
CIE-LUV | 22.81, 91.23, 0, 32.94 |
Web Safe | 990099 |
RGB percent of color #840fab
CMYK percent of color #840fab
Text with hexadecimal color #840fab
This text has a font color of #840fab
<p style="color:#840fab">Text here</p>
#840fab Background Color
This box has a background color of #840fab
<div style="background-color:#840fab">Text here</div>
#840fab Border Color
This box has a border color of #840fab
<div style="border: 4px solid #840fab">Text here</div>
CSS codes
<p style="color:#840fab">Text here</p>
<div style="background-color:#840fab">Text here</div>
<div style="border: 4px solid #840fab">Text here</div>
#840fab Color on white background
This is how a font and box color of #840fab will look
on a white background.
#840fab Color on black background
This is how a font and box color of #840fab hex color will look
on a black background.