#402f76 hex color
In a RGB color space, hex #402f76 is composed of 25.1% red, 18.4% green and 46.3% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 60.2% magenta, 0% yellow and 53.7% black. It has a hue angle of 254.4 degrees, a saturation of 43% and a lightness of 32.4%. #402f76 color hex could be obtained by blending #805eec with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 46
RGB color chart
-
- C 46
- M 60
- Y 0
- K 54
CMYK color chart
● #402f76 color description : Dark moderate blue.
The hexadecimal color #402f76 has RGB values of R:64, G:47, B:118 and CMYK values of C:0.46, M:0.6, Y:0, K:0.54. Its decimal value is 4206454.
Hex triplet | 402f76 | #402f76 |
---|---|---|
RGB Decimal | 64, 47, 118 | rgb(64,47,118) |
RGB Percent | 25.1, 18.4, 46.3 | rgb(25.1%,18.4%,46.3%) |
CMYK | 46, 60, 0, 54 | |
HSL | 254.4°, 43, 32.4 | hsl(254.4,43%,32.4%) |
HSV (or HSB) | 254.4°, 60.2, 46.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 25.048, 26.488, -38.291 |
---|---|
XYZ | 6.4, 4.431, 17.657 |
xyY | 0.225, 0.156, 4.431 |
CIE-LCH | 25.048, 46.56, 304.674 |
CIE-LUV | 25.048, 1.827, -49.307 |
Hunter-Lab | 21.05, 17.437, -34.998 |
Binary | 01000000, 00101111, 01110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402f76. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402f76
This text has a font color of #402f76.
<span style="color:#402f76;">Text here</span>
#402f76 background color
This paragraph has a background color of #402f76.
<p style="background-color:#402f76;">Content here</p>
#402f76 border color
This element has a border color of #402f76.
<div style="border:1px solid #402f76;">Content here</div>
CSS codes
.text {color:#402f76;}
.background {background-color:#402f76;}
.border {border:1px solid #402f76;}
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, #030206 is the darkest color, while #f8f7fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0b0814
#0b0814
rgb(11,8,20)
-
#120d22
#120d22
rgb(18,13,34)
-
#1a1330
#1a1330
rgb(26,19,48)
-
#22193e
#22193e
rgb(34,25,62)
-
#291e4c
#291e4c
rgb(41,30,76)
-
#31245a
#31245a
rgb(49,36,90)
-
#382968
#382968
rgb(56,41,104)
-
#402f76
#402f76
rgb(64,47,118)
-
#483584
#483584
rgb(72,53,132)
-
#4f3a92
#4f3a92
rgb(79,58,146)
-
#5740a0
#5740a0
rgb(87,64,160)
-
#5e45ae
#5e45ae
rgb(94,69,174)
Shade Color Variation
-
#684eb9
#684eb9
rgb(104,78,185)
-
#745cbe
#745cbe
rgb(116,92,190)
-
#806ac4
#806ac4
rgb(128,106,196)
-
#8c78c9
#8c78c9
rgb(140,120,201)
-
#9887cf
#9887cf
rgb(152,135,207)
-
#a495d5
#a495d5
rgb(164,149,213)
-
#b0a3da
#b0a3da
rgb(176,163,218)
-
#bcb1e0
#bcb1e0
rgb(188,177,224)
-
#c8bfe5
#c8bfe5
rgb(200,191,229)
-
#d4cdeb
#d4cdeb
rgb(212,205,235)
-
#e0dbf1
#e0dbf1
rgb(224,219,241)
-
#ece9f6
#ece9f6
rgb(236,233,246)
-
#f8f7fc
#f8f7fc
rgb(248,247,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #514f56 is the less saturated color, while #2903a2 is the most saturated one.
-
#514f56
#514f56
rgb(81,79,86)
-
#4d485d
#4d485d
rgb(77,72,93)
-
#4a4263
#4a4263
rgb(74,66,99)
-
#473c69
#473c69
rgb(71,60,105)
-
#433570
#433570
rgb(67,53,112)
-
#402f76
#402f76
rgb(64,47,118)
-
#3d297c
#3d297c
rgb(61,41,124)
-
#392283
#392283
rgb(57,34,131)
-
#361c89
#361c89
rgb(54,28,137)
-
#33168f
#33168f
rgb(51,22,143)
-
#2f0f96
#2f0f96
rgb(47,15,150)
-
#2c099c
#2c099c
rgb(44,9,156)
-
#2903a2
#2903a2
rgb(41,3,162)
Tone Color Variation
Below, you can see how #402f76 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