#402c6b Color Information

In a RGB color space, hex #402c6b is composed of 25.1% red, 17.3% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 58.9% magenta, 0% yellow and 58% black. It has a hue angle of 259 degrees, a saturation of 41.7% and a lightness of 29.6%. #402c6b color hex could be obtained by blending #8058d6 with #000000. Closest websafe color is: #333366.

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

#402c6b color description : Very dark desaturated violet.

#402c6b Color Conversion

The hexadecimal color #402c6b has RGB values of R:64, G:44, B:107 and CMYK values of C:0.4, M:0.59, Y:0, K:0.58. Its decimal value is 4205675.

Hex triplet 402c6b #402c6b
RGB Decimal 64, 44, 107 rgb(64,44,107)
RGB Percent 25.1, 17.3, 42 rgb(25.1%,17.3%,42%)
CMYK 40, 59, 0, 58
HSL 259°, 41.7, 29.6 hsl(259,41.7%,29.6%)
HSV (or HSB) 259°, 58.9, 42
Web Safe 333366 #333366
CIE-LAB 23.515, 25.026, -33.706
XYZ 5.668, 3.953, 14.373
xyY 0.236, 0.165, 3.953
CIE-LCH 23.515, 41.981, 306.593
CIE-LUV 23.515, 3.651, -42.547
Hunter-Lab 19.882, 16.098, -28.946
Binary 01000000, 00101100, 01101011

Color Schemes with #402c6b

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

Alternatives to #402c6b

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

Similar Colors

#402c6b Preview

Text with hexadecimal color #402c6b

This text has a font color of #402c6b.

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

This paragraph has a background color of #402c6b.

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

This element has a border color of #402c6b.

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

Shades and Tints of #402c6b

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, #06040a is the darkest color, while #fcfbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402c6b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c6b 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a3643 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #17407b Protanopia 1% of men
  • #18436e Deuteranopia 1% of men
  • #3e4247 Tritanopia 0.001% of the population
Trichromacy
  • #253875 Protanomaly 1% of men, 0.01% of women
  • #263a6c Deuteranomaly 6% of men, 0.4% of women
  • #3e3a54 Tritanomaly 0.01% of the population