colorhexa.com

#402d5f hex color

In a RGB color space, hex #402d5f is composed of 25.1% red, 17.6% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 32.6% cyan, 52.6% magenta, 0% yellow and 62.7% black. It has a hue angle of 262.8 degrees, a saturation of 35.7% and a lightness of 27.5%. #402d5f color hex could be obtained by blending #805abe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 37

    RGB color chart

    • C 33
    • M 53
    • Y 0
    • K 63

    CMYK color chart

#402d5f color description : Very dark desaturated violet.

The hexadecimal color #402d5f has RGB values of R:64, G:45, B:95 and CMYK values of C:0.33, M:0.53, Y:0, K:0.63. Its decimal value is 4205919.

Hex triplet 402d5f #402d5f
RGB Decimal 64, 45, 95 rgb(64,45,95)
RGB Percent 25.1, 17.6, 37.3 rgb(25.1%,17.6%,37.3%)
CMYK 33, 53, 0, 63
HSL 262.8°, 35.7, 27.5 hsl(262.8,35.7%,27.5%)
HSV (or HSB) 262.8°, 52.6, 37.3
Web Safe 333366 #333366
CIE-LAB 22.975, 20.814, -26.757
XYZ 5.118, 3.793, 11.288
xyY 0.253, 0.188, 3.793
CIE-LCH 22.975, 33.899, 307.879
CIE-LUV 22.975, 4.683, -33.538
Hunter-Lab 19.476, 12.825, -20.732
Binary 01000000, 00101101, 01011111

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #402d5f

This text has a font color of #402d5f.

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

#402d5f background color

This paragraph has a background color of #402d5f.

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

#402d5f border color

This element has a border color of #402d5f.

<div style="border:1px solid #402d5f;">Content here</div>

CSS codes

.text {color:#402d5f;}
.background {background-color:#402d5f;}
.border {border:1px solid #402d5f;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #402d5f 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
  • #3a3640 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #293f6d Protanopia 1% of men
  • #2b4163 Deuteranopia 1% of men
  • #414045 Tritanopia 0.001% of the population

Trichromacy

  • #313868 Protanomaly 1% of men, 0.01% of women
  • #323962 Deuteranomaly 6% of men, 0.4% of women
  • #41394e Tritanomaly 0.01% of the population