In RGB color space, #840fa1 hex color has a red value of 132, a green value of 15 and a blue value of 161.
In CMYK color space (used in color printing), #840fa1 hex color is composed of 18.01% cyan, 90.68% magenta, 0% yellow and 36.86% black.
#840fa1 color has a hue of 288.1 degrees, a saturation of 82.95% and a lightness of 34.5%.
#840fa1 hex color contains mainly BLUE.
The closest web safe color of #840fa1 is #990099
#840fa1 hex color has a decimal value of 8654753.
HEX | 840fa1 | #840fa1 |
---|---|---|
RGB | 132, 15, 161 | rgb(132, 15, 161) |
RGB Percent | 51.76, 5.88, 63.14 | rgb(51.76, 5.88, 63.14) |
CMYK | 18, 91, 0, 37 | |
HSL | 288.1°, 82.95, 34.5 | hsl(288.1, 82.95%, 34.5%) |
HSV | 288.1°, 90.7, 63.1 |
XYZ | 16.12, 7.82, 34.378 |
---|---|
Hunter Lab | 27.964, 53.959, -53.313 |
CIE-LAB | 33.605, 62.95, -50.661 |
CIE-LCH | 33.605, 80.804, 321.174 |
CIE-LUV | 18.01, 90.68, 0, 36.86 |
Web Safe | 990099 |
RGB percent of color #840fa1
CMYK percent of color #840fa1
Text with hexadecimal color #840fa1
This text has a font color of #840fa1
<p style="color:#840fa1">Text here</p>
#840fa1 Background Color
This box has a background color of #840fa1
<div style="background-color:#840fa1">Text here</div>
#840fa1 Border Color
This box has a border color of #840fa1
<div style="border: 4px solid #840fa1">Text here</div>
CSS codes
<p style="color:#840fa1">Text here</p>
<div style="background-color:#840fa1">Text here</div>
<div style="border: 4px solid #840fa1">Text here</div>
#840fa1 Color on white background
This is how a font and box color of #840fa1 will look
on a white background.
#840fa1 Color on black background
This is how a font and box color of #840fa1 hex color will look
on a black background.