#402340 Color Information
In a RGB color space, hex #402340 is composed of 25.1% red, 13.7% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 45.3% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 29.3% and a lightness of 19.4%. #402340 color hex could be obtained by blending #804680 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 14
- B 25
-
- C 0
- M 45
- Y 0
- K 75
● #402340 color description : Very dark desaturated magenta.
#402340 Color Conversion
The hexadecimal color #402340 has RGB values of R:64, G:35, B:64 and CMYK values of C:0, M:0.45, Y:0, K:0.75. Its decimal value is 4203328.
Hex triplet | 402340 | #402340 |
---|---|---|
RGB Decimal | 64, 35, 64 | rgb(64,35,64) |
RGB Percent | 25.1, 13.7, 25.1 | rgb(25.1%,13.7%,25.1%) |
CMYK | 0, 45, 0, 75 | |
HSL | 300°, 29.3, 19.4 | hsl(300,29.3%,19.4%) |
HSV (or HSB) | 300°, 45.3, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 18.638, 19.246, -12.713 |
---|---|
XYZ | 3.641, 2.662, 5.172 |
xyY | 0.317, 0.232, 2.662 |
CIE-LCH | 18.638, 23.066, 326.553 |
CIE-LUV | 18.638, 11.775, -15.229 |
Hunter-Lab | 16.317, 11.274, -7.373 |
Binary | 01000000, 00100011, 01000000 |
Color Schemes with #402340
Alternatives to #402340
Below, you can see some colors close to #402340. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402340 Preview
This text has a font color of #402340.
<span style="color:#402340;">Text here</span>
This paragraph has a background color of #402340.
<p style="background-color:#402340;">Content here</p>
This element has a border color of #402340.
<div style="border:1px solid #402340;">Content here</div>
.text {color:#402340;}
.background {background-color:#402340;}
.border {border:1px solid #402340;}
Shades and Tints of #402340
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 #f8f3f8 is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0d070d
#0d070d
rgb(13,7,13)
-
#1a0e1a
#1a0e1a
rgb(26,14,26)
-
#271527
#271527
rgb(39,21,39)
-
#331c33
#331c33
rgb(51,28,51)
-
#402340
#402340
rgb(64,35,64)
-
#4d2a4d
#4d2a4d
rgb(77,42,77)
-
#593159
#593159
rgb(89,49,89)
-
#663866
#663866
rgb(102,56,102)
-
#733f73
#733f73
rgb(115,63,115)
-
#7f467f
#7f467f
rgb(127,70,127)
-
#8c4d8c
#8c4d8c
rgb(140,77,140)
-
#995499
#995499
rgb(153,84,153)
-
#a55ba5
#a55ba5
rgb(165,91,165)
-
#ac67ac
#ac67ac
rgb(172,103,172)
-
#b374b3
#b374b3
rgb(179,116,179)
-
#ba81ba
#ba81ba
rgb(186,129,186)
-
#c18dc1
#c18dc1
rgb(193,141,193)
-
#c89ac8
#c89ac8
rgb(200,154,200)
-
#cfa7cf
#cfa7cf
rgb(207,167,207)
-
#d6b4d6
#d6b4d6
rgb(214,180,214)
-
#ddc0dd
#ddc0dd
rgb(221,192,221)
-
#e4cde4
#e4cde4
rgb(228,205,228)
-
#ebdaeb
#ebdaeb
rgb(235,218,235)
-
#f1e6f1
#f1e6f1
rgb(241,230,241)
-
#f8f3f8
#f8f3f8
rgb(248,243,248)
Tones of #402340
A tone is produced by adding gray to any pure hue. In this case, #352e35 is the less saturated color, while #620162 is the most saturated one.
-
#352e35
#352e35
rgb(53,46,53)
-
#382b38
#382b38
rgb(56,43,56)
-
#3c273c
#3c273c
rgb(60,39,60)
-
#402340
#402340
rgb(64,35,64)
-
#441f44
#441f44
rgb(68,31,68)
-
#481b48
#481b48
rgb(72,27,72)
-
#4b184b
#4b184b
rgb(75,24,75)
-
#4f144f
#4f144f
rgb(79,20,79)
-
#531053
#531053
rgb(83,16,83)
-
#570c57
#570c57
rgb(87,12,87)
-
#5b085b
#5b085b
rgb(91,8,91)
-
#5e055e
#5e055e
rgb(94,5,94)
-
#620162
#620162
rgb(98,1,98)
Color Blindness Simulator
Below, you can see how #402340 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.