#402c54 hex color
In a RGB color space, hex #402c54 is composed of 25.1% red, 17.3% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 47.6% magenta, 0% yellow and 67.1% black. It has a hue angle of 270 degrees, a saturation of 31.3% and a lightness of 25.1%. #402c54 color hex could be obtained by blending #8058a8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 17
- B 33
RGB color chart
-
- C 24
- M 48
- Y 0
- K 67
CMYK color chart
● #402c54 color description : Very dark desaturated violet.
The hexadecimal color #402c54 has RGB values of R:64, G:44, B:84 and CMYK values of C:0.24, M:0.48, Y:0, K:0.67. Its decimal value is 4205652.
Hex triplet | 402c54 | #402c54 |
---|---|---|
RGB Decimal | 64, 44, 84 | rgb(64,44,84) |
RGB Percent | 25.1, 17.3, 32.9 | rgb(25.1%,17.3%,32.9%) |
CMYK | 24, 48, 0, 67 | |
HSL | 270°, 31.3, 25.1 | hsl(270,31.3%,25.1%) |
HSV (or HSB) | 270°, 47.6, 32.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 22.058, 18.367, -20.938 |
---|---|
XYZ | 4.615, 3.531, 8.826 |
xyY | 0.272, 0.208, 3.531 |
CIE-LCH | 22.058, 27.852, 311.259 |
CIE-LUV | 22.058, 6.238, -25.879 |
Hunter-Lab | 18.792, 10.95, -14.69 |
Binary | 01000000, 00101100, 01010100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402c54. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402c54
This text has a font color of #402c54.
<span style="color:#402c54;">Text here</span>
#402c54 background color
This paragraph has a background color of #402c54.
<p style="background-color:#402c54;">Content here</p>
#402c54 border color
This element has a border color of #402c54.
<div style="border:1px solid #402c54;">Content here</div>
CSS codes
.text {color:#402c54;}
.background {background-color:#402c54;}
.border {border:1px solid #402c54;}
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, #050407 is the darkest color, while #faf9fc is the lightest one.
-
#050407
#050407
rgb(5,4,7)
-
#0f0a14
#0f0a14
rgb(15,10,20)
-
#191121
#191121
rgb(25,17,33)
-
#23182d
#23182d
rgb(35,24,45)
-
#2c1f3a
#2c1f3a
rgb(44,31,58)
-
#362547
#362547
rgb(54,37,71)
-
#402c54
#402c54
rgb(64,44,84)
-
#4a3361
#4a3361
rgb(74,51,97)
-
#54396e
#54396e
rgb(84,57,110)
-
#5d407b
#5d407b
rgb(93,64,123)
-
#674787
#674787
rgb(103,71,135)
-
#714e94
#714e94
rgb(113,78,148)
-
#7b54a1
#7b54a1
rgb(123,84,161)
Shade Color Variation
-
#855eab
#855eab
rgb(133,94,171)
-
#8e6bb2
#8e6bb2
rgb(142,107,178)
-
#9878b8
#9878b8
rgb(152,120,184)
-
#a285bf
#a285bf
rgb(162,133,191)
-
#ac92c6
#ac92c6
rgb(172,146,198)
-
#b69fcd
#b69fcd
rgb(182,159,205)
-
#c0acd3
#c0acd3
rgb(192,172,211)
-
#c9b9da
#c9b9da
rgb(201,185,218)
-
#d3c5e1
#d3c5e1
rgb(211,197,225)
-
#ddd2e8
#ddd2e8
rgb(221,210,232)
-
#e7dfee
#e7dfee
rgb(231,223,238)
-
#f1ecf5
#f1ecf5
rgb(241,236,245)
-
#faf9fc
#faf9fc
rgb(250,249,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #404040 is the less saturated color, while #40057b is the most saturated one.
-
#404040
#404040
rgb(64,64,64)
-
#403b45
#403b45
rgb(64,59,69)
-
#40364a
#40364a
rgb(64,54,74)
-
#40314f
#40314f
rgb(64,49,79)
-
#402c54
#402c54
rgb(64,44,84)
-
#402759
#402759
rgb(64,39,89)
-
#40225e
#40225e
rgb(64,34,94)
-
#401d63
#401d63
rgb(64,29,99)
-
#401868
#401868
rgb(64,24,104)
-
#40136d
#40136d
rgb(64,19,109)
-
#400e72
#400e72
rgb(64,14,114)
-
#400a76
#400a76
rgb(64,10,118)
-
#40057b
#40057b
rgb(64,5,123)
Tone Color Variation
Below, you can see how #402c54 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