#7f51b9 hex color
In a RGB color space, hex #7f51b9 is composed of 49.8% red, 31.8% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 31.4% cyan, 56.2% magenta, 0% yellow and 27.5% black. It has a hue angle of 266.5 degrees, a saturation of 42.6% and a lightness of 52.2%. #7f51b9 color hex could be obtained by blending #fea2ff with #000073. Closest websafe color is: #6666cc.
-
- R 50
- G 32
- B 73
RGB color chart
-
- C 31
- M 56
- Y 0
- K 27
CMYK color chart
● #7f51b9 color description : Moderate violet.
The hexadecimal color #7f51b9 has RGB values of R:127, G:81, B:185 and CMYK values of C:0.31, M:0.56, Y:0, K:0.27. Its decimal value is 8343993.
Hex triplet | 7f51b9 | #7f51b9 |
---|---|---|
RGB Decimal | 127, 81, 185 | rgb(127,81,185) |
RGB Percent | 49.8, 31.8, 72.5 | rgb(49.8%,31.8%,72.5%) |
CMYK | 31, 56, 0, 27 | |
HSL | 266.5°, 42.6, 52.2 | hsl(266.5,42.6%,52.2%) |
HSV (or HSB) | 266.5°, 56.2, 72.5 | |
Web Safe | 6666cc | #6666cc |
CIE-LAB | 44.089, 40.607, -48.085 |
---|---|
XYZ | 20.45, 13.9, 47.502 |
xyY | 0.25, 0.17, 13.9 |
CIE-LCH | 44.089, 62.937, 310.181 |
CIE-LUV | 44.089, 12.827, -75.402 |
Hunter-Lab | 37.282, 32.667, -49.444 |
Binary | 01111111, 01010001, 10111001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f51b9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f51b9
This text has a font color of #7f51b9.
<span style="color:#7f51b9;">Text here</span>
#7f51b9 background color
This paragraph has a background color of #7f51b9.
<p style="background-color:#7f51b9;">Content here</p>
#7f51b9 border color
This element has a border color of #7f51b9.
<div style="border:1px solid #7f51b9;">Content here</div>
CSS codes
.text {color:#7f51b9;}
.background {background-color:#7f51b9;}
.border {border:1px solid #7f51b9;}
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, #050308 is the darkest color, while #faf9fd is the lightest one.
-
#050308
#050308
rgb(5,3,8)
-
#0f0916
#0f0916
rgb(15,9,22)
-
#180e24
#180e24
rgb(24,14,36)
-
#211432
#211432
rgb(33,20,50)
-
#2b1a40
#2b1a40
rgb(43,26,64)
-
#341f4e
#341f4e
rgb(52,31,78)
-
#3d255c
#3d255c
rgb(61,37,92)
-
#472b6a
#472b6a
rgb(71,43,106)
-
#503078
#503078
rgb(80,48,120)
-
#593686
#593686
rgb(89,54,134)
-
#623b94
#623b94
rgb(98,59,148)
-
#6c41a2
#6c41a2
rgb(108,65,162)
-
#7547b0
#7547b0
rgb(117,71,176)
Shade Color Variation
-
#7f51b9
#7f51b9
rgb(127,81,185)
-
#895fbf
#895fbf
rgb(137,95,191)
-
#946dc4
#946dc4
rgb(148,109,196)
-
#9e7bca
#9e7bca
rgb(158,123,202)
-
#a889d0
#a889d0
rgb(168,137,208)
-
#b297d5
#b297d5
rgb(178,151,213)
-
#bda5db
#bda5db
rgb(189,165,219)
-
#c7b3e0
#c7b3e0
rgb(199,179,224)
-
#d1c1e6
#d1c1e6
rgb(209,193,230)
-
#dccfec
#dccfec
rgb(220,207,236)
-
#e6ddf1
#e6ddf1
rgb(230,221,241)
-
#f0ebf7
#f0ebf7
rgb(240,235,247)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #84808a is the less saturated color, while #770ffb is the most saturated one.
-
#84808a
#84808a
rgb(132,128,138)
-
#837793
#837793
rgb(131,119,147)
-
#826d9d
#826d9d
rgb(130,109,157)
-
#8164a6
#8164a6
rgb(129,100,166)
-
#805ab0
#805ab0
rgb(128,90,176)
-
#7f51b9
#7f51b9
rgb(127,81,185)
-
#7e48c2
#7e48c2
rgb(126,72,194)
-
#7d3ecc
#7d3ecc
rgb(125,62,204)
-
#7c35d5
#7c35d5
rgb(124,53,213)
-
#7b2bdf
#7b2bdf
rgb(123,43,223)
-
#7a22e8
#7a22e8
rgb(122,34,232)
-
#7919f1
#7919f1
rgb(121,25,241)
-
#770ffb
#770ffb
rgb(119,15,251)
Tone Color Variation
Below, you can see how #7f51b9 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