#402f5f Color Information

In a RGB color space, hex #402f5f is composed of 25.1% red, 18.4% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 32.6% cyan, 50.5% magenta, 0% yellow and 62.7% black. It has a hue angle of 261.3 degrees, a saturation of 33.8% and a lightness of 27.8%. #402f5f color hex could be obtained by blending #805ebe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 37
    RGB color chart
    • C 33
    • M 51
    • Y 0
    • K 63
    CMYK color chart

#402f5f color description : Very dark desaturated violet.

#402f5f Color Conversion

The hexadecimal color #402f5f has RGB values of R:64, G:47, B:95 and CMYK values of C:0.33, M:0.51, Y:0, K:0.63. Its decimal value is 4206431.

Hex triplet 402f5f #402f5f
RGB Decimal 64, 47, 95 rgb(64,47,95)
RGB Percent 25.1, 18.4, 37.3 rgb(25.1%,18.4%,37.3%)
CMYK 33, 51, 0, 63
HSL 261.3°, 33.8, 27.8 hsl(261.3,33.8%,27.8%)
HSV (or HSB) 261.3°, 50.5, 37.3
Web Safe 333366 #333366
CIE-LAB 23.503, 19.494, -25.919
XYZ 5.196, 3.949, 11.314
xyY 0.254, 0.193, 3.949
CIE-LCH 23.503, 32.431, 306.947
CIE-LUV 23.503, 4.103, -32.706
Hunter-Lab 19.873, 11.895, -19.845
Binary 01000000, 00101111, 01011111

Color Schemes with #402f5f

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

Alternatives to #402f5f

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

Similar Colors

#402f5f Preview

Text with hexadecimal color #402f5f

This text has a font color of #402f5f.

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

This paragraph has a background color of #402f5f.

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

This element has a border color of #402f5f.

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

Shades and Tints of #402f5f

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

Shade Color Variation
Tint Color Variation

Tones of #402f5f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f5f 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b3841 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2c406d Protanopia 1% of men
  • #2e4264 Deuteranopia 1% of men
  • #424146 Tritanopia 0.001% of the population
Trichromacy
  • #333a67 Protanomaly 1% of men, 0.01% of women
  • #343b62 Deuteranomaly 6% of men, 0.4% of women
  • #413b4f Tritanomaly 0.01% of the population