#840ba2 hex color
In a RGB color space, hex #840ba2 is composed of 51.8% red, 4.3% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 18.5% cyan, 93.2% magenta, 0% yellow and 36.5% black. It has a hue angle of 288.1 degrees, a saturation of 87.3% and a lightness of 33.9%. #840ba2 color hex could be obtained by blending #ff16ff with #090045. Closest websafe color is: #990099.
-
- R 52
- G 4
- B 64
RGB color chart
-
- C 19
- M 93
- Y 0
- K 36
CMYK color chart
● #840ba2 color description : Dark magenta.
The hexadecimal color #840ba2 has RGB values of R:132, G:11, B:162 and CMYK values of C:0.19, M:0.93, Y:0, K:0.36. Its decimal value is 8653730.
Hex triplet | 840ba2 | #840ba2 |
---|---|---|
RGB Decimal | 132, 11, 162 | rgb(132,11,162) |
RGB Percent | 51.8, 4.3, 63.5 | rgb(51.8%,4.3%,63.5%) |
CMYK | 19, 93, 0, 36 | |
HSL | 288.1°, 87.3, 33.9 | hsl(288.1,87.3%,33.9%) |
HSV (or HSB) | 288.1°, 93.2, 63.5 | |
Web Safe | 990099 | #990099 |
CIE-LAB | 33.466, 63.758, -51.491 |
---|---|
XYZ | 16.156, 7.754, 34.826 |
xyY | 0.275, 0.132, 7.754 |
CIE-LCH | 33.466, 81.954, 321.076 |
CIE-LUV | 33.466, 32.585, -75.615 |
Hunter-Lab | 27.846, 54.832, -54.658 |
Binary | 10000100, 00001011, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840ba2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840ba2
This text has a font color of #840ba2.
<span style="color:#840ba2;">Text here</span>
#840ba2 background color
This paragraph has a background color of #840ba2.
<p style="background-color:#840ba2;">Content here</p>
#840ba2 border color
This element has a border color of #840ba2.
<div style="border:1px solid #840ba2;">Content here</div>
CSS codes
.text {color:#840ba2;}
.background {background-color:#840ba2;}
.border {border:1px solid #840ba2;}
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, #0c010f is the darkest color, while #fefcff is the lightest one.
-
#0c010f
#0c010f
rgb(12,1,15)
-
#1b0221
#1b0221
rgb(27,2,33)
-
#2a0434
#2a0434
rgb(42,4,52)
-
#390546
#390546
rgb(57,5,70)
-
#480659
#480659
rgb(72,6,89)
-
#57076b
#57076b
rgb(87,7,107)
-
#66097d
#66097d
rgb(102,9,125)
-
#750a90
#750a90
rgb(117,10,144)
-
#840ba2
#840ba2
rgb(132,11,162)
-
#930cb4
#930cb4
rgb(147,12,180)
-
#a20dc7
#a20dc7
rgb(162,13,199)
-
#b10fd9
#b10fd9
rgb(177,15,217)
-
#c010eb
#c010eb
rgb(192,16,235)
Shade Color Variation
-
#c61ff0
#c61ff0
rgb(198,31,240)
-
#cb32f1
#cb32f1
rgb(203,50,241)
-
#d044f2
#d044f2
rgb(208,68,242)
-
#d456f4
#d456f4
rgb(212,86,244)
-
#d969f5
#d969f5
rgb(217,105,245)
-
#de7bf6
#de7bf6
rgb(222,123,246)
-
#e28df7
#e28df7
rgb(226,141,247)
-
#e7a0f9
#e7a0f9
rgb(231,160,249)
-
#ecb2fa
#ecb2fa
rgb(236,178,250)
-
#f0c5fb
#f0c5fb
rgb(240,197,251)
-
#f5d7fc
#f5d7fc
rgb(245,215,252)
-
#fae9fe
#fae9fe
rgb(250,233,254)
-
#fefcff
#fefcff
rgb(254,252,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #585459 is the less saturated color, while #8804a9 is the most saturated one.
-
#585459
#585459
rgb(88,84,89)
-
#5c4e5f
#5c4e5f
rgb(92,78,95)
-
#604766
#604766
rgb(96,71,102)
-
#64406d
#64406d
rgb(100,64,109)
-
#683a73
#683a73
rgb(104,58,115)
-
#6c337a
#6c337a
rgb(108,51,122)
-
#702c81
#702c81
rgb(112,44,129)
-
#742687
#742687
rgb(116,38,135)
-
#781f8e
#781f8e
rgb(120,31,142)
-
#7c1895
#7c1895
rgb(124,24,149)
-
#80129b
#80129b
rgb(128,18,155)
-
#840ba2
#840ba2
rgb(132,11,162)
-
#8804a9
#8804a9
rgb(136,4,169)
Tone Color Variation
Below, you can see how #840ba2 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