#402171 Color Information
In a RGB color space, hex #402171 is composed of 25.1% red, 12.9% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 43.4% cyan, 70.8% magenta, 0% yellow and 55.7% black. It has a hue angle of 263.3 degrees, a saturation of 54.8% and a lightness of 28.6%. #402171 color hex could be obtained by blending #8042e2 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 44
-
- C 43
- M 71
- Y 0
- K 56
● #402171 color description : Very dark violet.
#402171 Color Conversion
The hexadecimal color #402171 has RGB values of R:64, G:33, B:113 and CMYK values of C:0.43, M:0.71, Y:0, K:0.56. Its decimal value is 4202865.
Hex triplet | 402171 | #402171 |
---|---|---|
RGB Decimal | 64, 33, 113 | rgb(64,33,113) |
RGB Percent | 25.1, 12.9, 44.3 | rgb(25.1%,12.9%,44.3%) |
CMYK | 43, 71, 0, 56 | |
HSL | 263.3°, 54.8, 28.6 | hsl(263.3,54.8%,28.6%) |
HSV (or HSB) | 263.3°, 70.8, 44.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 21.468, 33.501, -40.885 |
---|---|
XYZ | 5.638, 3.37, 15.975 |
xyY | 0.226, 0.135, 3.37 |
CIE-LCH | 21.468, 52.857, 309.331 |
CIE-LUV | 21.468, 5.242, -49.406 |
Hunter-Lab | 18.357, 22.7, -38.746 |
Binary | 01000000, 00100001, 01110001 |
Color Schemes with #402171
Alternatives to #402171
Below, you can see some colors close to #402171. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402171 Preview
This text has a font color of #402171.
<span style="color:#402171;">Text here</span>
This paragraph has a background color of #402171.
<p style="background-color:#402171;">Content here</p>
This element has a border color of #402171.
<div style="border:1px solid #402171;">Content here</div>
.text {color:#402171;}
.background {background-color:#402171;}
.border {border:1px solid #402171;}
Shades and Tints of #402171
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 #f9f7fd is the lightest one.
-
#040207
#040207
rgb(4,2,7)
-
#0c0616
#0c0616
rgb(12,6,22)
-
#150b25
#150b25
rgb(21,11,37)
-
#1e0f34
#1e0f34
rgb(30,15,52)
-
#261443
#261443
rgb(38,20,67)
-
#2f1853
#2f1853
rgb(47,24,83)
-
#371d62
#371d62
rgb(55,29,98)
-
#402171
#402171
rgb(64,33,113)
-
#492580
#492580
rgb(73,37,128)
-
#512a8f
#512a8f
rgb(81,42,143)
-
#5a2e9f
#5a2e9f
rgb(90,46,159)
-
#6233ae
#6233ae
rgb(98,51,174)
-
#6b37bd
#6b37bd
rgb(107,55,189)
-
#7540c7
#7540c7
rgb(117,64,199)
-
#8050cc
#8050cc
rgb(128,80,204)
-
#8b5fd0
#8b5fd0
rgb(139,95,208)
-
#966ed5
#966ed5
rgb(150,110,213)
-
#a17dd9
#a17dd9
rgb(161,125,217)
-
#ac8cdd
#ac8cdd
rgb(172,140,221)
-
#b79be2
#b79be2
rgb(183,155,226)
-
#c2abe6
#c2abe6
rgb(194,171,230)
-
#cdbaeb
#cdbaeb
rgb(205,186,235)
-
#d8c9ef
#d8c9ef
rgb(216,201,239)
-
#e3d8f4
#e3d8f4
rgb(227,216,244)
-
#eee7f8
#eee7f8
rgb(238,231,248)
-
#f9f7fd
#f9f7fd
rgb(249,247,253)
Tones of #402171
A tone is produced by adding gray to any pure hue. In this case, #49484a is the less saturated color, while #3a058d is the most saturated one.
-
#49484a
#49484a
rgb(73,72,74)
-
#48434f
#48434f
rgb(72,67,79)
-
#463d55
#463d55
rgb(70,61,85)
-
#45375b
#45375b
rgb(69,55,91)
-
#443260
#443260
rgb(68,50,96)
-
#432c66
#432c66
rgb(67,44,102)
-
#41276b
#41276b
rgb(65,39,107)
-
#402171
#402171
rgb(64,33,113)
-
#3f1b77
#3f1b77
rgb(63,27,119)
-
#3d167c
#3d167c
rgb(61,22,124)
-
#3c1082
#3c1082
rgb(60,16,130)
-
#3b0b87
#3b0b87
rgb(59,11,135)
-
#3a058d
#3a058d
rgb(58,5,141)
Color Blindness Simulator
Below, you can see how #402171 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.