#402d5f hex color
In a RGB color space, hex #402d5f is composed of 25.1% red, 17.6% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 32.6% cyan, 52.6% magenta, 0% yellow and 62.7% black. It has a hue angle of 262.8 degrees, a saturation of 35.7% and a lightness of 27.5%. #402d5f color hex could be obtained by blending #805abe with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 37
RGB color chart
-
- C 33
- M 53
- Y 0
- K 63
CMYK color chart
● #402d5f color description : Very dark desaturated violet.
The hexadecimal color #402d5f has RGB values of R:64, G:45, B:95 and CMYK values of C:0.33, M:0.53, Y:0, K:0.63. Its decimal value is 4205919.
Hex triplet | 402d5f | #402d5f |
---|---|---|
RGB Decimal | 64, 45, 95 | rgb(64,45,95) |
RGB Percent | 25.1, 17.6, 37.3 | rgb(25.1%,17.6%,37.3%) |
CMYK | 33, 53, 0, 63 | |
HSL | 262.8°, 35.7, 27.5 | hsl(262.8,35.7%,27.5%) |
HSV (or HSB) | 262.8°, 52.6, 37.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 22.975, 20.814, -26.757 |
---|---|
XYZ | 5.118, 3.793, 11.288 |
xyY | 0.253, 0.188, 3.793 |
CIE-LCH | 22.975, 33.899, 307.879 |
CIE-LUV | 22.975, 4.683, -33.538 |
Hunter-Lab | 19.476, 12.825, -20.732 |
Binary | 01000000, 00101101, 01011111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402d5f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402d5f
This text has a font color of #402d5f.
<span style="color:#402d5f;">Text here</span>
#402d5f background color
This paragraph has a background color of #402d5f.
<p style="background-color:#402d5f;">Content here</p>
#402d5f border color
This element has a border color of #402d5f.
<div style="border:1px solid #402d5f;">Content here</div>
CSS codes
.text {color:#402d5f;}
.background {background-color:#402d5f;}
.border {border:1px solid #402d5f;}
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, #010102 is the darkest color, while #f6f4fa is the lightest one.
-
#010102
#010102
rgb(1,1,2)
-
#0a070f
#0a070f
rgb(10,7,15)
-
#130d1c
#130d1c
rgb(19,13,28)
-
#1c142a
#1c142a
rgb(28,20,42)
-
#251a37
#251a37
rgb(37,26,55)
-
#2e2044
#2e2044
rgb(46,32,68)
-
#372752
#372752
rgb(55,39,82)
-
#402d5f
#402d5f
rgb(64,45,95)
-
#49336c
#49336c
rgb(73,51,108)
-
#523a7a
#523a7a
rgb(82,58,122)
-
#5b4087
#5b4087
rgb(91,64,135)
-
#644694
#644694
rgb(100,70,148)
-
#6d4da2
#6d4da2
rgb(109,77,162)
Shade Color Variation
-
#7654ae
#7654ae
rgb(118,84,174)
-
#8161b4
#8161b4
rgb(129,97,180)
-
#8b6ebb
#8b6ebb
rgb(139,110,187)
-
#967cc1
#967cc1
rgb(150,124,193)
-
#a189c7
#a189c7
rgb(161,137,199)
-
#ab96cd
#ab96cd
rgb(171,150,205)
-
#b6a4d4
#b6a4d4
rgb(182,164,212)
-
#c1b1da
#c1b1da
rgb(193,177,218)
-
#cbbee0
#cbbee0
rgb(203,190,224)
-
#d6cce7
#d6cce7
rgb(214,204,231)
-
#e1d9ed
#e1d9ed
rgb(225,217,237)
-
#ebe6f3
#ebe6f3
rgb(235,230,243)
-
#f6f4fa
#f6f4fa
rgb(246,244,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #454349 is the less saturated color, while #36028a is the most saturated one.
-
#454349
#454349
rgb(69,67,73)
-
#443d4f
#443d4f
rgb(68,61,79)
-
#433854
#433854
rgb(67,56,84)
-
#41325a
#41325a
rgb(65,50,90)
-
#402d5f
#402d5f
rgb(64,45,95)
-
#3f2864
#3f2864
rgb(63,40,100)
-
#3d226a
#3d226a
rgb(61,34,106)
-
#3c1d6f
#3c1d6f
rgb(60,29,111)
-
#3b1775
#3b1775
rgb(59,23,117)
-
#3a127a
#3a127a
rgb(58,18,122)
-
#380d7f
#380d7f
rgb(56,13,127)
-
#370785
#370785
rgb(55,7,133)
-
#36028a
#36028a
rgb(54,2,138)
Tone Color Variation
Below, you can see how #402d5f 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