#402a54 Color Information
In a RGB color space, hex #402a54 is composed of 25.1% red, 16.5% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 50% magenta, 0% yellow and 67.1% black. It has a hue angle of 271.4 degrees, a saturation of 33.3% and a lightness of 24.7%. #402a54 color hex could be obtained by blending #8054a8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 33
-
- C 24
- M 50
- Y 0
- K 67
● #402a54 color description : Very dark desaturated violet.
#402a54 Color Conversion
The hexadecimal color #402a54 has RGB values of R:64, G:42, B:84 and CMYK values of C:0.24, M:0.5, Y:0, K:0.67. Its decimal value is 4205140.
Hex triplet | 402a54 | #402a54 |
---|---|---|
RGB Decimal | 64, 42, 84 | rgb(64,42,84) |
RGB Percent | 25.1, 16.5, 32.9 | rgb(25.1%,16.5%,32.9%) |
CMYK | 24, 50, 0, 67 | |
HSL | 271.4°, 33.3, 24.7 | hsl(271.4,33.3%,24.7%) |
HSV (or HSB) | 271.4°, 50, 32.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 21.528, 19.688, -21.772 |
---|---|
XYZ | 4.542, 3.386, 8.801 |
xyY | 0.272, 0.202, 3.386 |
CIE-LCH | 21.528, 29.353, 312.122 |
CIE-LUV | 21.528, 6.842, -26.727 |
Hunter-Lab | 18.401, 11.86, -15.477 |
Binary | 01000000, 00101010, 01010100 |
Color Schemes with #402a54
Alternatives to #402a54
Below, you can see some colors close to #402a54. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a54 Preview
This text has a font color of #402a54.
<span style="color:#402a54;">Text here</span>
This paragraph has a background color of #402a54.
<p style="background-color:#402a54;">Content here</p>
This element has a border color of #402a54.
<div style="border:1px solid #402a54;">Content here</div>
.text {color:#402a54;}
.background {background-color:#402a54;}
.border {border:1px solid #402a54;}
Shades and Tints of #402a54
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, #040306 is the darkest color, while #f9f7fb is the lightest one.
-
#040306
#040306
rgb(4,3,6)
-
#0e0913
#0e0913
rgb(14,9,19)
-
#181020
#181020
rgb(24,16,32)
-
#22162d
#22162d
rgb(34,22,45)
-
#2c1d3a
#2c1d3a
rgb(44,29,58)
-
#362347
#362347
rgb(54,35,71)
-
#402a54
#402a54
rgb(64,42,84)
-
#4a3161
#4a3161
rgb(74,49,97)
-
#54376e
#54376e
rgb(84,55,110)
-
#5e3e7b
#5e3e7b
rgb(94,62,123)
-
#684488
#684488
rgb(104,68,136)
-
#724b95
#724b95
rgb(114,75,149)
-
#7c51a2
#7c51a2
rgb(124,81,162)
-
#865bad
#865bad
rgb(134,91,173)
-
#8f68b3
#8f68b3
rgb(143,104,179)
-
#9975ba
#9975ba
rgb(153,117,186)
-
#a382c0
#a382c0
rgb(163,130,192)
-
#ac8fc7
#ac8fc7
rgb(172,143,199)
-
#b69ccd
#b69ccd
rgb(182,156,205)
-
#c0a9d4
#c0a9d4
rgb(192,169,212)
-
#c9b6db
#c9b6db
rgb(201,182,219)
-
#d3c3e1
#d3c3e1
rgb(211,195,225)
-
#dcd0e8
#dcd0e8
rgb(220,208,232)
-
#e6ddee
#e6ddee
rgb(230,221,238)
-
#f0eaf5
#f0eaf5
rgb(240,234,245)
-
#f9f7fb
#f9f7fb
rgb(249,247,251)
Tones of #402a54
A tone is produced by adding gray to any pure hue. In this case, #3f3d41 is the less saturated color, while #42037b is the most saturated one.
-
#3f3d41
#3f3d41
rgb(63,61,65)
-
#3f3945
#3f3945
rgb(63,57,69)
-
#40344a
#40344a
rgb(64,52,74)
-
#402f4f
#402f4f
rgb(64,47,79)
-
#402a54
#402a54
rgb(64,42,84)
-
#402559
#402559
rgb(64,37,89)
-
#40205e
#40205e
rgb(64,32,94)
-
#411b63
#411b63
rgb(65,27,99)
-
#411767
#411767
rgb(65,23,103)
-
#41126c
#41126c
rgb(65,18,108)
-
#410d71
#410d71
rgb(65,13,113)
-
#420876
#420876
rgb(66,8,118)
-
#42037b
#42037b
rgb(66,3,123)
Color Blindness Simulator
Below, you can see how #402a54 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.