#402b4b hex color
In a RGB color space, hex #402b4b is composed of 25.1% red, 16.9% green and 29.4% blue. Whereas in a CMYK color space, it is composed of 14.7% cyan, 42.7% magenta, 0% yellow and 70.6% black. It has a hue angle of 279.4 degrees, a saturation of 27.1% and a lightness of 23.1%. #402b4b color hex could be obtained by blending #805696 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 17
- B 29
RGB color chart
-
- C 15
- M 43
- Y 0
- K 71
CMYK color chart
● #402b4b color description : Very dark desaturated violet.
The hexadecimal color #402b4b has RGB values of R:64, G:43, B:75 and CMYK values of C:0.15, M:0.43, Y:0, K:0.71. Its decimal value is 4205387.
Hex triplet | 402b4b | #402b4b |
---|---|---|
RGB Decimal | 64, 43, 75 | rgb(64,43,75) |
RGB Percent | 25.1, 16.9, 29.4 | rgb(25.1%,16.9%,29.4%) |
CMYK | 15, 43, 0, 71 | |
HSL | 279.4°, 27.1, 23.1 | hsl(279.4,27.1%,23.1%) |
HSV (or HSB) | 279.4°, 42.7, 29.4 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 21.304, 16.647, -16.086 |
---|---|
XYZ | 4.248, 3.326, 7.074 |
xyY | 0.29, 0.227, 3.326 |
CIE-LCH | 21.304, 23.149, 315.982 |
CIE-LUV | 21.304, 7.656, -19.702 |
Hunter-Lab | 18.237, 9.665, -10.234 |
Binary | 01000000, 00101011, 01001011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402b4b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402b4b
This text has a font color of #402b4b.
<span style="color:#402b4b;">Text here</span>
#402b4b background color
This paragraph has a background color of #402b4b.
<p style="background-color:#402b4b;">Content here</p>
#402b4b border color
This element has a border color of #402b4b.
<div style="border:1px solid #402b4b;">Content here</div>
CSS codes
.text {color:#402b4b;}
.background {background-color:#402b4b;}
.border {border:1px solid #402b4b;}
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, #000000 is the darkest color, while #f6f3f8 is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#0b070d
#0b070d
rgb(11,7,13)
-
#150e19
#150e19
rgb(21,14,25)
-
#201626
#201626
rgb(32,22,38)
-
#2b1d32
#2b1d32
rgb(43,29,50)
-
#35243f
#35243f
rgb(53,36,63)
-
#402b4b
#402b4b
rgb(64,43,75)
-
#4b3257
#4b3257
rgb(75,50,87)
-
#553964
#553964
rgb(85,57,100)
-
#604070
#604070
rgb(96,64,112)
-
#6b487d
#6b487d
rgb(107,72,125)
-
#754f89
#754f89
rgb(117,79,137)
-
#805696
#805696
rgb(128,86,150)
Shade Color Variation
-
#8a5da2
#8a5da2
rgb(138,93,162)
-
#936aa9
#936aa9
rgb(147,106,169)
-
#9c76b0
#9c76b0
rgb(156,118,176)
-
#a583b8
#a583b8
rgb(165,131,184)
-
#ae8fbf
#ae8fbf
rgb(174,143,191)
-
#b79bc6
#b79bc6
rgb(183,155,198)
-
#c0a8cd
#c0a8cd
rgb(192,168,205)
-
#c9b4d4
#c9b4d4
rgb(201,180,212)
-
#d2c1db
#d2c1db
rgb(210,193,219)
-
#dbcde3
#dbcde3
rgb(219,205,227)
-
#e4daea
#e4daea
rgb(228,218,234)
-
#ede6f1
#ede6f1
rgb(237,230,241)
-
#f6f3f8
#f6f3f8
rgb(246,243,248)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3c393d is the less saturated color, while #4d0274 is the most saturated one.
-
#3c393d
#3c393d
rgb(60,57,61)
-
#3d3442
#3d3442
rgb(61,52,66)
-
#3f3046
#3f3046
rgb(63,48,70)
-
#402b4b
#402b4b
rgb(64,43,75)
-
#412650
#412650
rgb(65,38,80)
-
#432254
#432254
rgb(67,34,84)
-
#441d59
#441d59
rgb(68,29,89)
-
#46195d
#46195d
rgb(70,25,93)
-
#471462
#471462
rgb(71,20,98)
-
#491066
#491066
rgb(73,16,102)
-
#4a0b6b
#4a0b6b
rgb(74,11,107)
-
#4b076f
#4b076f
rgb(75,7,111)
-
#4d0274
#4d0274
rgb(77,2,116)
Tone Color Variation
Below, you can see how #402b4b 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