#7f42c1 hex color
In a RGB color space, hex #7f42c1 is composed of 49.8% red, 25.9% green and 75.7% blue. Whereas in a CMYK color space, it is composed of 34.2% cyan, 65.8% magenta, 0% yellow and 24.3% black. It has a hue angle of 268.8 degrees, a saturation of 50.6% and a lightness of 50.8%. #7f42c1 color hex could be obtained by blending #fe84ff with #000083. Closest websafe color is: #6633cc.
-
- R 50
- G 26
- B 76
RGB color chart
-
- C 34
- M 66
- Y 0
- K 24
CMYK color chart
● #7f42c1 color description : Moderate violet.
The hexadecimal color #7f42c1 has RGB values of R:127, G:66, B:193 and CMYK values of C:0.34, M:0.66, Y:0, K:0.24. Its decimal value is 8340161.
Hex triplet | 7f42c1 | #7f42c1 |
---|---|---|
RGB Decimal | 127, 66, 193 | rgb(127,66,193) |
RGB Percent | 49.8, 25.9, 75.7 | rgb(49.8%,25.9%,75.7%) |
CMYK | 34, 66, 0, 24 | |
HSL | 268.8°, 50.6, 50.8 | hsl(268.8,50.6%,50.8%) |
HSV (or HSB) | 268.8°, 65.8, 75.7 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 41.625, 50.614, -56.721 |
---|---|
XYZ | 20.325, 12.259, 51.745 |
xyY | 0.241, 0.145, 12.259 |
CIE-LCH | 41.625, 76.02, 311.743 |
CIE-LUV | 41.625, 15.336, -87.33 |
Hunter-Lab | 35.013, 42.346, -63.115 |
Binary | 01111111, 01000010, 11000001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f42c1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f42c1
This text has a font color of #7f42c1.
<span style="color:#7f42c1;">Text here</span>
#7f42c1 background color
This paragraph has a background color of #7f42c1.
<p style="background-color:#7f42c1;">Content here</p>
#7f42c1 border color
This element has a border color of #7f42c1.
<div style="border:1px solid #7f42c1;">Content here</div>
CSS codes
.text {color:#7f42c1;}
.background {background-color:#7f42c1;}
.border {border:1px solid #7f42c1;}
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, #020103 is the darkest color, while #f7f3fb is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0c0612
#0c0612
rgb(12,6,18)
-
#150b21
#150b21
rgb(21,11,33)
-
#1f102f
#1f102f
rgb(31,16,47)
-
#28143e
#28143e
rgb(40,20,62)
-
#32194d
#32194d
rgb(50,25,77)
-
#3c1e5c
#3c1e5c
rgb(60,30,92)
-
#45236a
#45236a
rgb(69,35,106)
-
#4f2879
#4f2879
rgb(79,40,121)
-
#582d88
#582d88
rgb(88,45,136)
-
#623197
#623197
rgb(98,49,151)
-
#6c36a5
#6c36a5
rgb(108,54,165)
-
#753bb4
#753bb4
rgb(117,59,180)
Shade Color Variation
-
#7f42c1
#7f42c1
rgb(127,66,193)
-
#8951c6
#8951c6
rgb(137,81,198)
-
#9360cb
#9360cb
rgb(147,96,203)
-
#9d6ed0
#9d6ed0
rgb(157,110,208)
-
#a77dd4
#a77dd4
rgb(167,125,212)
-
#b18cd9
#b18cd9
rgb(177,140,217)
-
#bb9bde
#bb9bde
rgb(187,155,222)
-
#c5a9e3
#c5a9e3
rgb(197,169,227)
-
#cfb8e8
#cfb8e8
rgb(207,184,232)
-
#d9c7ed
#d9c7ed
rgb(217,199,237)
-
#e3d6f1
#e3d6f1
rgb(227,214,241)
-
#ede4f6
#ede4f6
rgb(237,228,246)
-
#f7f3fb
#f7f3fb
rgb(247,243,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #817c87 is the less saturated color, while #7d08fb is the most saturated one.
-
#817c87
#817c87
rgb(129,124,135)
-
#817291
#817291
rgb(129,114,145)
-
#81699a
#81699a
rgb(129,105,154)
-
#805fa4
#805fa4
rgb(128,95,164)
-
#8055ae
#8055ae
rgb(128,85,174)
-
#7f4cb7
#7f4cb7
rgb(127,76,183)
-
#7f42c1
#7f42c1
rgb(127,66,193)
-
#7f38cb
#7f38cb
rgb(127,56,203)
-
#7e2fd4
#7e2fd4
rgb(126,47,212)
-
#7e25de
#7e25de
rgb(126,37,222)
-
#7d1be8
#7d1be8
rgb(125,27,232)
-
#7d12f1
#7d12f1
rgb(125,18,241)
-
#7d08fb
#7d08fb
rgb(125,8,251)
Tone Color Variation
Below, you can see how #7f42c1 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