#402140 Color Information
In a RGB color space, hex #402140 is composed of 25.1% red, 12.9% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 48.4% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 32% and a lightness of 19%. #402140 color hex could be obtained by blending #804280 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 13
- B 25
-
- C 0
- M 48
- Y 0
- K 75
● #402140 color description : Very dark desaturated magenta.
#402140 Color Conversion
The hexadecimal color #402140 has RGB values of R:64, G:33, B:64 and CMYK values of C:0, M:0.48, Y:0, K:0.75. Its decimal value is 4202816.
| Hex triplet | 402140 | #402140 |
|---|---|---|
| RGB Decimal | 64, 33, 64 | rgb(64,33,64) |
| RGB Percent | 25.1, 12.9, 25.1 | rgb(25.1%,12.9%,25.1%) |
| CMYK | 0, 48, 0, 75 | |
| HSL | 300°, 32, 19 | hsl(300,32%,19%) |
| HSV (or HSB) | 300°, 48.4, 25.1 | |
| Web Safe | 333333 | #333333 |
| CIE-LAB | 18.134, 20.528, -13.492 |
|---|---|
| XYZ | 3.584, 2.548, 5.153 |
| xyY | 0.318, 0.226, 2.548 |
| CIE-LCH | 18.134, 24.565, 326.686 |
| CIE-LUV | 18.134, 12.372, -16 |
| Hunter-Lab | 15.963, 12.138, -7.967 |
| Binary | 01000000, 00100001, 01000000 |
Color Schemes with #402140
Alternatives to #402140
Below, you can see some colors close to #402140. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402140 Preview
This text has a font color of #402140.
<span style="color:#402140;">Text here</span>
This paragraph has a background color of #402140.
<p style="background-color:#402140;">Content here</p>
This element has a border color of #402140.
<div style="border:1px solid #402140;">Content here</div>
.text {color:#402140;}
.background {background-color:#402140;}
.border {border:1px solid #402140;}
Shades and Tints of #402140
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, #0c060c is the darkest color, while #fffeff is the lightest one.
-
#0c060c
#0c060crgb(12,6,12) -
#190d19
#190d19rgb(25,13,25) -
#261426
#261426rgb(38,20,38) -
#331a33
#331a33rgb(51,26,51) -
#402140
#402140rgb(64,33,64) -
#4d284d
#4d284drgb(77,40,77) -
#5a2e5a
#5a2e5argb(90,46,90) -
#673567
#673567rgb(103,53,103) -
#743c74
#743c74rgb(116,60,116) -
#814281
#814281rgb(129,66,129) -
#8e498e
#8e498ergb(142,73,142) -
#9b509b
#9b509brgb(155,80,155) -
#a856a8
#a856a8rgb(168,86,168)
-
#af63af
#af63afrgb(175,99,175) -
#b570b5
#b570b5rgb(181,112,181) -
#bc7dbc
#bc7dbcrgb(188,125,188) -
#c38ac3
#c38ac3rgb(195,138,195) -
#c997c9
#c997c9rgb(201,151,201) -
#d0a4d0
#d0a4d0rgb(208,164,208) -
#d7b1d7
#d7b1d7rgb(215,177,215) -
#ddbedd
#ddbeddrgb(221,190,221) -
#e4cbe4
#e4cbe4rgb(228,203,228) -
#ebd7eb
#ebd7ebrgb(235,215,235) -
#f1e4f1
#f1e4f1rgb(241,228,241) -
#f8f1f8
#f8f1f8rgb(248,241,248) -
#fffeff
#fffeffrgb(255,254,255)
Tones of #402140
A tone is produced by adding gray to any pure hue. In this case, #313031 is the less saturated color, while #5e035e is the most saturated one.
-
#313031
#313031rgb(49,48,49) -
#352c35
#352c35rgb(53,44,53) -
#392839
#392839rgb(57,40,57) -
#3c253c
#3c253crgb(60,37,60) -
#402140
#402140rgb(64,33,64) -
#441d44
#441d44rgb(68,29,68) -
#471a47
#471a47rgb(71,26,71) -
#4b164b
#4b164brgb(75,22,75) -
#4f124f
#4f124frgb(79,18,79) -
#530e53
#530e53rgb(83,14,83) -
#560b56
#560b56rgb(86,11,86) -
#5a075a
#5a075argb(90,7,90) -
#5e035e
#5e035ergb(94,3,94)
Color Blindness Simulator
Below, you can see how #402140 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.
