#402c4c hex color
In a RGB color space, hex #402c4c is composed of 25.1% red, 17.3% green and 29.8% blue. Whereas in a CMYK color space, it is composed of 15.8% cyan, 42.1% magenta, 0% yellow and 70.2% black. It has a hue angle of 277.5 degrees, a saturation of 26.7% and a lightness of 23.5%. #402c4c color hex could be obtained by blending #805898 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 17
- B 30
RGB color chart
-
- C 16
- M 42
- Y 0
- K 70
CMYK color chart
● #402c4c color description : Very dark desaturated violet.
The hexadecimal color #402c4c has RGB values of R:64, G:44, B:76 and CMYK values of C:0.16, M:0.42, Y:0, K:0.7. Its decimal value is 4205644.
Hex triplet | 402c4c | #402c4c |
---|---|---|
RGB Decimal | 64, 44, 76 | rgb(64,44,76) |
RGB Percent | 25.1, 17.3, 29.8 | rgb(25.1%,17.3%,29.8%) |
CMYK | 16, 42, 0, 70 | |
HSL | 277.5°, 26.7, 23.5 | hsl(277.5,26.7%,23.5%) |
HSV (or HSB) | 277.5°, 42.1, 29.8 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 21.628, 16.238, -16.255 |
---|---|
XYZ | 4.319, 3.413, 7.268 |
xyY | 0.288, 0.228, 3.413 |
CIE-LCH | 21.628, 22.976, 314.969 |
CIE-LUV | 21.628, 7.199, -19.978 |
Hunter-Lab | 18.475, 9.401, -10.393 |
Binary | 01000000, 00101100, 01001100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402c4c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402c4c
This text has a font color of #402c4c.
<span style="color:#402c4c;">Text here</span>
#402c4c background color
This paragraph has a background color of #402c4c.
<p style="background-color:#402c4c;">Content here</p>
#402c4c border color
This element has a border color of #402c4c.
<div style="border:1px solid #402c4c;">Content here</div>
CSS codes
.text {color:#402c4c;}
.background {background-color:#402c4c;}
.border {border:1px solid #402c4c;}
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 #f7f4f9 is the lightest one.
-
#010101
#010101
rgb(1,1,1)
-
#0c080e
#0c080e
rgb(12,8,14)
-
#160f1a
#160f1a
rgb(22,15,26)
-
#211627
#211627
rgb(33,22,39)
-
#2b1e33
#2b1e33
rgb(43,30,51)
-
#362540
#362540
rgb(54,37,64)
-
#402c4c
#402c4c
rgb(64,44,76)
-
#4a3358
#4a3358
rgb(74,51,88)
-
#553a65
#553a65
rgb(85,58,101)
-
#5f4271
#5f4271
rgb(95,66,113)
-
#6a497e
#6a497e
rgb(106,73,126)
-
#74508a
#74508a
rgb(116,80,138)
-
#7f5797
#7f5797
rgb(127,87,151)
Shade Color Variation
-
#895fa2
#895fa2
rgb(137,95,162)
-
#926baa
#926baa
rgb(146,107,170)
-
#9b78b1
#9b78b1
rgb(155,120,177)
-
#a584b8
#a584b8
rgb(165,132,184)
-
#ae91bf
#ae91bf
rgb(174,145,191)
-
#b79dc6
#b79dc6
rgb(183,157,198)
-
#c0aace
#c0aace
rgb(192,170,206)
-
#c9b6d5
#c9b6d5
rgb(201,182,213)
-
#d2c2dc
#d2c2dc
rgb(210,194,220)
-
#dbcfe3
#dbcfe3
rgb(219,207,227)
-
#e5dbea
#e5dbea
rgb(229,219,234)
-
#eee8f1
#eee8f1
rgb(238,232,241)
-
#f7f4f9
#f7f4f9
rgb(247,244,249)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3d3a3e is the less saturated color, while #4a0276 is the most saturated one.
-
#3d3a3e
#3d3a3e
rgb(61,58,62)
-
#3e3543
#3e3543
rgb(62,53,67)
-
#3f3147
#3f3147
rgb(63,49,71)
-
#402c4c
#402c4c
rgb(64,44,76)
-
#412751
#412751
rgb(65,39,81)
-
#422355
#422355
rgb(66,35,85)
-
#431e5a
#431e5a
rgb(67,30,90)
-
#451a5e
#451a5e
rgb(69,26,94)
-
#461563
#461563
rgb(70,21,99)
-
#471068
#471068
rgb(71,16,104)
-
#480c6c
#480c6c
rgb(72,12,108)
-
#490771
#490771
rgb(73,7,113)
-
#4a0276
#4a0276
rgb(74,2,118)
Tone Color Variation
Below, you can see how #402c4c 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