#840cd1 hex color
In a RGB color space, hex #840cd1 is composed of 51.8% red, 4.7% green and 82% blue. Whereas in a CMYK color space, it is composed of 36.8% cyan, 94.3% magenta, 0% yellow and 18% black. It has a hue angle of 276.5 degrees, a saturation of 89.1% and a lightness of 43.3%. #840cd1 color hex could be obtained by blending #ff18ff with #0900a3. Closest websafe color is: #9900cc.
-
- R 52
- G 5
- B 82
RGB color chart
-
- C 37
- M 94
- Y 0
- K 18
CMYK color chart
● #840cd1 color description : Strong violet.
The hexadecimal color #840cd1 has RGB values of R:132, G:12, B:209 and CMYK values of C:0.37, M:0.94, Y:0, K:0.18. Its decimal value is 8654033.
Hex triplet | 840cd1 | #840cd1 |
---|---|---|
RGB Decimal | 132, 12, 209 | rgb(132,12,209) |
RGB Percent | 51.8, 4.7, 82 | rgb(51.8%,4.7%,82%) |
CMYK | 37, 94, 0, 18 | |
HSL | 276.5°, 89.1, 43.3 | hsl(276.5,89.1%,43.3%) |
HSV (or HSB) | 276.5°, 94.3, 82 | |
Web Safe | 9900cc | #9900cc |
CIE-LAB | 37.431, 72.704, -72.834 |
---|---|
XYZ | 21.154, 9.772, 61.09 |
xyY | 0.23, 0.106, 9.772 |
CIE-LCH | 37.431, 102.911, 314.949 |
CIE-LUV | 37.431, 21.034, -105.967 |
Hunter-Lab | 31.261, 66.085, -93.983 |
Binary | 10000100, 00001100, 11010001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840cd1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840cd1
This text has a font color of #840cd1.
<span style="color:#840cd1;">Text here</span>
#840cd1 background color
This paragraph has a background color of #840cd1.
<p style="background-color:#840cd1;">Content here</p>
#840cd1 border color
This element has a border color of #840cd1.
<div style="border:1px solid #840cd1;">Content here</div>
CSS codes
.text {color:#840cd1;}
.background {background-color:#840cd1;}
.border {border:1px solid #840cd1;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #030005 is the darkest color, while #f9f1fe is the lightest one.
-
#030005
#030005
rgb(3,0,5)
-
#0f0117
#0f0117
rgb(15,1,23)
-
#1b022a
#1b022a
rgb(27,2,42)
-
#26033d
#26033d
rgb(38,3,61)
-
#32054f
#32054f
rgb(50,5,79)
-
#3e0662
#3e0662
rgb(62,6,98)
-
#490774
#490774
rgb(73,7,116)
-
#550887
#550887
rgb(85,8,135)
-
#610999
#610999
rgb(97,9,153)
-
#6d0aac
#6d0aac
rgb(109,10,172)
-
#780bbe
#780bbe
rgb(120,11,190)
-
#840cd1
#840cd1
rgb(132,12,209)
-
#900de4
#900de4
rgb(144,13,228)
Shade Color Variation
-
#9a13f1
#9a13f1
rgb(154,19,241)
-
#a225f3
#a225f3
rgb(162,37,243)
-
#aa38f4
#aa38f4
rgb(170,56,244)
-
#b24af5
#b24af5
rgb(178,74,245)
-
#ba5df6
#ba5df6
rgb(186,93,246)
-
#c270f7
#c270f7
rgb(194,112,247)
-
#ca82f8
#ca82f8
rgb(202,130,248)
-
#d295f9
#d295f9
rgb(210,149,249)
-
#daa7fa
#daa7fa
rgb(218,167,250)
-
#e2bafb
#e2bafb
rgb(226,186,251)
-
#e9ccfc
#e9ccfc
rgb(233,204,252)
-
#f1dffd
#f1dffd
rgb(241,223,253)
-
#f9f1fe
#f9f1fe
rgb(249,241,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #706a74 is the less saturated color, while #8604da is the most saturated one.
-
#706a74
#706a74
rgb(112,106,116)
-
#71617c
#71617c
rgb(113,97,124)
-
#735985
#735985
rgb(115,89,133)
-
#75508d
#75508d
rgb(117,80,141)
-
#774896
#774896
rgb(119,72,150)
-
#793f9e
#793f9e
rgb(121,63,158)
-
#7b37a7
#7b37a7
rgb(123,55,167)
-
#7d2eaf
#7d2eaf
rgb(125,46,175)
-
#7e26b8
#7e26b8
rgb(126,38,184)
-
#801dc0
#801dc0
rgb(128,29,192)
-
#8215c9
#8215c9
rgb(130,21,201)
-
#840cd1
#840cd1
rgb(132,12,209)
-
#8604da
#8604da
rgb(134,4,218)
Tone Color Variation
Below, you can see how #840cd1 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy