In RGB color space, #840fb1 hex color has a red value of 132, a green value of 15 and a blue value of 177.
In CMYK color space (used in color printing), #840fb1 hex color is composed of 25.42% cyan, 91.53% magenta, 0% yellow and 30.59% black.
#840fb1 color has a hue of 283.3 degrees, a saturation of 84.38% and a lightness of 37.6%.
#840fb1 hex color contains mainly BLUE.
The closest web safe color of #840fb1 is #990099
#840fb1 hex color has a decimal value of 8654769.
HEX | 840fb1 | #840fb1 |
---|---|---|
RGB | 132, 15, 177 | rgb(132, 15, 177) |
RGB Percent | 51.76, 5.88, 69.41 | rgb(51.76, 5.88, 69.41) |
CMYK | 25, 92, 0, 31 | |
HSL | 283.3°, 84.38, 37.6 | hsl(283.3, 84.38%, 37.6%) |
HSV | 283.3°, 91.5, 69.4 |
XYZ | 17.622, 8.422, 42.292 |
---|---|
Hunter Lab | 29.021, 57.603, -66.089 |
CIE-LAB | 34.847, 65.941, -58.258 |
CIE-LCH | 34.847, 87.99, 318.54 |
CIE-LUV | 25.42, 91.53, 0, 30.59 |
Web Safe | 990099 |
RGB percent of color #840fb1
CMYK percent of color #840fb1
Text with hexadecimal color #840fb1
This text has a font color of #840fb1
<p style="color:#840fb1">Text here</p>
#840fb1 Background Color
This box has a background color of #840fb1
<div style="background-color:#840fb1">Text here</div>
#840fb1 Border Color
This box has a border color of #840fb1
<div style="border: 4px solid #840fb1">Text here</div>
CSS codes
<p style="color:#840fb1">Text here</p>
<div style="background-color:#840fb1">Text here</div>
<div style="border: 4px solid #840fb1">Text here</div>
#840fb1 Color on white background
This is how a font and box color of #840fb1 will look
on a white background.
#840fb1 Color on black background
This is how a font and box color of #840fb1 hex color will look
on a black background.