#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
#010001rgb(1,0,1) -
#0d070d
#0d070drgb(13,7,13) -
#1a0e1a
#1a0e1argb(26,14,26) -
#271527
#271527rgb(39,21,39) -
#331c33
#331c33rgb(51,28,51) -
#402340
#402340rgb(64,35,64) -
#4d2a4d
#4d2a4drgb(77,42,77) -
#593159
#593159rgb(89,49,89) -
#663866
#663866rgb(102,56,102) -
#733f73
#733f73rgb(115,63,115) -
#7f467f
#7f467frgb(127,70,127) -
#8c4d8c
#8c4d8crgb(140,77,140) -
#995499
#995499rgb(153,84,153)
-
#a55ba5
#a55ba5rgb(165,91,165) -
#ac67ac
#ac67acrgb(172,103,172) -
#b374b3
#b374b3rgb(179,116,179) -
#ba81ba
#ba81bargb(186,129,186) -
#c18dc1
#c18dc1rgb(193,141,193) -
#c89ac8
#c89ac8rgb(200,154,200) -
#cfa7cf
#cfa7cfrgb(207,167,207) -
#d6b4d6
#d6b4d6rgb(214,180,214) -
#ddc0dd
#ddc0ddrgb(221,192,221) -
#e4cde4
#e4cde4rgb(228,205,228) -
#ebdaeb
#ebdaebrgb(235,218,235) -
#f1e6f1
#f1e6f1rgb(241,230,241) -
#f8f3f8
#f8f3f8rgb(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
#352e35rgb(53,46,53) -
#382b38
#382b38rgb(56,43,56) -
#3c273c
#3c273crgb(60,39,60) -
#402340
#402340rgb(64,35,64) -
#441f44
#441f44rgb(68,31,68) -
#481b48
#481b48rgb(72,27,72) -
#4b184b
#4b184brgb(75,24,75) -
#4f144f
#4f144frgb(79,20,79) -
#531053
#531053rgb(83,16,83) -
#570c57
#570c57rgb(87,12,87) -
#5b085b
#5b085brgb(91,8,91) -
#5e055e
#5e055ergb(94,5,94) -
#620162
#620162rgb(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.
