#402a7e Color Information
In a RGB color space, hex #402a7e is composed of 25.1% red, 16.5% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 66.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 255.7 degrees, a saturation of 50% and a lightness of 32.9%. #402a7e color hex could be obtained by blending #8054fc with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 49
-
- C 49
- M 67
- Y 0
- K 51
● #402a7e color description : Dark moderate violet.
#402a7e Color Conversion
The hexadecimal color #402a7e has RGB values of R:64, G:42, B:126 and CMYK values of C:0.49, M:0.67, Y:0, K:0.51. Its decimal value is 4205182.
| Hex triplet | 402a7e | #402a7e |
|---|---|---|
| RGB Decimal | 64, 42, 126 | rgb(64,42,126) |
| RGB Percent | 25.1, 16.5, 49.4 | rgb(25.1%,16.5%,49.4%) |
| CMYK | 49, 67, 0, 51 | |
| HSL | 255.7°, 50, 32.9 | hsl(255.7,50%,32.9%) |
| HSV (or HSB) | 255.7°, 66.7, 49.4 | |
| Web Safe | 333366 | #333366 |
| CIE-LAB | 24.488, 32.105, -44.269 |
|---|---|
| XYZ | 6.708, 4.252, 20.205 |
| xyY | 0.215, 0.136, 4.252 |
| CIE-LCH | 24.488, 54.685, 305.95 |
| CIE-LUV | 24.488, 2.167, -56.168 |
| Hunter-Lab | 20.621, 21.976, -43.66 |
| Binary | 01000000, 00101010, 01111110 |
Color Schemes with #402a7e
Alternatives to #402a7e
Below, you can see some colors close to #402a7e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a7e Preview
This text has a font color of #402a7e.
<span style="color:#402a7e;">Text here</span>
This paragraph has a background color of #402a7e.
<p style="background-color:#402a7e;">Content here</p>
This element has a border color of #402a7e.
<div style="border:1px solid #402a7e;">Content here</div>
.text {color:#402a7e;}
.background {background-color:#402a7e;}
.border {border:1px solid #402a7e;}
Shades and Tints of #402a7e
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, #040308 is the darkest color, while #faf9fd is the lightest one.
-
#040308
#040308rgb(4,3,8) -
#0c0817
#0c0817rgb(12,8,23) -
#130d26
#130d26rgb(19,13,38) -
#1b1134
#1b1134rgb(27,17,52) -
#221643
#221643rgb(34,22,67) -
#2a1b52
#2a1b52rgb(42,27,82) -
#312061
#312061rgb(49,32,97) -
#39256f
#39256frgb(57,37,111) -
#402a7e
#402a7ergb(64,42,126) -
#472f8d
#472f8drgb(71,47,141) -
#4f349b
#4f349brgb(79,52,155) -
#5639aa
#5639aargb(86,57,170) -
#5e3eb9
#5e3eb9rgb(94,62,185)
-
#6848c2
#6848c2rgb(104,72,194) -
#7457c7
#7457c7rgb(116,87,199) -
#8065cc
#8065ccrgb(128,101,204) -
#8c74d1
#8c74d1rgb(140,116,209) -
#9983d6
#9983d6rgb(153,131,214) -
#a592db
#a592dbrgb(165,146,219) -
#b1a0df
#b1a0dfrgb(177,160,223) -
#bdafe4
#bdafe4rgb(189,175,228) -
#c9bee9
#c9bee9rgb(201,190,233) -
#d5ccee
#d5cceergb(213,204,238) -
#e1dbf3
#e1dbf3rgb(225,219,243) -
#eeeaf8
#eeeaf8rgb(238,234,248) -
#faf9fd
#faf9fdrgb(250,249,253)
Tones of #402a7e
A tone is produced by adding gray to any pure hue. In this case, #525157 is the less saturated color, while #2e03a5 is the most saturated one.
-
#525157
#525157rgb(82,81,87) -
#4f4a5e
#4f4a5ergb(79,74,94) -
#4c4464
#4c4464rgb(76,68,100) -
#493d6b
#493d6brgb(73,61,107) -
#463771
#463771rgb(70,55,113) -
#433078
#433078rgb(67,48,120) -
#402a7e
#402a7ergb(64,42,126) -
#3d2484
#3d2484rgb(61,36,132) -
#3a1d8b
#3a1d8brgb(58,29,139) -
#371791
#371791rgb(55,23,145) -
#341098
#341098rgb(52,16,152) -
#310a9e
#310a9ergb(49,10,158) -
#2e03a5
#2e03a5rgb(46,3,165)
Color Blindness Simulator
Below, you can see how #402a7e 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.
