#402b74 hex color
In a RGB color space, hex #402b74 is composed of 25.1% red, 16.9% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 62.9% magenta, 0% yellow and 54.5% black. It has a hue angle of 257.3 degrees, a saturation of 45.9% and a lightness of 31.2%. #402b74 color hex could be obtained by blending #8056e8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 17
- B 45
RGB color chart
-
- C 45
- M 63
- Y 0
- K 55
CMYK color chart
● #402b74 color description : Dark moderate violet.
The hexadecimal color #402b74 has RGB values of R:64, G:43, B:116 and CMYK values of C:0.45, M:0.63, Y:0, K:0.55. Its decimal value is 4205428.
Hex triplet | 402b74 | #402b74 |
---|---|---|
RGB Decimal | 64, 43, 116 | rgb(64,43,116) |
RGB Percent | 25.1, 16.9, 45.5 | rgb(25.1%,16.9%,45.5%) |
CMYK | 45, 63, 0, 55 | |
HSL | 257.3°, 45.9, 31.2 | hsl(257.3,45.9%,31.2%) |
HSV (or HSB) | 257.3°, 62.9, 45.5 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 23.93, 28.404, -38.821 |
---|---|
XYZ | 6.13, 4.079, 16.986 |
xyY | 0.225, 0.15, 4.079 |
CIE-LCH | 23.93, 48.102, 306.191 |
CIE-LUV | 23.93, 2.951, -49.139 |
Hunter-Lab | 20.196, 18.838, -35.731 |
Binary | 01000000, 00101011, 01110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402b74. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402b74
This text has a font color of #402b74.
<span style="color:#402b74;">Text here</span>
#402b74 background color
This paragraph has a background color of #402b74.
<p style="background-color:#402b74;">Content here</p>
#402b74 border color
This element has a border color of #402b74.
<div style="border:1px solid #402b74;">Content here</div>
CSS codes
.text {color:#402b74;}
.background {background-color:#402b74;}
.border {border:1px solid #402b74;}
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 #f5f2fa is the lightest one.
-
#010102
#010102
rgb(1,1,2)
-
#090610
#090610
rgb(9,6,16)
-
#110b1e
#110b1e
rgb(17,11,30)
-
#19102c
#19102c
rgb(25,16,44)
-
#20163b
#20163b
rgb(32,22,59)
-
#281b49
#281b49
rgb(40,27,73)
-
#302057
#302057
rgb(48,32,87)
-
#382666
#382666
rgb(56,38,102)
-
#402b74
#402b74
rgb(64,43,116)
-
#483082
#483082
rgb(72,48,130)
-
#503691
#503691
rgb(80,54,145)
-
#583b9f
#583b9f
rgb(88,59,159)
-
#6040ad
#6040ad
rgb(96,64,173)
Shade Color Variation
-
#6846bb
#6846bb
rgb(104,70,187)
-
#7455c0
#7455c0
rgb(116,85,192)
-
#7f63c5
#7f63c5
rgb(127,99,197)
-
#8b71cb
#8b71cb
rgb(139,113,203)
-
#9780d0
#9780d0
rgb(151,128,208)
-
#a28ed5
#a28ed5
rgb(162,142,213)
-
#ae9cda
#ae9cda
rgb(174,156,218)
-
#baabe0
#baabe0
rgb(186,171,224)
-
#c6b9e5
#c6b9e5
rgb(198,185,229)
-
#d1c7ea
#d1c7ea
rgb(209,199,234)
-
#ddd6f0
#ddd6f0
rgb(221,214,240)
-
#e9e4f5
#e9e4f5
rgb(233,228,245)
-
#f5f2fa
#f5f2fa
rgb(245,242,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4a55 is the less saturated color, while #2e009f is the most saturated one.
-
#4d4a55
#4d4a55
rgb(77,74,85)
-
#4a435c
#4a435c
rgb(74,67,92)
-
#483d62
#483d62
rgb(72,61,98)
-
#453768
#453768
rgb(69,55,104)
-
#43316e
#43316e
rgb(67,49,110)
-
#402b74
#402b74
rgb(64,43,116)
-
#3d257a
#3d257a
rgb(61,37,122)
-
#3b1f80
#3b1f80
rgb(59,31,128)
-
#381986
#381986
rgb(56,25,134)
-
#36138c
#36138c
rgb(54,19,140)
-
#330c93
#330c93
rgb(51,12,147)
-
#300699
#300699
rgb(48,6,153)
-
#2e009f
#2e009f
rgb(46,0,159)
Tone Color Variation
Below, you can see how #402b74 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