#7f42b3 hex color
In a RGB color space, hex #7f42b3 is composed of 49.8% red, 25.9% green and 70.2% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 63.1% magenta, 0% yellow and 29.8% black. It has a hue angle of 272.4 degrees, a saturation of 46.1% and a lightness of 48%. #7f42b3 color hex could be obtained by blending #fe84ff with #000067. Closest websafe color is: #6633cc.
-
- R 50
- G 26
- B 70
RGB color chart
-
- C 29
- M 63
- Y 0
- K 30
CMYK color chart
● #7f42b3 color description : Moderate violet.
The hexadecimal color #7f42b3 has RGB values of R:127, G:66, B:179 and CMYK values of C:0.29, M:0.63, Y:0, K:0.3. Its decimal value is 8340147.
Hex triplet | 7f42b3 | #7f42b3 |
---|---|---|
RGB Decimal | 127, 66, 179 | rgb(127,66,179) |
RGB Percent | 49.8, 25.9, 70.2 | rgb(49.8%,25.9%,70.2%) |
CMYK | 29, 63, 0, 30 | |
HSL | 272.4°, 46.1, 48 | hsl(272.4,46.1%,48%) |
HSV (or HSB) | 272.4°, 63.1, 70.2 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 40.676, 47.217, -50.039 |
---|---|
XYZ | 18.836, 11.663, 43.904 |
xyY | 0.253, 0.157, 11.663 |
CIE-LCH | 40.676, 68.799, 313.338 |
CIE-LUV | 40.676, 17.784, -77.122 |
Hunter-Lab | 34.152, 38.684, -52.315 |
Binary | 01111111, 01000010, 10110011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f42b3. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f42b3
This text has a font color of #7f42b3.
<span style="color:#7f42b3;">Text here</span>
#7f42b3 background color
This paragraph has a background color of #7f42b3.
<p style="background-color:#7f42b3;">Content here</p>
#7f42b3 border color
This element has a border color of #7f42b3.
<div style="border:1px solid #7f42b3;">Content here</div>
CSS codes
.text {color:#7f42b3;}
.background {background-color:#7f42b3;}
.border {border:1px solid #7f42b3;}
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, #050307 is the darkest color, while #faf8fc is the lightest one.
-
#050307
#050307
rgb(5,3,7)
-
#0f0815
#0f0815
rgb(15,8,21)
-
#190d24
#190d24
rgb(25,13,36)
-
#231232
#231232
rgb(35,18,50)
-
#2e1840
#2e1840
rgb(46,24,64)
-
#381d4f
#381d4f
rgb(56,29,79)
-
#42225d
#42225d
rgb(66,34,93)
-
#4c286b
#4c286b
rgb(76,40,107)
-
#562d7a
#562d7a
rgb(86,45,122)
-
#603288
#603288
rgb(96,50,136)
-
#6b3796
#6b3796
rgb(107,55,150)
-
#753da5
#753da5
rgb(117,61,165)
-
#7f42b3
#7f42b3
rgb(127,66,179)
Shade Color Variation
-
#894cbd
#894cbd
rgb(137,76,189)
-
#925ac2
#925ac2
rgb(146,90,194)
-
#9c68c7
#9c68c7
rgb(156,104,199)
-
#a577cd
#a577cd
rgb(165,119,205)
-
#af85d2
#af85d2
rgb(175,133,210)
-
#b893d7
#b893d7
rgb(184,147,215)
-
#c1a2dd
#c1a2dd
rgb(193,162,221)
-
#cbb0e2
#cbb0e2
rgb(203,176,226)
-
#d4bee7
#d4bee7
rgb(212,190,231)
-
#decdec
#decdec
rgb(222,205,236)
-
#e7dbf2
#e7dbf2
rgb(231,219,242)
-
#f1e9f7
#f1e9f7
rgb(241,233,247)
-
#faf8fc
#faf8fc
rgb(250,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7b7184 is the less saturated color, while #8400f5 is the most saturated one.
-
#7b7184
#7b7184
rgb(123,113,132)
-
#7c688d
#7c688d
rgb(124,104,141)
-
#7d5e97
#7d5e97
rgb(125,94,151)
-
#7d55a0
#7d55a0
rgb(125,85,160)
-
#7e4baa
#7e4baa
rgb(126,75,170)
-
#7f42b3
#7f42b3
rgb(127,66,179)
-
#8039bc
#8039bc
rgb(128,57,188)
-
#812fc6
#812fc6
rgb(129,47,198)
-
#8126cf
#8126cf
rgb(129,38,207)
-
#821cd9
#821cd9
rgb(130,28,217)
-
#8313e2
#8313e2
rgb(131,19,226)
-
#8409ec
#8409ec
rgb(132,9,236)
-
#8400f5
#8400f5
rgb(132,0,245)
Tone Color Variation
Below, you can see how #7f42b3 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