#402f4f Color Information

In a RGB color space, hex #402f4f is composed of 25.1% red, 18.4% green and 31% blue. Whereas in a CMYK color space, it is composed of 19% cyan, 40.5% magenta, 0% yellow and 69% black. It has a hue angle of 271.9 degrees, a saturation of 25.4% and a lightness of 24.7%. #402f4f color hex could be obtained by blending #805e9e with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 31
    RGB color chart
    • C 19
    • M 41
    • Y 0
    • K 69
    CMYK color chart

#402f4f color description : Very dark desaturated violet.

#402f4f Color Conversion

The hexadecimal color #402f4f has RGB values of R:64, G:47, B:79 and CMYK values of C:0.19, M:0.41, Y:0, K:0.69. Its decimal value is 4206415.

Hex triplet 402f4f #402f4f
RGB Decimal 64, 47, 79 rgb(64,47,79)
RGB Percent 25.1, 18.4, 31 rgb(25.1%,18.4%,31%)
CMYK 19, 41, 0, 69
HSL 271.9°, 25.4, 24.7 hsl(271.9,25.4%,24.7%)
HSV (or HSB) 271.9°, 40.5, 31
Web Safe 333366 #333366
CIE-LAB 22.611, 15.017, -16.738
XYZ 4.542, 3.688, 7.869
xyY 0.282, 0.229, 3.688
CIE-LCH 22.611, 22.487, 311.898
CIE-LUV 22.611, 5.83, -20.781
Hunter-Lab 19.203, 8.614, -10.854
Binary 01000000, 00101111, 01001111

Color Schemes with #402f4f

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

Alternatives to #402f4f

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

Similar Colors

#402f4f Preview

Text with hexadecimal color #402f4f

This text has a font color of #402f4f.

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

This paragraph has a background color of #402f4f.

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

This element has a border color of #402f4f.

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

Shades and Tints of #402f4f

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

Shade Color Variation
Tint Color Variation

Tones of #402f4f

A tone is produced by adding gray to any pure hue. In this case, #3f3e40 is the less saturated color, while #43037b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f4f 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
  • #3a363d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #363f5c Protanopia 1% of men
  • #393f56 Deuteranopia 1% of men
  • #453e42 Tritanopia 0.001% of the population
Trichromacy
  • #393957 Protanomaly 1% of men, 0.01% of women
  • #3b3953 Deuteranomaly 6% of men, 0.4% of women
  • #433847 Tritanomaly 0.01% of the population