#402a7f Color Information
In a RGB color space, hex #402a7f is composed of 25.1% red, 16.5% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 66.9% magenta, 0% yellow and 50.2% black. It has a hue angle of 255.5 degrees, a saturation of 50.3% and a lightness of 33.1%. #402a7f color hex could be obtained by blending #8054fe with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 50
-
- C 50
- M 67
- Y 0
- K 50
● #402a7f color description : Dark moderate violet.
#402a7f Color Conversion
The hexadecimal color #402a7f has RGB values of R:64, G:42, B:127 and CMYK values of C:0.5, M:0.67, Y:0, K:0.5. Its decimal value is 4205183.
| Hex triplet | 402a7f | #402a7f |
|---|---|---|
| RGB Decimal | 64, 42, 127 | rgb(64,42,127) |
| RGB Percent | 25.1, 16.5, 49.8 | rgb(25.1%,16.5%,49.8%) |
| CMYK | 50, 67, 0, 50 | |
| HSL | 255.5°, 50.3, 33.1 | hsl(255.5,50.3%,33.1%) |
| HSV (or HSB) | 255.5°, 66.9, 49.8 | |
| Web Safe | 333366 | #333366 |
| CIE-LAB | 24.57, 32.414, -44.767 |
|---|---|
| XYZ | 6.772, 4.278, 20.546 |
| xyY | 0.214, 0.135, 4.278 |
| CIE-LCH | 24.57, 55.27, 305.907 |
| CIE-LUV | 24.57, 2.07, -56.834 |
| Hunter-Lab | 20.684, 22.25, -44.418 |
| Binary | 01000000, 00101010, 01111111 |
Color Schemes with #402a7f
Alternatives to #402a7f
Below, you can see some colors close to #402a7f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a7f Preview
This text has a font color of #402a7f.
<span style="color:#402a7f;">Text here</span>
This paragraph has a background color of #402a7f.
<p style="background-color:#402a7f;">Content here</p>
This element has a border color of #402a7f.
<div style="border:1px solid #402a7f;">Content here</div>
.text {color:#402a7f;}
.background {background-color:#402a7f;}
.border {border:1px solid #402a7f;}
Shades and Tints of #402a7f
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) -
#130d27
#130d27rgb(19,13,39) -
#1b1235
#1b1235rgb(27,18,53) -
#221744
#221744rgb(34,23,68) -
#2a1b53
#2a1b53rgb(42,27,83) -
#312062
#312062rgb(49,32,98) -
#392570
#392570rgb(57,37,112) -
#402a7f
#402a7frgb(64,42,127) -
#472f8e
#472f8ergb(71,47,142) -
#4f349c
#4f349crgb(79,52,156) -
#5639ab
#5639abrgb(86,57,171) -
#5e3dba
#5e3dbargb(94,61,186)
-
#6848c3
#6848c3rgb(104,72,195) -
#7457c8
#7457c8rgb(116,87,200) -
#8066cc
#8066ccrgb(128,102,204) -
#8d75d1
#8d75d1rgb(141,117,209) -
#9983d6
#9983d6rgb(153,131,214) -
#a592db
#a592dbrgb(165,146,219) -
#b1a1e0
#b1a1e0rgb(177,161,224) -
#bdb0e5
#bdb0e5rgb(189,176,229) -
#cabeea
#cabeeargb(202,190,234) -
#d6cdef
#d6cdefrgb(214,205,239) -
#e2dcf3
#e2dcf3rgb(226,220,243) -
#eeebf8
#eeebf8rgb(238,235,248) -
#faf9fd
#faf9fdrgb(250,249,253)
Tones of #402a7f
A tone is produced by adding gray to any pure hue. In this case, #535158 is the less saturated color, while #2d03a6 is the most saturated one.
-
#535158
#535158rgb(83,81,88) -
#504b5f
#504b5frgb(80,75,95) -
#4d4465
#4d4465rgb(77,68,101) -
#493e6c
#493e6crgb(73,62,108) -
#463772
#463772rgb(70,55,114) -
#433179
#433179rgb(67,49,121) -
#402a7f
#402a7frgb(64,42,127) -
#3d2486
#3d2486rgb(61,36,134) -
#3a1d8c
#3a1d8crgb(58,29,140) -
#371793
#371793rgb(55,23,147) -
#331099
#331099rgb(51,16,153) -
#300aa0
#300aa0rgb(48,10,160) -
#2d03a6
#2d03a6rgb(45,3,166)
Color Blindness Simulator
Below, you can see how #402a7f 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.
