#402a6b Color Information

In a RGB color space, hex #402a6b is composed of 25.1% red, 16.5% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 60.7% magenta, 0% yellow and 58% black. It has a hue angle of 260.3 degrees, a saturation of 43.6% and a lightness of 29.2%. #402a6b color hex could be obtained by blending #8054d6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 42
    RGB color chart
    • C 40
    • M 61
    • Y 0
    • K 58
    CMYK color chart

#402a6b color description : Very dark violet.

#402a6b Color Conversion

The hexadecimal color #402a6b has RGB values of R:64, G:42, B:107 and CMYK values of C:0.4, M:0.61, Y:0, K:0.58. Its decimal value is 4205163.

Hex triplet 402a6b #402a6b
RGB Decimal 64, 42, 107 rgb(64,42,107)
RGB Percent 25.1, 16.5, 42 rgb(25.1%,16.5%,42%)
CMYK 40, 61, 0, 58
HSL 260.3°, 43.6, 29.2 hsl(260.3,43.6%,29.2%)
HSV (or HSB) 260.3°, 60.7, 42
Web Safe 333366 #333366
CIE-LAB 23.024, 26.302, -34.494
XYZ 5.596, 3.807, 14.349
xyY 0.236, 0.16, 3.807
CIE-LCH 23.024, 43.378, 307.325
CIE-LUV 23.024, 4.133, -43.196
Hunter-Lab 19.513, 17.042, -29.942
Binary 01000000, 00101010, 01101011

Color Schemes with #402a6b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #402a6b

Below, you can see some colors close to #402a6b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#402a6b Preview

Text with hexadecimal color #402a6b

This text has a font color of #402a6b.

<span style="color:#402a6b;">Text here</span>
#402a6b background color

This paragraph has a background color of #402a6b.

<p style="background-color:#402a6b;">Content here</p>
#402a6b border color

This element has a border color of #402a6b.

<div style="border:1px solid #402a6b;">Content here</div>
CSS codes
.text {color:#402a6b;}
.background {background-color:#402a6b;}
.border {border:1px solid #402a6b;}

Shades and Tints of #402a6b

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, #050308 is the darkest color, while #faf9fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a6b

A tone is produced by adding gray to any pure hue. In this case, #49474e is the less saturated color, while #330293 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a6b 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.

Monochromacy
  • #383838 Achromatopsia 0.005% of the population
  • #3a3542 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0a3f7b Protanopia 1% of men
  • #11426d Deuteranopia 1% of men
  • #3d4146 Tritanopia 0.001% of the population
Trichromacy
  • #1d3775 Protanomaly 1% of men, 0.01% of women
  • #22396c Deuteranomaly 6% of men, 0.4% of women
  • #3e3953 Tritanomaly 0.01% of the population