In RGB color space, #840f8a hex color has a red value of 132, a green value of 15 and a blue value of 138.
In CMYK color space (used in color printing), #840f8a hex color is composed of 4.35% cyan, 89.13% magenta, 0% yellow and 45.88% black.
#840f8a color has a hue of 297.1 degrees, a saturation of 80.39% and a lightness of 30%.
#840f8a hex color contains mainly BLUE.
The closest web safe color of #840f8a is #990099
#840f8a hex color has a decimal value of 8654730.
HEX | 840f8a | #840f8a |
---|---|---|
RGB | 132, 15, 138 | rgb(132, 15, 138) |
RGB Percent | 51.76, 5.88, 54.12 | rgb(51.76, 5.88, 54.12) |
CMYK | 4, 89, 0, 46 | |
HSL | 297.1°, 80.39, 30 | hsl(297.1, 80.39%, 30%) |
HSV | 297.1°, 89.1, 54.1 |
XYZ | 14.274, 7.082, 24.659 |
---|---|
Hunter Lab | 26.612, 49.172, -36.31 |
CIE-LAB | 31.993, 58.904, -39.163 |
CIE-LCH | 31.993, 70.735, 326.382 |
CIE-LUV | 4.35, 89.13, 0, 45.88 |
Web Safe | 990099 |
RGB percent of color #840f8a
CMYK percent of color #840f8a
Text with hexadecimal color #840f8a
This text has a font color of #840f8a
<p style="color:#840f8a">Text here</p>
#840f8a Background Color
This box has a background color of #840f8a
<div style="background-color:#840f8a">Text here</div>
#840f8a Border Color
This box has a border color of #840f8a
<div style="border: 4px solid #840f8a">Text here</div>
CSS codes
<p style="color:#840f8a">Text here</p>
<div style="background-color:#840f8a">Text here</div>
<div style="border: 4px solid #840f8a">Text here</div>
#840f8a Color on white background
This is how a font and box color of #840f8a will look
on a white background.
#840f8a Color on black background
This is how a font and box color of #840f8a hex color will look
on a black background.