#842a9b hex color
In a RGB color space, hex #842a9b is composed of 51.8% red, 16.5% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 14.8% cyan, 72.9% magenta, 0% yellow and 39.2% black. It has a hue angle of 287.8 degrees, a saturation of 57.4% and a lightness of 38.6%. #842a9b color hex could be obtained by blending #ff54ff with #090037. Closest websafe color is: #993399.
-
- R 52
- G 16
- B 61
RGB color chart
-
- C 15
- M 73
- Y 0
- K 39
CMYK color chart
● #842a9b color description : Dark magenta.
The hexadecimal color #842a9b has RGB values of R:132, G:42, B:155 and CMYK values of C:0.15, M:0.73, Y:0, K:0.39. Its decimal value is 8661659.
Hex triplet | 842a9b | #842a9b |
---|---|---|
RGB Decimal | 132, 42, 155 | rgb(132,42,155) |
RGB Percent | 51.8, 16.5, 60.8 | rgb(51.8%,16.5%,60.8%) |
CMYK | 15, 73, 0, 39 | |
HSL | 287.8°, 57.4, 38.6 | hsl(287.8,57.4%,38.6%) |
HSV (or HSB) | 287.8°, 72.9, 60.8 | |
Web Safe | 993399 | #993399 |
CIE-LAB | 35.847, 54.084, -43.408 |
---|---|
XYZ | 16.259, 8.929, 31.876 |
xyY | 0.285, 0.156, 8.929 |
CIE-LCH | 35.847, 69.349, 321.249 |
CIE-LUV | 35.847, 31.1, -65.908 |
Hunter-Lab | 29.881, 44.837, -42.331 |
Binary | 10000100, 00101010, 10011011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #842a9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #842a9b
This text has a font color of #842a9b.
<span style="color:#842a9b;">Text here</span>
#842a9b background color
This paragraph has a background color of #842a9b.
<p style="background-color:#842a9b;">Content here</p>
#842a9b border color
This element has a border color of #842a9b.
<div style="border:1px solid #842a9b;">Content here</div>
CSS codes
.text {color:#842a9b;}
.background {background-color:#842a9b;}
.border {border:1px solid #842a9b;}
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, #010001 is the darkest color, while #f9f0fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0e0410
#0e0410
rgb(14,4,16)
-
#1b0920
#1b0920
rgb(27,9,32)
-
#280d2f
#280d2f
rgb(40,13,47)
-
#35113e
#35113e
rgb(53,17,62)
-
#42154e
#42154e
rgb(66,21,78)
-
#4f195d
#4f195d
rgb(79,25,93)
-
#5d1d6d
#5d1d6d
rgb(93,29,109)
-
#6a227c
#6a227c
rgb(106,34,124)
-
#77268c
#77268c
rgb(119,38,140)
-
#842a9b
#842a9b
rgb(132,42,155)
-
#912eaa
#912eaa
rgb(145,46,170)
-
#9e32ba
#9e32ba
rgb(158,50,186)
Shade Color Variation
-
#ab37c9
#ab37c9
rgb(171,55,201)
-
#b246cd
#b246cd
rgb(178,70,205)
-
#b856d1
#b856d1
rgb(184,86,209)
-
#bf65d5
#bf65d5
rgb(191,101,213)
-
#c575da
#c575da
rgb(197,117,218)
-
#cc84de
#cc84de
rgb(204,132,222)
-
#d294e2
#d294e2
rgb(210,148,226)
-
#d8a3e6
#d8a3e6
rgb(216,163,230)
-
#dfb2ea
#dfb2ea
rgb(223,178,234)
-
#e5c2ee
#e5c2ee
rgb(229,194,238)
-
#ecd1f3
#ecd1f3
rgb(236,209,243)
-
#f2e1f7
#f2e1f7
rgb(242,225,247)
-
#f9f0fb
#f9f0fb
rgb(249,240,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #655f66 is the less saturated color, while #9a04c1 is the most saturated one.
-
#655f66
#655f66
rgb(101,95,102)
-
#69576e
#69576e
rgb(105,87,110)
-
#6e5075
#6e5075
rgb(110,80,117)
-
#72487d
#72487d
rgb(114,72,125)
-
#774184
#774184
rgb(119,65,132)
-
#7b398c
#7b398c
rgb(123,57,140)
-
#803293
#803293
rgb(128,50,147)
-
#842a9b
#842a9b
rgb(132,42,155)
-
#8822a3
#8822a3
rgb(136,34,163)
-
#8d1baa
#8d1baa
rgb(141,27,170)
-
#9113b2
#9113b2
rgb(145,19,178)
-
#960cb9
#960cb9
rgb(150,12,185)
-
#9a04c1
#9a04c1
rgb(154,4,193)
Tone Color Variation
Below, you can see how #842a9b 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