#402d78 Color Information
In a RGB color space, hex #402d78 is composed of 25.1% red, 17.6% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 62.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 255.2 degrees, a saturation of 45.5% and a lightness of 32.4%. #402d78 color hex could be obtained by blending #805af0 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 18
- B 47
-
- C 47
- M 63
- Y 0
- K 53
● #402d78 color description : Dark moderate violet.
#402d78 Color Conversion
The hexadecimal color #402d78 has RGB values of R:64, G:45, B:120 and CMYK values of C:0.47, M:0.63, Y:0, K:0.53. Its decimal value is 4205944.
Hex triplet | 402d78 | #402d78 |
---|---|---|
RGB Decimal | 64, 45, 120 | rgb(64,45,120) |
RGB Percent | 25.1, 17.6, 47.1 | rgb(25.1%,17.6%,47.1%) |
CMYK | 47, 63, 0, 53 | |
HSL | 255.2°, 45.5, 32.4 | hsl(255.2,45.5%,32.4%) |
HSV (or HSB) | 255.2°, 62.5, 47.1 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 24.711, 28.384, -40.107 |
---|---|
XYZ | 6.442, 4.323, 18.263 |
xyY | 0.222, 0.149, 4.323 |
CIE-LCH | 24.711, 49.135, 305.288 |
CIE-LUV | 24.711, 2.107, -51.318 |
Hunter-Lab | 20.791, 18.925, -37.527 |
Binary | 01000000, 00101101, 01111000 |
Color Schemes with #402d78
Alternatives to #402d78
Below, you can see some colors close to #402d78. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d78 Preview
This text has a font color of #402d78.
<span style="color:#402d78;">Text here</span>
This paragraph has a background color of #402d78.
<p style="background-color:#402d78;">Content here</p>
This element has a border color of #402d78.
<div style="border:1px solid #402d78;">Content here</div>
.text {color:#402d78;}
.background {background-color:#402d78;}
.border {border:1px solid #402d78;}
Shades and Tints of #402d78
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, #030206 is the darkest color, while #f8f7fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0b0814
#0b0814
rgb(11,8,20)
-
#120d22
#120d22
rgb(18,13,34)
-
#1a1231
#1a1231
rgb(26,18,49)
-
#22183f
#22183f
rgb(34,24,63)
-
#291d4d
#291d4d
rgb(41,29,77)
-
#31225b
#31225b
rgb(49,34,91)
-
#38286a
#38286a
rgb(56,40,106)
-
#402d78
#402d78
rgb(64,45,120)
-
#483286
#483286
rgb(72,50,134)
-
#4f3895
#4f3895
rgb(79,56,149)
-
#573da3
#573da3
rgb(87,61,163)
-
#5e42b1
#5e42b1
rgb(94,66,177)
-
#684bbc
#684bbc
rgb(104,75,188)
-
#745ac1
#745ac1
rgb(116,90,193)
-
#8068c6
#8068c6
rgb(128,104,198)
-
#8c76cc
#8c76cc
rgb(140,118,204)
-
#9884d1
#9884d1
rgb(152,132,209)
-
#a493d6
#a493d6
rgb(164,147,214)
-
#b0a1dc
#b0a1dc
rgb(176,161,220)
-
#bcafe1
#bcafe1
rgb(188,175,225)
-
#c8bee6
#c8bee6
rgb(200,190,230)
-
#d4ccec
#d4ccec
rgb(212,204,236)
-
#e0daf1
#e0daf1
rgb(224,218,241)
-
#ece8f7
#ece8f7
rgb(236,232,247)
-
#f8f7fc
#f8f7fc
rgb(248,247,252)
Tones of #402d78
A tone is produced by adding gray to any pure hue. In this case, #504d58 is the less saturated color, while #2a01a4 is the most saturated one.
-
#504d58
#504d58
rgb(80,77,88)
-
#4d465f
#4d465f
rgb(77,70,95)
-
#494065
#494065
rgb(73,64,101)
-
#463a6b
#463a6b
rgb(70,58,107)
-
#433372
#433372
rgb(67,51,114)
-
#402d78
#402d78
rgb(64,45,120)
-
#3d277e
#3d277e
rgb(61,39,126)
-
#3a2085
#3a2085
rgb(58,32,133)
-
#371a8b
#371a8b
rgb(55,26,139)
-
#331491
#331491
rgb(51,20,145)
-
#300d98
#300d98
rgb(48,13,152)
-
#2d079e
#2d079e
rgb(45,7,158)
-
#2a01a4
#2a01a4
rgb(42,1,164)
Color Blindness Simulator
Below, you can see how #402d78 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.