In RGB color space, #840fd1 hex color has a red value of 132, a green value of 15 and a blue value of 209.
In CMYK color space (used in color printing), #840fd1 hex color is composed of 36.84% cyan, 92.82% magenta, 0% yellow and 18.04% black.
#840fd1 color has a hue of 276.2 degrees, a saturation of 86.61% and a lightness of 43.9%.
#840fd1 hex color contains mainly BLUE.
The closest web safe color of #840fd1 is #9900cc
#840fd1 hex color has a decimal value of 8654801.
HEX | 840fd1 | #840fd1 |
---|---|---|
RGB | 132, 15, 209 | rgb(132, 15, 209) |
RGB Percent | 51.76, 5.88, 81.96 | rgb(51.76, 5.88, 81.96) |
CMYK | 37, 93, 0, 18 | |
HSL | 276.2°, 86.61, 43.9 | hsl(276.2, 86.61%, 43.9%) |
HSV | 276.2°, 92.8, 82 |
XYZ | 21.195, 9.851, 61.106 |
---|---|
Hunter Lab | 31.386, 65.614, -93.461 |
CIE-LAB | 37.574, 72.283, -72.601 |
CIE-LCH | 37.574, 102.449, 314.874 |
CIE-LUV | 36.84, 92.82, 0, 18.04 |
Web Safe | 9900cc |
RGB percent of color #840fd1
CMYK percent of color #840fd1
Text with hexadecimal color #840fd1
This text has a font color of #840fd1
<p style="color:#840fd1">Text here</p>
#840fd1 Background Color
This box has a background color of #840fd1
<div style="background-color:#840fd1">Text here</div>
#840fd1 Border Color
This box has a border color of #840fd1
<div style="border: 4px solid #840fd1">Text here</div>
CSS codes
<p style="color:#840fd1">Text here</p>
<div style="background-color:#840fd1">Text here</div>
<div style="border: 4px solid #840fd1">Text here</div>
#840fd1 Color on white background
This is how a font and box color of #840fd1 will look
on a white background.
#840fd1 Color on black background
This is how a font and box color of #840fd1 hex color will look
on a black background.