#842ba2 hex color
In a RGB color space, hex #842ba2 is composed of 51.8% red, 16.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 18.5% cyan, 73.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 284.9 degrees, a saturation of 58% and a lightness of 40.2%. #842ba2 color hex could be obtained by blending #ff56ff with #090045. Closest websafe color is: #993399.
-
- R 52
- G 17
- B 64
RGB color chart
-
- C 19
- M 73
- Y 0
- K 36
CMYK color chart
● #842ba2 color description : Dark violet.
The hexadecimal color #842ba2 has RGB values of R:132, G:43, B:162 and CMYK values of C:0.19, M:0.73, Y:0, K:0.36. Its decimal value is 8661922.
Hex triplet | 842ba2 | #842ba2 |
---|---|---|
RGB Decimal | 132, 43, 162 | rgb(132,43,162) |
RGB Percent | 51.8, 16.9, 63.5 | rgb(51.8%,16.9%,63.5%) |
CMYK | 19, 73, 0, 36 | |
HSL | 284.9°, 58, 40.2 | hsl(284.9,58%,40.2%) |
HSV (or HSB) | 284.9°, 73.5, 63.5 | |
Web Safe | 993399 | #993399 |
CIE-LAB | 36.447, 55.096, -46.674 |
---|---|
XYZ | 16.9, 9.243, 35.074 |
xyY | 0.276, 0.151, 9.243 |
CIE-LCH | 36.447, 72.208, 319.731 |
CIE-LUV | 36.447, 29.095, -70.757 |
Hunter-Lab | 30.402, 46.026, -47.121 |
Binary | 10000100, 00101011, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #842ba2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #842ba2
This text has a font color of #842ba2.
<span style="color:#842ba2;">Text here</span>
#842ba2 background color
This paragraph has a background color of #842ba2.
<p style="background-color:#842ba2;">Content here</p>
#842ba2 border color
This element has a border color of #842ba2.
<div style="border:1px solid #842ba2;">Content here</div>
CSS codes
.text {color:#842ba2;}
.background {background-color:#842ba2;}
.border {border:1px solid #842ba2;}
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, #060207 is the darkest color, while #fbf6fd is the lightest one.
-
#060207
#060207
rgb(6,2,7)
-
#120616
#120616
rgb(18,6,22)
-
#1f0a26
#1f0a26
rgb(31,10,38)
-
#2c0e35
#2c0e35
rgb(44,14,53)
-
#381245
#381245
rgb(56,18,69)
-
#451654
#451654
rgb(69,22,84)
-
#511b64
#511b64
rgb(81,27,100)
-
#5e1f73
#5e1f73
rgb(94,31,115)
-
#6b2383
#6b2383
rgb(107,35,131)
-
#772792
#772792
rgb(119,39,146)
-
#842ba2
#842ba2
rgb(132,43,162)
-
#912fb2
#912fb2
rgb(145,47,178)
-
#9d33c1
#9d33c1
rgb(157,51,193)
Shade Color Variation
-
#a73ccb
#a73ccb
rgb(167,60,203)
-
#ae4ccf
#ae4ccf
rgb(174,76,207)
-
#b55bd4
#b55bd4
rgb(181,91,212)
-
#bc6bd8
#bc6bd8
rgb(188,107,216)
-
#c37adc
#c37adc
rgb(195,122,220)
-
#ca8ae0
#ca8ae0
rgb(202,138,224)
-
#d199e4
#d199e4
rgb(209,153,228)
-
#d8a9e8
#d8a9e8
rgb(216,169,232)
-
#dfb8ec
#dfb8ec
rgb(223,184,236)
-
#e6c8f0
#e6c8f0
rgb(230,200,240)
-
#edd7f5
#edd7f5
rgb(237,215,245)
-
#f4e7f9
#f4e7f9
rgb(244,231,249)
-
#fbf6fd
#fbf6fd
rgb(251,246,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #69626b is the less saturated color, while #9804c9 is the most saturated one.
-
#69626b
#69626b
rgb(105,98,107)
-
#6d5a73
#6d5a73
rgb(109,90,115)
-
#70527b
#70527b
rgb(112,82,123)
-
#744b82
#744b82
rgb(116,75,130)
-
#78438a
#78438a
rgb(120,67,138)
-
#7c3b92
#7c3b92
rgb(124,59,146)
-
#80339a
#80339a
rgb(128,51,154)
-
#842ba2
#842ba2
rgb(132,43,162)
-
#8823aa
#8823aa
rgb(136,35,170)
-
#8c1bb2
#8c1bb2
rgb(140,27,178)
-
#9013ba
#9013ba
rgb(144,19,186)
-
#940bc2
#940bc2
rgb(148,11,194)
-
#9804c9
#9804c9
rgb(152,4,201)
Tone Color Variation
Below, you can see how #842ba2 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