#402240 Color Information
In a RGB color space, hex #402240 is composed of 25.1% red, 13.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 46.9% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 30.6% and a lightness of 19.2%. #402240 color hex could be obtained by blending #804480 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 13
- B 25
-
- C 0
- M 47
- Y 0
- K 75
● #402240 color description : Very dark desaturated magenta.
#402240 Color Conversion
The hexadecimal color #402240 has RGB values of R:64, G:34, B:64 and CMYK values of C:0, M:0.47, Y:0, K:0.75. Its decimal value is 4203072.
Hex triplet | 402240 | #402240 |
---|---|---|
RGB Decimal | 64, 34, 64 | rgb(64,34,64) |
RGB Percent | 25.1, 13.3, 25.1 | rgb(25.1%,13.3%,25.1%) |
CMYK | 0, 47, 0, 75 | |
HSL | 300°, 30.6, 19.2 | hsl(300,30.6%,19.2%) |
HSV (or HSB) | 300°, 46.9, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 18.384, 19.89, -13.105 |
---|---|
XYZ | 3.612, 2.604, 5.163 |
xyY | 0.317, 0.229, 2.604 |
CIE-LCH | 18.384, 23.819, 326.62 |
CIE-LUV | 18.384, 12.078, -15.62 |
Hunter-Lab | 16.138, 11.707, -7.671 |
Binary | 01000000, 00100010, 01000000 |
Color Schemes with #402240
Alternatives to #402240
Below, you can see some colors close to #402240. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402240 Preview
This text has a font color of #402240.
<span style="color:#402240;">Text here</span>
This paragraph has a background color of #402240.
<p style="background-color:#402240;">Content here</p>
This element has a border color of #402240.
<div style="border:1px solid #402240;">Content here</div>
.text {color:#402240;}
.background {background-color:#402240;}
.border {border:1px solid #402240;}
Shades and Tints of #402240
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, #0d070d is the darkest color, while #ffffff is the lightest one.
-
#0d070d
#0d070d
rgb(13,7,13)
-
#1a0e1a
#1a0e1a
rgb(26,14,26)
-
#261426
#261426
rgb(38,20,38)
-
#331b33
#331b33
rgb(51,27,51)
-
#402240
#402240
rgb(64,34,64)
-
#4d294d
#4d294d
rgb(77,41,77)
-
#5a305a
#5a305a
rgb(90,48,90)
-
#663666
#663666
rgb(102,54,102)
-
#733d73
#733d73
rgb(115,61,115)
-
#804480
#804480
rgb(128,68,128)
-
#8d4b8d
#8d4b8d
rgb(141,75,141)
-
#9a529a
#9a529a
rgb(154,82,154)
-
#a658a6
#a658a6
rgb(166,88,166)
-
#ad65ad
#ad65ad
rgb(173,101,173)
-
#b472b4
#b472b4
rgb(180,114,180)
-
#bb7fbb
#bb7fbb
rgb(187,127,187)
-
#c28cc2
#c28cc2
rgb(194,140,194)
-
#c998c9
#c998c9
rgb(201,152,201)
-
#cfa5cf
#cfa5cf
rgb(207,165,207)
-
#d6b2d6
#d6b2d6
rgb(214,178,214)
-
#ddbfdd
#ddbfdd
rgb(221,191,221)
-
#e4cce4
#e4cce4
rgb(228,204,228)
-
#ebd9eb
#ebd9eb
rgb(235,217,235)
-
#f1e5f1
#f1e5f1
rgb(241,229,241)
-
#f8f2f8
#f8f2f8
rgb(248,242,248)
-
#ffffff
#ffffff
rgb(255,255,255)
Tones of #402240
A tone is produced by adding gray to any pure hue. In this case, #352d35 is the less saturated color, while #620062 is the most saturated one.
-
#352d35
#352d35
rgb(53,45,53)
-
#382a38
#382a38
rgb(56,42,56)
-
#3c263c
#3c263c
rgb(60,38,60)
-
#402240
#402240
rgb(64,34,64)
-
#441e44
#441e44
rgb(68,30,68)
-
#481a48
#481a48
rgb(72,26,72)
-
#4b174b
#4b174b
rgb(75,23,75)
-
#4f134f
#4f134f
rgb(79,19,79)
-
#530f53
#530f53
rgb(83,15,83)
-
#570b57
#570b57
rgb(87,11,87)
-
#5a085a
#5a085a
rgb(90,8,90)
-
#5e045e
#5e045e
rgb(94,4,94)
-
#620062
#620062
rgb(98,0,98)
Color Blindness Simulator
Below, you can see how #402240 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.