#402740 Color Information
In a RGB color space, hex #402740 is composed of 25.1% red, 15.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 39.1% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 24.3% and a lightness of 20.2%. #402740 color hex could be obtained by blending #804e80 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 15
- B 25
-
- C 0
- M 39
- Y 0
- K 75
● #402740 color description : Very dark desaturated magenta.
#402740 Color Conversion
The hexadecimal color #402740 has RGB values of R:64, G:39, B:64 and CMYK values of C:0, M:0.39, Y:0, K:0.75. Its decimal value is 4204352.
Hex triplet | 402740 | #402740 |
---|---|---|
RGB Decimal | 64, 39, 64 | rgb(64,39,64) |
RGB Percent | 25.1, 15.3, 25.1 | rgb(25.1%,15.3%,25.1%) |
CMYK | 0, 39, 0, 75 | |
HSL | 300°, 24.3, 20.2 | hsl(300,24.3%,20.2%) |
HSV (or HSB) | 300°, 39.1, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 19.685, 16.63, -11.1 |
---|---|
XYZ | 3.765, 2.911, 5.214 |
xyY | 0.317, 0.245, 2.911 |
CIE-LCH | 19.685, 19.994, 326.278 |
CIE-LUV | 19.685, 10.474, -13.547 |
Hunter-Lab | 17.063, 9.53, -6.173 |
Binary | 01000000, 00100111, 01000000 |
Color Schemes with #402740
Alternatives to #402740
Below, you can see some colors close to #402740. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402740 Preview
This text has a font color of #402740.
<span style="color:#402740;">Text here</span>
This paragraph has a background color of #402740.
<p style="background-color:#402740;">Content here</p>
This element has a border color of #402740.
<div style="border:1px solid #402740;">Content here</div>
.text {color:#402740;}
.background {background-color:#402740;}
.border {border:1px solid #402740;}
Shades and Tints of #402740
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, #030203 is the darkest color, while #f9f6f9 is the lightest one.
-
#030203
#030203
rgb(3,2,3)
-
#0f090f
#0f090f
rgb(15,9,15)
-
#1b111b
#1b111b
rgb(27,17,27)
-
#281828
#281828
rgb(40,24,40)
-
#342034
#342034
rgb(52,32,52)
-
#402740
#402740
rgb(64,39,64)
-
#4c2e4c
#4c2e4c
rgb(76,46,76)
-
#583658
#583658
rgb(88,54,88)
-
#653d65
#653d65
rgb(101,61,101)
-
#714571
#714571
rgb(113,69,113)
-
#7d4c7d
#7d4c7d
rgb(125,76,125)
-
#895489
#895489
rgb(137,84,137)
-
#955b95
#955b95
rgb(149,91,149)
-
#a064a0
#a064a0
rgb(160,100,160)
-
#a870a8
#a870a8
rgb(168,112,168)
-
#af7caf
#af7caf
rgb(175,124,175)
-
#b788b7
#b788b7
rgb(183,136,183)
-
#be94be
#be94be
rgb(190,148,190)
-
#c5a1c5
#c5a1c5
rgb(197,161,197)
-
#cdadcd
#cdadcd
rgb(205,173,205)
-
#d4b9d4
#d4b9d4
rgb(212,185,212)
-
#dcc5dc
#dcc5dc
rgb(220,197,220)
-
#e3d1e3
#e3d1e3
rgb(227,209,227)
-
#ebddeb
#ebddeb
rgb(235,221,235)
-
#f2eaf2
#f2eaf2
rgb(242,234,242)
-
#f9f6f9
#f9f6f9
rgb(249,246,249)
Tones of #402740
A tone is produced by adding gray to any pure hue. In this case, #343334 is the less saturated color, while #640364 is the most saturated one.
-
#343334
#343334
rgb(52,51,52)
-
#382f38
#382f38
rgb(56,47,56)
-
#3c2b3c
#3c2b3c
rgb(60,43,60)
-
#402740
#402740
rgb(64,39,64)
-
#442344
#442344
rgb(68,35,68)
-
#481f48
#481f48
rgb(72,31,72)
-
#4c1b4c
#4c1b4c
rgb(76,27,76)
-
#501750
#501750
rgb(80,23,80)
-
#541354
#541354
rgb(84,19,84)
-
#580f58
#580f58
rgb(88,15,88)
-
#5c0b5c
#5c0b5c
rgb(92,11,92)
-
#600760
#600760
rgb(96,7,96)
-
#640364
#640364
rgb(100,3,100)
Color Blindness Simulator
Below, you can see how #402740 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.