#402254 hex color
In a RGB color space, hex #402254 is composed of 25.1% red, 13.3% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 59.5% magenta, 0% yellow and 67.1% black. It has a hue angle of 276 degrees, a saturation of 42.4% and a lightness of 23.1%. #402254 color hex could be obtained by blending #8044a8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 13
- B 33
RGB color chart
-
- C 24
- M 60
- Y 0
- K 67
CMYK color chart
● #402254 color description : Very dark desaturated violet.
The hexadecimal color #402254 has RGB values of R:64, G:34, B:84 and CMYK values of C:0.24, M:0.6, Y:0, K:0.67. Its decimal value is 4203092.
Hex triplet | 402254 | #402254 |
---|---|---|
RGB Decimal | 64, 34, 84 | rgb(64,34,84) |
RGB Percent | 25.1, 13.3, 32.9 | rgb(25.1%,13.3%,32.9%) |
CMYK | 24, 60, 0, 67 | |
HSL | 276°, 42.4, 23.1 | hsl(276,42.4%,23.1%) |
HSV (or HSB) | 276°, 59.5, 32.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 19.533, 24.814, -24.931 |
---|---|
XYZ | 4.286, 2.874, 8.716 |
xyY | 0.27, 0.181, 2.874 |
CIE-LCH | 19.533, 35.175, 314.864 |
CIE-LUV | 19.533, 8.959, -29.613 |
Hunter-Lab | 16.954, 15.462, -18.614 |
Binary | 01000000, 00100010, 01010100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #402254. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402254
This text has a font color of #402254.
<span style="color:#402254;">Text here</span>
#402254 background color
This paragraph has a background color of #402254.
<p style="background-color:#402254;">Content here</p>
#402254 border color
This element has a border color of #402254.
<div style="border:1px solid #402254;">Content here</div>
CSS codes
.text {color:#402254;}
.background {background-color:#402254;}
.border {border:1px solid #402254;}
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, #000000 is the darkest color, while #f6f1f9 is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#0b060e
#0b060e
rgb(11,6,14)
-
#150b1c
#150b1c
rgb(21,11,28)
-
#20112a
#20112a
rgb(32,17,42)
-
#2b1738
#2b1738
rgb(43,23,56)
-
#351c46
#351c46
rgb(53,28,70)
-
#402254
#402254
rgb(64,34,84)
-
#4b2862
#4b2862
rgb(75,40,98)
-
#552d70
#552d70
rgb(85,45,112)
-
#60337e
#60337e
rgb(96,51,126)
-
#6b398c
#6b398c
rgb(107,57,140)
-
#753e9a
#753e9a
rgb(117,62,154)
-
#8044a8
#8044a8
rgb(128,68,168)
Shade Color Variation
-
#8a4ab6
#8a4ab6
rgb(138,74,182)
-
#9358bb
#9358bb
rgb(147,88,187)
-
#9c66c1
#9c66c1
rgb(156,102,193)
-
#a574c7
#a574c7
rgb(165,116,199)
-
#ae82cc
#ae82cc
rgb(174,130,204)
-
#b790d2
#b790d2
rgb(183,144,210)
-
#c09dd8
#c09dd8
rgb(192,157,216)
-
#c9abdd
#c9abdd
rgb(201,171,221)
-
#d2b9e3
#d2b9e3
rgb(210,185,227)
-
#dbc7e8
#dbc7e8
rgb(219,199,232)
-
#e4d5ee
#e4d5ee
rgb(228,213,238)
-
#ede3f4
#ede3f4
rgb(237,227,244)
-
#f6f1f9
#f6f1f9
rgb(246,241,249)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3b393d is the less saturated color, while #460274 is the most saturated one.
-
#3b393d
#3b393d
rgb(59,57,61)
-
#3c3442
#3c3442
rgb(60,52,66)
-
#3d3046
#3d3046
rgb(61,48,70)
-
#3e2b4b
#3e2b4b
rgb(62,43,75)
-
#3f274f
#3f274f
rgb(63,39,79)
-
#402254
#402254
rgb(64,34,84)
-
#411d59
#411d59
rgb(65,29,89)
-
#42195d
#42195d
rgb(66,25,93)
-
#431462
#431462
rgb(67,20,98)
-
#441066
#441066
rgb(68,16,102)
-
#450b6b
#450b6b
rgb(69,11,107)
-
#45076f
#45076f
rgb(69,7,111)
-
#460274
#460274
rgb(70,2,116)
Tone Color Variation
Below, you can see how #402254 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