#402d5b hex color
In a RGB color space, hex #402d5b is composed of 25.1% red, 17.6% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 50.5% magenta, 0% yellow and 64.3% black. It has a hue angle of 264.8 degrees, a saturation of 33.8% and a lightness of 26.7%. #402d5b color hex could be obtained by blending #805ab6 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 36
RGB color chart
-
- C 30
- M 51
- Y 0
- K 64
CMYK color chart
● #402d5b color description : Very dark desaturated violet.
The hexadecimal color #402d5b has RGB values of R:64, G:45, B:91 and CMYK values of C:0.3, M:0.51, Y:0, K:0.64. Its decimal value is 4205915.
Hex triplet | 402d5b | #402d5b |
---|---|---|
RGB Decimal | 64, 45, 91 | rgb(64,45,91) |
RGB Percent | 25.1, 17.6, 35.7 | rgb(25.1%,17.6%,35.7%) |
CMYK | 30, 51, 0, 64 | |
HSL | 264.8°, 33.8, 26.7 | hsl(264.8,33.8%,26.7%) |
HSV (or HSB) | 264.8°, 50.5, 35.7 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 22.731, 19.662, -24.514 |
---|---|
XYZ | 4.941, 3.722, 10.355 |
xyY | 0.26, 0.196, 3.722 |
CIE-LCH | 22.731, 31.425, 308.732 |
CIE-LUV | 22.731, 5.128, -30.606 |
Hunter-Lab | 19.293, 11.95, -18.318 |
Binary | 01000000, 00101101, 01011011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402d5b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402d5b
This text has a font color of #402d5b.
<span style="color:#402d5b;">Text here</span>
#402d5b background color
This paragraph has a background color of #402d5b.
<p style="background-color:#402d5b;">Content here</p>
#402d5b border color
This element has a border color of #402d5b.
<div style="border:1px solid #402d5b;">Content here</div>
CSS codes
.text {color:#402d5b;}
.background {background-color:#402d5b;}
.border {border:1px solid #402d5b;}
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, #09060c is the darkest color, while #fefeff is the lightest one.
-
#09060c
#09060c
rgb(9,6,12)
-
#120d19
#120d19
rgb(18,13,25)
-
#1b1327
#1b1327
rgb(27,19,39)
-
#241a34
#241a34
rgb(36,26,52)
-
#2e2041
#2e2041
rgb(46,32,65)
-
#37274e
#37274e
rgb(55,39,78)
-
#402d5b
#402d5b
rgb(64,45,91)
-
#493368
#493368
rgb(73,51,104)
-
#523a75
#523a75
rgb(82,58,117)
-
#5c4082
#5c4082
rgb(92,64,130)
-
#654790
#654790
rgb(101,71,144)
-
#6e4d9d
#6e4d9d
rgb(110,77,157)
-
#7754aa
#7754aa
rgb(119,84,170)
Shade Color Variation
-
#8261b1
#8261b1
rgb(130,97,177)
-
#8c6eb7
#8c6eb7
rgb(140,110,183)
-
#967bbe
#967bbe
rgb(150,123,190)
-
#a188c4
#a188c4
rgb(161,136,196)
-
#ab95cb
#ab95cb
rgb(171,149,203)
-
#b6a2d1
#b6a2d1
rgb(182,162,209)
-
#c0afd8
#c0afd8
rgb(192,175,216)
-
#cabdde
#cabdde
rgb(202,189,222)
-
#d5cae5
#d5cae5
rgb(213,202,229)
-
#dfd7eb
#dfd7eb
rgb(223,215,235)
-
#eae4f2
#eae4f2
rgb(234,228,242)
-
#f4f1f8
#f4f1f8
rgb(244,241,248)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #444246 is the less saturated color, while #390385 is the most saturated one.
-
#444246
#444246
rgb(68,66,70)
-
#433d4b
#433d4b
rgb(67,61,75)
-
#423751
#423751
rgb(66,55,81)
-
#413256
#413256
rgb(65,50,86)
-
#402d5b
#402d5b
rgb(64,45,91)
-
#3f2860
#3f2860
rgb(63,40,96)
-
#3e2365
#3e2365
rgb(62,35,101)
-
#3d1d6b
#3d1d6b
rgb(61,29,107)
-
#3c1870
#3c1870
rgb(60,24,112)
-
#3b1375
#3b1375
rgb(59,19,117)
-
#3b0e7a
#3b0e7a
rgb(59,14,122)
-
#3a0880
#3a0880
rgb(58,8,128)
-
#390385
#390385
rgb(57,3,133)
Tone Color Variation
Below, you can see how #402d5b 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