#402a48 hex color
In a RGB color space, hex #402a48 is composed of 25.1% red, 16.5% green and 28.2% blue. Whereas in a CMYK color space, it is composed of 11.1% cyan, 41.7% magenta, 0% yellow and 71.8% black. It has a hue angle of 284 degrees, a saturation of 26.3% and a lightness of 22.4%. #402a48 color hex could be obtained by blending #805490 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 16
- B 28
RGB color chart
-
- C 11
- M 42
- Y 0
- K 72
CMYK color chart
● #402a48 color description : Very dark desaturated violet.
The hexadecimal color #402a48 has RGB values of R:64, G:42, B:72 and CMYK values of C:0.11, M:0.42, Y:0, K:0.72. Its decimal value is 4205128.
Hex triplet | 402a48 | #402a48 |
---|---|---|
RGB Decimal | 64, 42, 72 | rgb(64,42,72) |
RGB Percent | 25.1, 16.5, 28.2 | rgb(25.1%,16.5%,28.2%) |
CMYK | 11, 42, 0, 72 | |
HSL | 284°, 26.3, 22.4 | hsl(284,26.3%,22.4%) |
HSV (or HSB) | 284°, 41.7, 28.2 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 20.881, 16.555, -14.715 |
---|---|
XYZ | 4.112, 3.214, 6.534 |
xyY | 0.297, 0.232, 3.214 |
CIE-LCH | 20.881, 22.149, 318.367 |
CIE-LUV | 20.881, 8.372, -17.962 |
Hunter-Lab | 17.927, 9.568, -9.061 |
Binary | 01000000, 00101010, 01001000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402a48. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402a48
This text has a font color of #402a48.
<span style="color:#402a48;">Text here</span>
#402a48 background color
This paragraph has a background color of #402a48.
<p style="background-color:#402a48;">Content here</p>
#402a48 border color
This element has a border color of #402a48.
<div style="border:1px solid #402a48;">Content here</div>
CSS codes
.text {color:#402a48;}
.background {background-color:#402a48;}
.border {border:1px solid #402a48;}
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, #09060a is the darkest color, while #fdfdfe is the lightest one.
-
#09060a
#09060a
rgb(9,6,10)
-
#140d16
#140d16
rgb(20,13,22)
-
#1f1423
#1f1423
rgb(31,20,35)
-
#2a1c2f
#2a1c2f
rgb(42,28,47)
-
#35233c
#35233c
rgb(53,35,60)
-
#402a48
#402a48
rgb(64,42,72)
-
#4b3154
#4b3154
rgb(75,49,84)
-
#563861
#563861
rgb(86,56,97)
-
#61406d
#61406d
rgb(97,64,109)
-
#6c477a
#6c477a
rgb(108,71,122)
-
#774e86
#774e86
rgb(119,78,134)
-
#825592
#825592
rgb(130,85,146)
-
#8d5d9f
#8d5d9f
rgb(141,93,159)
Shade Color Variation
-
#9668a7
#9668a7
rgb(150,104,167)
-
#9f74ae
#9f74ae
rgb(159,116,174)
-
#a781b5
#a781b5
rgb(167,129,181)
-
#b08dbd
#b08dbd
rgb(176,141,189)
-
#b99ac4
#b99ac4
rgb(185,154,196)
-
#c1a6cb
#c1a6cb
rgb(193,166,203)
-
#cab2d2
#cab2d2
rgb(202,178,210)
-
#d2bfda
#d2bfda
rgb(210,191,218)
-
#dbcbe1
#dbcbe1
rgb(219,203,225)
-
#e4d8e8
#e4d8e8
rgb(228,216,232)
-
#ece4ef
#ece4ef
rgb(236,228,239)
-
#f5f0f6
#f5f0f6
rgb(245,240,246)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3a373b is the less saturated color, while #52036f is the most saturated one.
-
#3a373b
#3a373b
rgb(58,55,59)
-
#3c333f
#3c333f
rgb(60,51,63)
-
#3e2e44
#3e2e44
rgb(62,46,68)
-
#402a48
#402a48
rgb(64,42,72)
-
#42264c
#42264c
rgb(66,38,76)
-
#442151
#442151
rgb(68,33,81)
-
#461d55
#461d55
rgb(70,29,85)
-
#48185a
#48185a
rgb(72,24,90)
-
#4a145e
#4a145e
rgb(74,20,94)
-
#4c1062
#4c1062
rgb(76,16,98)
-
#4e0b67
#4e0b67
rgb(78,11,103)
-
#50076b
#50076b
rgb(80,7,107)
-
#52036f
#52036f
rgb(82,3,111)
Tone Color Variation
Below, you can see how #402a48 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