#840ec4 hex color
In a RGB color space, hex #840ec4 is composed of 51.8% red, 5.5% green and 76.9% blue. Whereas in a CMYK color space, it is composed of 32.7% cyan, 92.9% magenta, 0% yellow and 23.1% black. It has a hue angle of 278.9 degrees, a saturation of 86.7% and a lightness of 41.2%. #840ec4 color hex could be obtained by blending #ff1cff with #090089. Closest websafe color is: #9900cc.
-
- R 52
- G 5
- B 77
RGB color chart
-
- C 33
- M 93
- Y 0
- K 23
CMYK color chart
● #840ec4 color description : Strong violet.
The hexadecimal color #840ec4 has RGB values of R:132, G:14, B:196 and CMYK values of C:0.33, M:0.93, Y:0, K:0.23. Its decimal value is 8654532.
Hex triplet | 840ec4 | #840ec4 |
---|---|---|
RGB Decimal | 132, 14, 196 | rgb(132,14,196) |
RGB Percent | 51.8, 5.5, 76.9 | rgb(51.8%,5.5%,76.9%) |
CMYK | 33, 93, 0, 23 | |
HSL | 278.9°, 86.7, 41.2 | hsl(278.9,86.7%,41.2%) |
HSV (or HSB) | 278.9°, 92.9, 76.9 | |
Web Safe | 9900cc | #9900cc |
CIE-LAB | 36.377, 69.812, -66.985 |
---|---|
XYZ | 19.635, 9.206, 52.964 |
xyY | 0.24, 0.113, 9.206 |
CIE-LCH | 36.377, 96.751, 316.184 |
CIE-LUV | 36.377, 23.752, -97.729 |
Hunter-Lab | 30.341, 62.421, -82.26 |
Binary | 10000100, 00001110, 11000100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840ec4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840ec4
This text has a font color of #840ec4.
<span style="color:#840ec4;">Text here</span>
#840ec4 background color
This paragraph has a background color of #840ec4.
<p style="background-color:#840ec4;">Content here</p>
#840ec4 border color
This element has a border color of #840ec4.
<div style="border:1px solid #840ec4;">Content here</div>
CSS codes
.text {color:#840ec4;}
.background {background-color:#840ec4;}
.border {border:1px solid #840ec4;}
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, #09010d is the darkest color, while #fdfaff is the lightest one.
-
#09010d
#09010d
rgb(9,1,13)
-
#15021f
#15021f
rgb(21,2,31)
-
#210432
#210432
rgb(33,4,50)
-
#2e0544
#2e0544
rgb(46,5,68)
-
#3a0656
#3a0656
rgb(58,6,86)
-
#460768
#460768
rgb(70,7,104)
-
#53097b
#53097b
rgb(83,9,123)
-
#5f0a8d
#5f0a8d
rgb(95,10,141)
-
#6b0b9f
#6b0b9f
rgb(107,11,159)
-
#780db2
#780db2
rgb(120,13,178)
-
#840ec4
#840ec4
rgb(132,14,196)
-
#900fd6
#900fd6
rgb(144,15,214)
-
#9d11e9
#9d11e9
rgb(157,17,233)
Shade Color Variation
-
#a51eef
#a51eef
rgb(165,30,239)
-
#ad30f0
#ad30f0
rgb(173,48,240)
-
#b443f2
#b443f2
rgb(180,67,242)
-
#bb55f3
#bb55f3
rgb(187,85,243)
-
#c367f4
#c367f4
rgb(195,103,244)
-
#ca79f5
#ca79f5
rgb(202,121,245)
-
#d18cf7
#d18cf7
rgb(209,140,247)
-
#d89ef8
#d89ef8
rgb(216,158,248)
-
#e0b0f9
#e0b0f9
rgb(224,176,249)
-
#e7c3fb
#e7c3fb
rgb(231,195,251)
-
#eed5fc
#eed5fc
rgb(238,213,252)
-
#f6e7fd
#f6e7fd
rgb(246,231,253)
-
#fdfaff
#fdfaff
rgb(253,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6a676b is the less saturated color, while #8606cc is the most saturated one.
-
#6a676b
#6a676b
rgb(106,103,107)
-
#6c5f73
#6c5f73
rgb(108,95,115)
-
#6e577b
#6e577b
rgb(110,87,123)
-
#714f83
#714f83
rgb(113,79,131)
-
#73478b
#73478b
rgb(115,71,139)
-
#763e94
#763e94
rgb(118,62,148)
-
#78369c
#78369c
rgb(120,54,156)
-
#7a2ea4
#7a2ea4
rgb(122,46,164)
-
#7d26ac
#7d26ac
rgb(125,38,172)
-
#7f1eb4
#7f1eb4
rgb(127,30,180)
-
#8216bc
#8216bc
rgb(130,22,188)
-
#840ec4
#840ec4
rgb(132,14,196)
-
#8606cc
#8606cc
rgb(134,6,204)
Tone Color Variation
Below, you can see how #840ec4 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