#402e4a hex color
In a RGB color space, hex #402e4a is composed of 25.1% red, 18% green and 29% blue. Whereas in a CMYK color space, it is composed of 13.5% cyan, 37.8% magenta, 0% yellow and 71% black. It has a hue angle of 278.6 degrees, a saturation of 23.3% and a lightness of 23.5%. #402e4a color hex could be obtained by blending #805c94 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 18
- B 29
RGB color chart
-
- C 14
- M 38
- Y 0
- K 71
CMYK color chart
● #402e4a color description : Very dark desaturated violet.
The hexadecimal color #402e4a has RGB values of R:64, G:46, B:74 and CMYK values of C:0.14, M:0.38, Y:0, K:0.71. Its decimal value is 4206154.
Hex triplet | 402e4a | #402e4a |
---|---|---|
RGB Decimal | 64, 46, 74 | rgb(64,46,74) |
RGB Percent | 25.1, 18, 29 | rgb(25.1%,18%,29%) |
CMYK | 14, 38, 0, 71 | |
HSL | 278.6°, 23.3, 23.5 | hsl(278.6,23.3%,23.5%) |
HSV (or HSB) | 278.6°, 37.8, 29 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 22.083, 14.386, -14.205 |
---|---|
XYZ | 4.327, 3.538, 6.933 |
xyY | 0.292, 0.239, 3.538 |
CIE-LCH | 22.083, 20.217, 315.363 |
CIE-LUV | 22.083, 6.743, -17.545 |
Hunter-Lab | 18.811, 8.143, -8.685 |
Binary | 01000000, 00101110, 01001010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402e4a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402e4a
This text has a font color of #402e4a.
<span style="color:#402e4a;">Text here</span>
#402e4a background color
This paragraph has a background color of #402e4a.
<p style="background-color:#402e4a;">Content here</p>
#402e4a border color
This element has a border color of #402e4a.
<div style="border:1px solid #402e4a;">Content here</div>
CSS codes
.text {color:#402e4a;}
.background {background-color:#402e4a;}
.border {border:1px solid #402e4a;}
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, #010101 is the darkest color, while #f7f4f8 is the lightest one.
-
#010101
#010101
rgb(1,1,1)
-
#0c080e
#0c080e
rgb(12,8,14)
-
#16101a
#16101a
rgb(22,16,26)
-
#211726
#211726
rgb(33,23,38)
-
#2b1f32
#2b1f32
rgb(43,31,50)
-
#36263e
#36263e
rgb(54,38,62)
-
#402e4a
#402e4a
rgb(64,46,74)
-
#4a3656
#4a3656
rgb(74,54,86)
-
#553d62
#553d62
rgb(85,61,98)
-
#5f456e
#5f456e
rgb(95,69,110)
-
#6a4c7a
#6a4c7a
rgb(106,76,122)
-
#745486
#745486
rgb(116,84,134)
-
#7f5b93
#7f5b93
rgb(127,91,147)
Shade Color Variation
-
#89639e
#89639e
rgb(137,99,158)
-
#926fa6
#926fa6
rgb(146,111,166)
-
#9b7bad
#9b7bad
rgb(155,123,173)
-
#a587b5
#a587b5
rgb(165,135,181)
-
#ae94bc
#ae94bc
rgb(174,148,188)
-
#b7a0c4
#b7a0c4
rgb(183,160,196)
-
#c0accb
#c0accb
rgb(192,172,203)
-
#c9b8d3
#c9b8d3
rgb(201,184,211)
-
#d2c4da
#d2c4da
rgb(210,196,218)
-
#dbd0e2
#dbd0e2
rgb(219,208,226)
-
#e5dce9
#e5dce9
rgb(229,220,233)
-
#eee8f1
#eee8f1
rgb(238,232,241)
-
#f7f4f8
#f7f4f8
rgb(247,244,248)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3c3c3c is the less saturated color, while #4c0474 is the most saturated one.
-
#3c3c3c
#3c3c3c
rgb(60,60,60)
-
#3d3741
#3d3741
rgb(61,55,65)
-
#3f3345
#3f3345
rgb(63,51,69)
-
#402e4a
#402e4a
rgb(64,46,74)
-
#41294f
#41294f
rgb(65,41,79)
-
#432553
#432553
rgb(67,37,83)
-
#442058
#442058
rgb(68,32,88)
-
#451c5c
#451c5c
rgb(69,28,92)
-
#471761
#471761
rgb(71,23,97)
-
#481266
#481266
rgb(72,18,102)
-
#490e6a
#490e6a
rgb(73,14,106)
-
#4b096f
#4b096f
rgb(75,9,111)
-
#4c0474
#4c0474
rgb(76,4,116)
Tone Color Variation
Below, you can see how #402e4a 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