#402b7e Color Information
In a RGB color space, hex #402b7e is composed of 25.1% red, 16.9% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 65.9% magenta, 0% yellow and 50.6% black. It has a hue angle of 255.2 degrees, a saturation of 49.1% and a lightness of 33.1%. #402b7e color hex could be obtained by blending #8056fc with #000000. Closest websafe color is: #333366.
-
- R 25
- G 17
- B 49
-
- C 49
- M 66
- Y 0
- K 51
● #402b7e color description : Dark moderate violet.
#402b7e Color Conversion
The hexadecimal color #402b7e has RGB values of R:64, G:43, B:126 and CMYK values of C:0.49, M:0.66, Y:0, K:0.51. Its decimal value is 4205438.
| Hex triplet | 402b7e | #402b7e |
|---|---|---|
| RGB Decimal | 64, 43, 126 | rgb(64,43,126) |
| RGB Percent | 25.1, 16.9, 49.4 | rgb(25.1%,16.9%,49.4%) |
| CMYK | 49, 66, 0, 51 | |
| HSL | 255.2°, 49.1, 33.1 | hsl(255.2,49.1%,33.1%) |
| HSV (or HSB) | 255.2°, 65.9, 49.4 | |
| Web Safe | 333366 | #333366 |
| CIE-LAB | 24.715, 31.496, -43.901 |
|---|---|
| XYZ | 6.743, 4.324, 20.217 |
| xyY | 0.216, 0.138, 4.324 |
| CIE-LCH | 24.715, 54.03, 305.657 |
| CIE-LUV | 24.715, 1.965, -55.932 |
| Hunter-Lab | 20.794, 21.497, -43.088 |
| Binary | 01000000, 00101011, 01111110 |
Color Schemes with #402b7e
Alternatives to #402b7e
Below, you can see some colors close to #402b7e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402b7e Preview
This text has a font color of #402b7e.
<span style="color:#402b7e;">Text here</span>
This paragraph has a background color of #402b7e.
<p style="background-color:#402b7e;">Content here</p>
This element has a border color of #402b7e.
<div style="border:1px solid #402b7e;">Content here</div>
.text {color:#402b7e;}
.background {background-color:#402b7e;}
.border {border:1px solid #402b7e;}
Shades and Tints of #402b7e
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, #050309 is the darkest color, while #faf9fd is the lightest one.
-
#050309
#050309rgb(5,3,9) -
#0c0818
#0c0818rgb(12,8,24) -
#130d26
#130d26rgb(19,13,38) -
#1b1235
#1b1235rgb(27,18,53) -
#221744
#221744rgb(34,23,68) -
#2a1c52
#2a1c52rgb(42,28,82) -
#312161
#312161rgb(49,33,97) -
#39266f
#39266frgb(57,38,111) -
#402b7e
#402b7ergb(64,43,126) -
#47308d
#47308drgb(71,48,141) -
#4f359b
#4f359brgb(79,53,155) -
#563aaa
#563aaargb(86,58,170) -
#5e3fb8
#5e3fb8rgb(94,63,184)
-
#684ac1
#684ac1rgb(104,74,193) -
#7459c6
#7459c6rgb(116,89,198) -
#8067cb
#8067cbrgb(128,103,203) -
#8d76d0
#8d76d0rgb(141,118,208) -
#9984d5
#9984d5rgb(153,132,213) -
#a593da
#a593dargb(165,147,218) -
#b1a2df
#b1a2dfrgb(177,162,223) -
#bdb0e4
#bdb0e4rgb(189,176,228) -
#cabfe9
#cabfe9rgb(202,191,233) -
#d6ceee
#d6ceeergb(214,206,238) -
#e2dcf3
#e2dcf3rgb(226,220,243) -
#eeebf8
#eeebf8rgb(238,235,248) -
#faf9fd
#faf9fdrgb(250,249,253)
Tones of #402b7e
A tone is produced by adding gray to any pure hue. In this case, #535257 is the less saturated color, while #2d04a5 is the most saturated one.
-
#535257
#535257rgb(83,82,87) -
#504c5e
#504c5ergb(80,76,94) -
#4d4564
#4d4564rgb(77,69,100) -
#4a3f6b
#4a3f6brgb(74,63,107) -
#463871
#463871rgb(70,56,113) -
#433278
#433278rgb(67,50,120) -
#402b7e
#402b7ergb(64,43,126) -
#3d2585
#3d2585rgb(61,37,133) -
#3a1e8b
#3a1e8brgb(58,30,139) -
#361892
#361892rgb(54,24,146) -
#331198
#331198rgb(51,17,152) -
#300b9f
#300b9frgb(48,11,159) -
#2d04a5
#2d04a5rgb(45,4,165)
Color Blindness Simulator
Below, you can see how #402b7e 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.
