#7f42a9 hex color
In a RGB color space, hex #7f42a9 is composed of 49.8% red, 25.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 24.9% cyan, 60.9% magenta, 0% yellow and 33.7% black. It has a hue angle of 275.5 degrees, a saturation of 43.8% and a lightness of 46.1%. #7f42a9 color hex could be obtained by blending #fe84ff with #000053. Closest websafe color is: #663399.
-
- R 50
- G 26
- B 66
RGB color chart
-
- C 25
- M 61
- Y 0
- K 34
CMYK color chart
● #7f42a9 color description : Dark moderate violet.
The hexadecimal color #7f42a9 has RGB values of R:127, G:66, B:169 and CMYK values of C:0.25, M:0.61, Y:0, K:0.34. Its decimal value is 8340137.
Hex triplet | 7f42a9 | #7f42a9 |
---|---|---|
RGB Decimal | 127, 66, 169 | rgb(127,66,169) |
RGB Percent | 49.8, 25.9, 66.3 | rgb(49.8%,25.9%,66.3%) |
CMYK | 25, 61, 0, 34 | |
HSL | 275.5°, 43.8, 46.1 | hsl(275.5,43.8%,46.1%) |
HSV (or HSB) | 275.5°, 60.9, 66.3 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 40.037, 44.851, -45.139 |
---|---|
XYZ | 17.861, 11.273, 38.769 |
xyY | 0.263, 0.166, 11.273 |
CIE-LCH | 40.037, 63.633, 314.817 |
CIE-LUV | 40.037, 19.643, -69.63 |
Hunter-Lab | 33.576, 36.197, -44.957 |
Binary | 01111111, 01000010, 10101001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f42a9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f42a9
This text has a font color of #7f42a9.
<span style="color:#7f42a9;">Text here</span>
#7f42a9 background color
This paragraph has a background color of #7f42a9.
<p style="background-color:#7f42a9;">Content here</p>
#7f42a9 border color
This element has a border color of #7f42a9.
<div style="border:1px solid #7f42a9;">Content here</div>
CSS codes
.text {color:#7f42a9;}
.background {background-color:#7f42a9;}
.border {border:1px solid #7f42a9;}
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, #0a050e is the darkest color, while #ffffff is the lightest one.
-
#0a050e
#0a050e
rgb(10,5,14)
-
#150b1c
#150b1c
rgb(21,11,28)
-
#20102a
#20102a
rgb(32,16,42)
-
#2a1638
#2a1638
rgb(42,22,56)
-
#351b46
#351b46
rgb(53,27,70)
-
#3f2154
#3f2154
rgb(63,33,84)
-
#4a2662
#4a2662
rgb(74,38,98)
-
#552c71
#552c71
rgb(85,44,113)
-
#5f317f
#5f317f
rgb(95,49,127)
-
#6a378d
#6a378d
rgb(106,55,141)
-
#743c9b
#743c9b
rgb(116,60,155)
-
#7f42a9
#7f42a9
rgb(127,66,169)
-
#8a48b7
#8a48b7
rgb(138,72,183)
Shade Color Variation
-
#9355bd
#9355bd
rgb(147,85,189)
-
#9c64c2
#9c64c2
rgb(156,100,194)
-
#a572c8
#a572c8
rgb(165,114,200)
-
#ae80cd
#ae80cd
rgb(174,128,205)
-
#b78ed3
#b78ed3
rgb(183,142,211)
-
#c09cd8
#c09cd8
rgb(192,156,216)
-
#c9aade
#c9aade
rgb(201,170,222)
-
#d2b8e3
#d2b8e3
rgb(210,184,227)
-
#dbc6e9
#dbc6e9
rgb(219,198,233)
-
#e4d4ee
#e4d4ee
rgb(228,212,238)
-
#ede3f4
#ede3f4
rgb(237,227,244)
-
#f6f1f9
#f6f1f9
rgb(246,241,249)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #776f7c is the less saturated color, while #8b03e8 is the most saturated one.
-
#776f7c
#776f7c
rgb(119,111,124)
-
#786685
#786685
rgb(120,102,133)
-
#7a5d8e
#7a5d8e
rgb(122,93,142)
-
#7c5497
#7c5497
rgb(124,84,151)
-
#7d4ba0
#7d4ba0
rgb(125,75,160)
-
#7f42a9
#7f42a9
rgb(127,66,169)
-
#8139b2
#8139b2
rgb(129,57,178)
-
#8230bb
#8230bb
rgb(130,48,187)
-
#8427c4
#8427c4
rgb(132,39,196)
-
#861ecd
#861ecd
rgb(134,30,205)
-
#8715d6
#8715d6
rgb(135,21,214)
-
#890cdf
#890cdf
rgb(137,12,223)
-
#8b03e8
#8b03e8
rgb(139,3,232)
Tone Color Variation
Below, you can see how #7f42a9 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