#402f6b Color Information

In a RGB color space, hex #402f6b is composed of 25.1% red, 18.4% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 56.1% magenta, 0% yellow and 58% black. It has a hue angle of 257 degrees, a saturation of 39% and a lightness of 30.2%. #402f6b color hex could be obtained by blending #805ed6 with #000000. Closest websafe color is: #333366.

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

#402f6b color description : Very dark desaturated violet.

#402f6b Color Conversion

The hexadecimal color #402f6b has RGB values of R:64, G:47, B:107 and CMYK values of C:0.4, M:0.56, Y:0, K:0.58. Its decimal value is 4206443.

Hex triplet 402f6b #402f6b
RGB Decimal 64, 47, 107 rgb(64,47,107)
RGB Percent 25.1, 18.4, 42 rgb(25.1%,18.4%,42%)
CMYK 40, 56, 0, 58
HSL 257°, 39, 30.2 hsl(257,39%,30.2%)
HSV (or HSB) 257°, 56.1, 42
Web Safe 333366 #333366
CIE-LAB 24.272, 23.083, -32.491
XYZ 5.784, 4.185, 14.412
xyY 0.237, 0.172, 4.185
CIE-LCH 24.272, 39.856, 305.392
CIE-LUV 24.272, 2.881, -41.476
Hunter-Lab 20.456, 14.675, -27.453
Binary 01000000, 00101111, 01101011

Color Schemes with #402f6b

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

Alternatives to #402f6b

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

Similar Colors

#402f6b Preview

Text with hexadecimal color #402f6b

This text has a font color of #402f6b.

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

This paragraph has a background color of #402f6b.

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

This element has a border color of #402f6b.

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

Shades and Tints of #402f6b

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, #07050c is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f6b

A tone is produced by adding gray to any pure hue. In this case, #4d4d4d is the less saturated color, while #2e0694 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f6b 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c3945 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #204279 Protanopia 1% of men
  • #1f446e Deuteranopia 1% of men
  • #3e4449 Tritanopia 0.001% of the population
Trichromacy
  • #2c3b74 Protanomaly 1% of men, 0.01% of women
  • #2b3c6d Deuteranomaly 6% of men, 0.4% of women
  • #3f3c55 Tritanomaly 0.01% of the population