#402d79 hex color
In a RGB color space, hex #402d79 is composed of 25.1% red, 17.6% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 47.1% cyan, 62.8% magenta, 0% yellow and 52.5% black. It has a hue angle of 255 degrees, a saturation of 45.8% and a lightness of 32.5%. #402d79 color hex could be obtained by blending #805af2 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 47
RGB color chart
-
- C 47
- M 63
- Y 0
- K 53
CMYK color chart
● #402d79 color description : Dark moderate blue.
The hexadecimal color #402d79 has RGB values of R:64, G:45, B:121 and CMYK values of C:0.47, M:0.63, Y:0, K:0.53. Its decimal value is 4205945.
Hex triplet | 402d79 | #402d79 |
---|---|---|
RGB Decimal | 64, 45, 121 | rgb(64,45,121) |
RGB Percent | 25.1, 17.6, 47.5 | rgb(25.1%,17.6%,47.5%) |
CMYK | 47, 63, 0, 53 | |
HSL | 255°, 45.8, 32.5 | hsl(255,45.8%,32.5%) |
HSV (or HSB) | 255°, 62.8, 47.5 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 24.787, 28.696, -40.618 |
---|---|
XYZ | 6.503, 4.347, 18.585 |
xyY | 0.221, 0.148, 4.347 |
CIE-LCH | 24.787, 49.733, 305.241 |
CIE-LUV | 24.787, 2.012, -52.007 |
Hunter-Lab | 20.85, 19.189, -38.254 |
Binary | 01000000, 00101101, 01111001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402d79. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402d79
This text has a font color of #402d79.
<span style="color:#402d79;">Text here</span>
#402d79 background color
This paragraph has a background color of #402d79.
<p style="background-color:#402d79;">Content here</p>
#402d79 border color
This element has a border color of #402d79.
<div style="border:1px solid #402d79;">Content here</div>
CSS codes
.text {color:#402d79;}
.background {background-color:#402d79;}
.border {border:1px solid #402d79;}
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, #030207 is the darkest color, while #f9f7fc is the lightest one.
-
#030207
#030207
rgb(3,2,7)
-
#0b0815
#0b0815
rgb(11,8,21)
-
#130d23
#130d23
rgb(19,13,35)
-
#1a1232
#1a1232
rgb(26,18,50)
-
#221840
#221840
rgb(34,24,64)
-
#291d4e
#291d4e
rgb(41,29,78)
-
#31225c
#31225c
rgb(49,34,92)
-
#38286b
#38286b
rgb(56,40,107)
-
#402d79
#402d79
rgb(64,45,121)
-
#483287
#483287
rgb(72,50,135)
-
#4f3896
#4f3896
rgb(79,56,150)
-
#573da4
#573da4
rgb(87,61,164)
-
#5e42b2
#5e42b2
rgb(94,66,178)
Shade Color Variation
-
#684cbc
#684cbc
rgb(104,76,188)
-
#745ac2
#745ac2
rgb(116,90,194)
-
#8068c7
#8068c7
rgb(128,104,199)
-
#8c77cc
#8c77cc
rgb(140,119,204)
-
#9885d2
#9885d2
rgb(152,133,210)
-
#a493d7
#a493d7
rgb(164,147,215)
-
#b0a2dc
#b0a2dc
rgb(176,162,220)
-
#bcb0e2
#bcb0e2
rgb(188,176,226)
-
#c8bee7
#c8bee7
rgb(200,190,231)
-
#d4ccec
#d4ccec
rgb(212,204,236)
-
#e0dbf2
#e0dbf2
rgb(224,219,242)
-
#ece9f7
#ece9f7
rgb(236,233,247)
-
#f9f7fc
#f9f7fc
rgb(249,247,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #504d59 is the less saturated color, while #2a00a6 is the most saturated one.
-
#504d59
#504d59
rgb(80,77,89)
-
#4d475f
#4d475f
rgb(77,71,95)
-
#4a4066
#4a4066
rgb(74,64,102)
-
#463a6c
#463a6c
rgb(70,58,108)
-
#433373
#433373
rgb(67,51,115)
-
#402d79
#402d79
rgb(64,45,121)
-
#3d277f
#3d277f
rgb(61,39,127)
-
#3a2086
#3a2086
rgb(58,32,134)
-
#361a8c
#361a8c
rgb(54,26,140)
-
#331393
#331393
rgb(51,19,147)
-
#300d99
#300d99
rgb(48,13,153)
-
#2d079f
#2d079f
rgb(45,7,159)
-
#2a00a6
#2a00a6
rgb(42,0,166)
Tone Color Variation
Below, you can see how #402d79 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