In RGB color space, #840cd1 hex color has a red value of 132, a green value of 12 and a blue value of 209.
In CMYK color space (used in color printing), #840cd1 hex color is composed of 36.84% cyan, 94.26% magenta, 0% yellow and 18.04% black.
#840cd1 color has a hue of 276.5 degrees, a saturation of 89.14% and a lightness of 43.3%.
#840cd1 hex color contains mainly BLUE.
The closest web safe color of #840cd1 is #9900cc
#840cd1 hex color has a decimal value of 8654033.
HEX | 840cd1 | #840cd1 |
---|---|---|
RGB | 132, 12, 209 | rgb(132, 12, 209) |
RGB Percent | 51.76, 4.71, 81.96 | rgb(51.76, 4.71, 81.96) |
CMYK | 37, 94, 0, 18 | |
HSL | 276.5°, 89.14, 43.3 | hsl(276.5, 89.14%, 43.3%) |
HSV | 276.5°, 94.3, 82 |
XYZ | 21.156, 9.772, 61.093 |
---|---|
Hunter Lab | 31.26, 66.098, -93.991 |
CIE-LAB | 37.43, 72.716, -72.837 |
CIE-LCH | 37.43, 102.922, 314.952 |
CIE-LUV | 36.84, 94.26, 0, 18.04 |
Web Safe | 9900cc |
RGB percent of color #840cd1
CMYK percent of color #840cd1
Text with hexadecimal color #840cd1
This text has a font color of #840cd1
<p style="color:#840cd1">Text here</p>
#840cd1 Background Color
This box has a background color of #840cd1
<div style="background-color:#840cd1">Text here</div>
#840cd1 Border Color
This box has a border color of #840cd1
<div style="border: 4px solid #840cd1">Text here</div>
CSS codes
<p style="color:#840cd1">Text here</p>
<div style="background-color:#840cd1">Text here</div>
<div style="border: 4px solid #840cd1">Text here</div>
#840cd1 Color on white background
This is how a font and box color of #840cd1 will look
on a white background.
#840cd1 Color on black background
This is how a font and box color of #840cd1 hex color will look
on a black background.