#840ba6 hex color
In a RGB color space, hex #840ba6 is composed of 51.8% red, 4.3% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 20.5% cyan, 93.4% magenta, 0% yellow and 34.9% black. It has a hue angle of 286.8 degrees, a saturation of 87.6% and a lightness of 34.7%. #840ba6 color hex could be obtained by blending #ff16ff with #09004d. Closest websafe color is: #990099.
-
- R 52
- G 4
- B 65
RGB color chart
-
- C 20
- M 93
- Y 0
- K 35
CMYK color chart
● #840ba6 color description : Dark magenta.
The hexadecimal color #840ba6 has RGB values of R:132, G:11, B:166 and CMYK values of C:0.2, M:0.93, Y:0, K:0.35. Its decimal value is 8653734.
Hex triplet | 840ba6 | #840ba6 |
---|---|---|
RGB Decimal | 132, 11, 166 | rgb(132,11,166) |
RGB Percent | 51.8, 4.3, 65.1 | rgb(51.8%,4.3%,65.1%) |
CMYK | 20, 93, 0, 35 | |
HSL | 286.8°, 87.6, 34.7 | hsl(286.8,87.6%,34.7%) |
HSV (or HSB) | 286.8°, 93.4, 65.1 | |
Web Safe | 990099 | #990099 |
CIE-LAB | 33.771, 64.491, -53.411 |
---|---|
XYZ | 16.518, 7.899, 36.729 |
xyY | 0.27, 0.129, 7.899 |
CIE-LCH | 33.771, 83.737, 320.369 |
CIE-LUV | 33.771, 31.447, -78.321 |
Hunter-Lab | 28.105, 55.723, -57.81 |
Binary | 10000100, 00001011, 10100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840ba6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840ba6
This text has a font color of #840ba6.
<span style="color:#840ba6;">Text here</span>
#840ba6 background color
This paragraph has a background color of #840ba6.
<p style="background-color:#840ba6;">Content here</p>
#840ba6 border color
This element has a border color of #840ba6.
<div style="border:1px solid #840ba6;">Content here</div>
CSS codes
.text {color:#840ba6;}
.background {background-color:#840ba6;}
.border {border:1px solid #840ba6;}
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, #000000 is the darkest color, while #faedfe is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#0f0113
#0f0113
rgb(15,1,19)
-
#1e0225
#1e0225
rgb(30,2,37)
-
#2c0438
#2c0438
rgb(44,4,56)
-
#3b054a
#3b054a
rgb(59,5,74)
-
#49065c
#49065c
rgb(73,6,92)
-
#58076f
#58076f
rgb(88,7,111)
-
#670981
#670981
rgb(103,9,129)
-
#750a94
#750a94
rgb(117,10,148)
-
#840ba6
#840ba6
rgb(132,11,166)
-
#930cb8
#930cb8
rgb(147,12,184)
-
#a10dcb
#a10dcb
rgb(161,13,203)
-
#b00fdd
#b00fdd
rgb(176,15,221)
Shade Color Variation
-
#be10ef
#be10ef
rgb(190,16,239)
-
#c323f0
#c323f0
rgb(195,35,240)
-
#c835f2
#c835f2
rgb(200,53,242)
-
#cd47f3
#cd47f3
rgb(205,71,243)
-
#d25af4
#d25af4
rgb(210,90,244)
-
#d76cf5
#d76cf5
rgb(215,108,245)
-
#dc7ff6
#dc7ff6
rgb(220,127,246)
-
#e191f8
#e191f8
rgb(225,145,248)
-
#e6a3f9
#e6a3f9
rgb(230,163,249)
-
#ebb6fa
#ebb6fa
rgb(235,182,250)
-
#f0c8fb
#f0c8fb
rgb(240,200,251)
-
#f5dbfd
#f5dbfd
rgb(245,219,253)
-
#faedfe
#faedfe
rgb(250,237,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a565b is the less saturated color, while #8804ad is the most saturated one.
-
#5a565b
#5a565b
rgb(90,86,91)
-
#5e4f62
#5e4f62
rgb(94,79,98)
-
#624869
#624869
rgb(98,72,105)
-
#654170
#654170
rgb(101,65,112)
-
#693b76
#693b76
rgb(105,59,118)
-
#6d347d
#6d347d
rgb(109,52,125)
-
#712d84
#712d84
rgb(113,45,132)
-
#75268b
#75268b
rgb(117,38,139)
-
#791f92
#791f92
rgb(121,31,146)
-
#7c1998
#7c1998
rgb(124,25,152)
-
#80129f
#80129f
rgb(128,18,159)
-
#840ba6
#840ba6
rgb(132,11,166)
-
#8804ad
#8804ad
rgb(136,4,173)
Tone Color Variation
Below, you can see how #840ba6 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