#402156 hex color
In a RGB color space, hex #402156 is composed of 25.1% red, 12.9% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 25.6% cyan, 61.6% magenta, 0% yellow and 66.3% black. It has a hue angle of 275.1 degrees, a saturation of 44.5% and a lightness of 23.3%. #402156 color hex could be obtained by blending #8042ac with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 34
RGB color chart
-
- C 26
- M 62
- Y 0
- K 66
CMYK color chart
● #402156 color description : Very dark violet.
The hexadecimal color #402156 has RGB values of R:64, G:33, B:86 and CMYK values of C:0.26, M:0.62, Y:0, K:0.66. Its decimal value is 4202838.
Hex triplet | 402156 | #402156 |
---|---|---|
RGB Decimal | 64, 33, 86 | rgb(64,33,86) |
RGB Percent | 25.1, 12.9, 33.7 | rgb(25.1%,12.9%,33.7%) |
CMYK | 26, 62, 0, 66 | |
HSL | 275.1°, 44.5, 23.3 | hsl(275.1,44.5%,23.3%) |
HSV (or HSB) | 275.1°, 61.6, 33.7 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 19.432, 25.958, -26.434 |
---|---|
XYZ | 4.338, 2.85, 9.125 |
xyY | 0.266, 0.175, 2.85 |
CIE-LCH | 19.432, 37.049, 314.479 |
CIE-LUV | 19.432, 8.888, -31.295 |
Hunter-Lab | 16.881, 16.325, -20.233 |
Binary | 01000000, 00100001, 01010110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402156. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402156
This text has a font color of #402156.
<span style="color:#402156;">Text here</span>
#402156 background color
This paragraph has a background color of #402156.
<p style="background-color:#402156;">Content here</p>
#402156 border color
This element has a border color of #402156.
<div style="border:1px solid #402156;">Content here</div>
CSS codes
.text {color:#402156;}
.background {background-color:#402156;}
.border {border:1px solid #402156;}
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, #010001 is the darkest color, while #f7f2fa is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0b060f
#0b060f
rgb(11,6,15)
-
#160b1d
#160b1d
rgb(22,11,29)
-
#20112b
#20112b
rgb(32,17,43)
-
#2b163a
#2b163a
rgb(43,22,58)
-
#351c48
#351c48
rgb(53,28,72)
-
#402156
#402156
rgb(64,33,86)
-
#4b2664
#4b2664
rgb(75,38,100)
-
#552c72
#552c72
rgb(85,44,114)
-
#603181
#603181
rgb(96,49,129)
-
#6a378f
#6a378f
rgb(106,55,143)
-
#753c9d
#753c9d
rgb(117,60,157)
-
#7f42ab
#7f42ab
rgb(127,66,171)
Shade Color Variation
-
#8a48b9
#8a48b9
rgb(138,72,185)
-
#9356be
#9356be
rgb(147,86,190)
-
#9c64c4
#9c64c4
rgb(156,100,196)
-
#a572c9
#a572c9
rgb(165,114,201)
-
#ae80ce
#ae80ce
rgb(174,128,206)
-
#b78fd4
#b78fd4
rgb(183,143,212)
-
#c09dd9
#c09dd9
rgb(192,157,217)
-
#c9abdf
#c9abdf
rgb(201,171,223)
-
#d2b9e4
#d2b9e4
rgb(210,185,228)
-
#dbc7ea
#dbc7ea
rgb(219,199,234)
-
#e4d5ef
#e4d5ef
rgb(228,213,239)
-
#ede4f4
#ede4f4
rgb(237,228,244)
-
#f7f2fa
#f7f2fa
rgb(247,242,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3c383f is the less saturated color, while #450176 is the most saturated one.
-
#3c383f
#3c383f
rgb(60,56,63)
-
#3d3344
#3d3344
rgb(61,51,68)
-
#3e2f48
#3e2f48
rgb(62,47,72)
-
#3e2a4d
#3e2a4d
rgb(62,42,77)
-
#3f2651
#3f2651
rgb(63,38,81)
-
#402156
#402156
rgb(64,33,86)
-
#411c5b
#411c5b
rgb(65,28,91)
-
#42185f
#42185f
rgb(66,24,95)
-
#421364
#421364
rgb(66,19,100)
-
#430f68
#430f68
rgb(67,15,104)
-
#440a6d
#440a6d
rgb(68,10,109)
-
#450671
#450671
rgb(69,6,113)
-
#450176
#450176
rgb(69,1,118)
Tone Color Variation
Below, you can see how #402156 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