#9e40a6 hex color
In a RGB color space, hex #9e40a6 is composed of 62% red, 25.1% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 4.8% cyan, 61.4% magenta, 0% yellow and 34.9% black. It has a hue angle of 295.3 degrees, a saturation of 44.3% and a lightness of 45.1%. #9e40a6 color hex could be obtained by blending #ff80ff with #3d004d. Closest websafe color is: #993399.
-
- R 62
- G 25
- B 65
RGB color chart
-
- C 5
- M 61
- Y 0
- K 35
CMYK color chart
● #9e40a6 color description : Dark moderate magenta.
The hexadecimal color #9e40a6 has RGB values of R:158, G:64, B:166 and CMYK values of C:0.05, M:0.61, Y:0, K:0.35. Its decimal value is 10371238.
Hex triplet | 9e40a6 | #9e40a6 |
---|---|---|
RGB Decimal | 158, 64, 166 | rgb(158,64,166) |
RGB Percent | 62, 25.1, 65.1 | rgb(62%,25.1%,65.1%) |
CMYK | 5, 61, 0, 35 | |
HSL | 295.3°, 44.3, 45.1 | hsl(295.3,44.3%,45.1%) |
HSV (or HSB) | 295.3°, 61.4, 65.1 | |
Web Safe | 993399 | #993399 |
CIE-LAB | 43.785, 53.05, -37.132 |
---|---|
XYZ | 22.816, 13.69, 37.515 |
xyY | 0.308, 0.185, 13.69 |
CIE-LCH | 43.785, 64.754, 325.011 |
CIE-LUV | 43.785, 39.858, -60.739 |
Hunter-Lab | 37, 45.321, -34.215 |
Binary | 10011110, 01000000, 10100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #9e40a6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #9e40a6
This text has a font color of #9e40a6.
<span style="color:#9e40a6;">Text here</span>
#9e40a6 background color
This paragraph has a background color of #9e40a6.
<p style="background-color:#9e40a6;">Content here</p>
#9e40a6 border color
This element has a border color of #9e40a6.
<div style="border:1px solid #9e40a6;">Content here</div>
CSS codes
.text {color:#9e40a6;}
.background {background-color:#9e40a6;}
.border {border:1px solid #9e40a6;}
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, #0a040a is the darkest color, while #fdfbfe is the lightest one.
-
#0a040a
#0a040a
rgb(10,4,10)
-
#170918
#170918
rgb(23,9,24)
-
#250f27
#250f27
rgb(37,15,39)
-
#321435
#321435
rgb(50,20,53)
-
#401a43
#401a43
rgb(64,26,67)
-
#4d1f51
#4d1f51
rgb(77,31,81)
-
#5b255f
#5b255f
rgb(91,37,95)
-
#682a6d
#682a6d
rgb(104,42,109)
-
#76307c
#76307c
rgb(118,48,124)
-
#83358a
#83358a
rgb(131,53,138)
-
#913b98
#913b98
rgb(145,59,152)
-
#9e40a6
#9e40a6
rgb(158,64,166)
-
#ab45b4
#ab45b4
rgb(171,69,180)
Shade Color Variation
-
#b451bc
#b451bc
rgb(180,81,188)
-
#ba5fc1
#ba5fc1
rgb(186,95,193)
-
#c06ec7
#c06ec7
rgb(192,110,199)
-
#c67ccc
#c67ccc
rgb(198,124,204)
-
#cc8ad2
#cc8ad2
rgb(204,138,210)
-
#d298d7
#d298d7
rgb(210,152,215)
-
#d8a6dd
#d8a6dd
rgb(216,166,221)
-
#dfb4e2
#dfb4e2
rgb(223,180,226)
-
#e5c2e8
#e5c2e8
rgb(229,194,232)
-
#ebd1ed
#ebd1ed
rgb(235,209,237)
-
#f1dff3
#f1dff3
rgb(241,223,243)
-
#f7edf8
#f7edf8
rgb(247,237,248)
-
#fdfbfe
#fdfbfe
rgb(253,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #796c7a is the less saturated color, while #d202e4 is the most saturated one.
-
#796c7a
#796c7a
rgb(121,108,122)
-
#806383
#806383
rgb(128,99,131)
-
#885b8b
#885b8b
rgb(136,91,139)
-
#8f5294
#8f5294
rgb(143,82,148)
-
#97499d
#97499d
rgb(151,73,157)
-
#9e40a6
#9e40a6
rgb(158,64,166)
-
#a537af
#a537af
rgb(165,55,175)
-
#ad2eb8
#ad2eb8
rgb(173,46,184)
-
#b425c1
#b425c1
rgb(180,37,193)
-
#bc1dc9
#bc1dc9
rgb(188,29,201)
-
#c314d2
#c314d2
rgb(195,20,210)
-
#cb0bdb
#cb0bdb
rgb(203,11,219)
-
#d202e4
#d202e4
rgb(210,2,228)
Tone Color Variation
Below, you can see how #9e40a6 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