#402d7f hex color
In a RGB color space, hex #402d7f is composed of 25.1% red, 17.6% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 64.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 253.9 degrees, a saturation of 47.7% and a lightness of 33.7%. #402d7f color hex could be obtained by blending #805afe with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 50
RGB color chart
-
- C 50
- M 65
- Y 0
- K 50
CMYK color chart
● #402d7f color description : Dark moderate blue.
The hexadecimal color #402d7f has RGB values of R:64, G:45, B:127 and CMYK values of C:0.5, M:0.65, Y:0, K:0.5. Its decimal value is 4205951.
Hex triplet | 402d7f | #402d7f |
---|---|---|
RGB Decimal | 64, 45, 127 | rgb(64,45,127) |
RGB Percent | 25.1, 17.6, 49.8 | rgb(25.1%,17.6%,49.8%) |
CMYK | 50, 65, 0, 50 | |
HSL | 253.9°, 47.7, 33.7 | hsl(253.9,47.7%,33.7%) |
HSV (or HSB) | 253.9°, 64.6, 49.8 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 25.257, 30.576, -43.652 |
---|---|
XYZ | 6.883, 4.499, 20.583 |
xyY | 0.215, 0.141, 4.499 |
CIE-LCH | 25.257, 53.295, 305.01 |
CIE-LUV | 25.257, 1.452, -56.102 |
Hunter-Lab | 21.211, 20.804, -42.689 |
Binary | 01000000, 00101101, 01111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402d7f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402d7f
This text has a font color of #402d7f.
<span style="color:#402d7f;">Text here</span>
#402d7f background color
This paragraph has a background color of #402d7f.
<p style="background-color:#402d7f;">Content here</p>
#402d7f border color
This element has a border color of #402d7f.
<div style="border:1px solid #402d7f;">Content here</div>
CSS codes
.text {color:#402d7f;}
.background {background-color:#402d7f;}
.border {border:1px solid #402d7f;}
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, #06040b is the darkest color, while #fcfcfe is the lightest one.
-
#06040b
#06040b
rgb(6,4,11)
-
#0d091a
#0d091a
rgb(13,9,26)
-
#140e28
#140e28
rgb(20,14,40)
-
#1c1337
#1c1337
rgb(28,19,55)
-
#231845
#231845
rgb(35,24,69)
-
#2a1e54
#2a1e54
rgb(42,30,84)
-
#312362
#312362
rgb(49,35,98)
-
#392871
#392871
rgb(57,40,113)
-
#402d7f
#402d7f
rgb(64,45,127)
-
#47328d
#47328d
rgb(71,50,141)
-
#4f379c
#4f379c
rgb(79,55,156)
-
#563caa
#563caa
rgb(86,60,170)
-
#5d42b9
#5d42b9
rgb(93,66,185)
Shade Color Variation
-
#684ec0
#684ec0
rgb(104,78,192)
-
#755cc5
#755cc5
rgb(117,92,197)
-
#816bca
#816bca
rgb(129,107,202)
-
#8d79d0
#8d79d0
rgb(141,121,208)
-
#9a88d5
#9a88d5
rgb(154,136,213)
-
#a696da
#a696da
rgb(166,150,218)
-
#b2a5df
#b2a5df
rgb(178,165,223)
-
#bfb3e4
#bfb3e4
rgb(191,179,228)
-
#cbc2e9
#cbc2e9
rgb(203,194,233)
-
#d7d0ee
#d7d0ee
rgb(215,208,238)
-
#e4dff4
#e4dff4
rgb(228,223,244)
-
#f0edf9
#f0edf9
rgb(240,237,249)
-
#fcfcfe
#fcfcfe
rgb(252,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555557 is the less saturated color, while #2b05a7 is the most saturated one.
-
#555557
#555557
rgb(85,85,87)
-
#524e5e
#524e5e
rgb(82,78,94)
-
#4e4765
#4e4765
rgb(78,71,101)
-
#4b416b
#4b416b
rgb(75,65,107)
-
#473a72
#473a72
rgb(71,58,114)
-
#443478
#443478
rgb(68,52,120)
-
#402d7f
#402d7f
rgb(64,45,127)
-
#3c2686
#3c2686
rgb(60,38,134)
-
#39208c
#39208c
rgb(57,32,140)
-
#351993
#351993
rgb(53,25,147)
-
#321399
#321399
rgb(50,19,153)
-
#2e0ca0
#2e0ca0
rgb(46,12,160)
-
#2b05a7
#2b05a7
rgb(43,5,167)
Tone Color Variation
Below, you can see how #402d7f 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