#402072 hex color
In a RGB color space, hex #402072 is composed of 25.1% red, 12.5% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 43.9% cyan, 71.9% magenta, 0% yellow and 55.3% black. It has a hue angle of 263.4 degrees, a saturation of 56.2% and a lightness of 28.6%. #402072 color hex could be obtained by blending #8040e4 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 45
RGB color chart
-
- C 44
- M 72
- Y 0
- K 55
CMYK color chart
● #402072 color description : Very dark violet.
The hexadecimal color #402072 has RGB values of R:64, G:32, B:114 and CMYK values of C:0.44, M:0.72, Y:0, K:0.55. Its decimal value is 4202610.
Hex triplet | 402072 | #402072 |
---|---|---|
RGB Decimal | 64, 32, 114 | rgb(64,32,114) |
RGB Percent | 25.1, 12.5, 44.7 | rgb(25.1%,12.5%,44.7%) |
CMYK | 44, 72, 0, 55 | |
HSL | 263.4°, 56.2, 28.6 | hsl(263.4,56.2%,28.6%) |
HSV (or HSB) | 263.4°, 71.9, 44.7 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 21.349, 34.351, -41.723 |
---|---|
XYZ | 5.668, 3.338, 16.264 |
xyY | 0.224, 0.132, 3.338 |
CIE-LCH | 21.349, 54.044, 309.466 |
CIE-LUV | 21.349, 5.285, -50.219 |
Hunter-Lab | 18.27, 23.401, -39.992 |
Binary | 01000000, 00100000, 01110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402072. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402072
This text has a font color of #402072.
<span style="color:#402072;">Text here</span>
#402072 background color
This paragraph has a background color of #402072.
<p style="background-color:#402072;">Content here</p>
#402072 border color
This element has a border color of #402072.
<div style="border:1px solid #402072;">Content here</div>
CSS codes
.text {color:#402072;}
.background {background-color:#402072;}
.border {border:1px solid #402072;}
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, #040207 is the darkest color, while #f9f6fd is the lightest one.
-
#040207
#040207
rgb(4,2,7)
-
#0c0616
#0c0616
rgb(12,6,22)
-
#150b25
#150b25
rgb(21,11,37)
-
#1e0f35
#1e0f35
rgb(30,15,53)
-
#261344
#261344
rgb(38,19,68)
-
#2f1753
#2f1753
rgb(47,23,83)
-
#371c63
#371c63
rgb(55,28,99)
-
#402072
#402072
rgb(64,32,114)
-
#492481
#492481
rgb(73,36,129)
-
#512991
#512991
rgb(81,41,145)
-
#5a2da0
#5a2da0
rgb(90,45,160)
-
#6231af
#6231af
rgb(98,49,175)
-
#6b35bf
#6b35bf
rgb(107,53,191)
Shade Color Variation
-
#753fc9
#753fc9
rgb(117,63,201)
-
#804ecd
#804ecd
rgb(128,78,205)
-
#8b5dd2
#8b5dd2
rgb(139,93,210)
-
#966dd6
#966dd6
rgb(150,109,214)
-
#a17cda
#a17cda
rgb(161,124,218)
-
#ac8bdf
#ac8bdf
rgb(172,139,223)
-
#b79be3
#b79be3
rgb(183,155,227)
-
#c2aae7
#c2aae7
rgb(194,170,231)
-
#cdb9eb
#cdb9eb
rgb(205,185,235)
-
#d8c9f0
#d8c9f0
rgb(216,201,240)
-
#e3d8f4
#e3d8f4
rgb(227,216,244)
-
#eee7f8
#eee7f8
rgb(238,231,248)
-
#f9f6fd
#f9f6fd
rgb(249,246,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #49474b is the less saturated color, while #3a048e is the most saturated one.
-
#49474b
#49474b
rgb(73,71,75)
-
#474250
#474250
rgb(71,66,80)
-
#463c56
#463c56
rgb(70,60,86)
-
#45365c
#45365c
rgb(69,54,92)
-
#443161
#443161
rgb(68,49,97)
-
#422b67
#422b67
rgb(66,43,103)
-
#41266c
#41266c
rgb(65,38,108)
-
#402072
#402072
rgb(64,32,114)
-
#3f1a78
#3f1a78
rgb(63,26,120)
-
#3e157d
#3e157d
rgb(62,21,125)
-
#3c0f83
#3c0f83
rgb(60,15,131)
-
#3b0a88
#3b0a88
rgb(59,10,136)
-
#3a048e
#3a048e
rgb(58,4,142)
Tone Color Variation
Below, you can see how #402072 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