#403D4E color
The hex color #403D4E is a dark, grayish violet.
In the RGB color model it is made of 25.1% red, 23.9% green and 30.6% blue (64, 61, 78).
Its hue angle is 251°, with 12% saturation and 27% lightness. For print, the CMYK equivalent is 18% cyan, 22% magenta, 0% yellow and 69% black.
The closest named color is Italian Grape (#413D4B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.52:1).
#403D4E color codes
| HEX | #403D4E | |
|---|---|---|
| RGB | rgb(64, 61, 78) | |
| RGB percent | rgb(25.1%, 23.9%, 30.6%) | |
| HSL | hsl(251, 12%, 27%) | |
| HSV / HSB | hsv(251, 22%, 31%) | |
| CMYK | cmyk(18%, 22%, 0%, 69%) | |
| CIE LAB | lab(26.67, 5.37, -9.83) | |
| CIE LCH | lch(26.67, 11.2, 298.67) | |
| CIE XYZ | xyz(5.158, 4.977, 7.895) | |
| Decimal | 4209998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403D4E, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #403D4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.52:1 | Pass | Pass | Pass |
| #403D4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.52:1 | Pass | Pass | Pass |
| Sample text | 2:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #403D4E looks to people with the most common types of color vision deficiency.
#393f4fProtanopia
no red cones#3a3f4eDeuteranopia
no green cones#3d4043Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #403d4e; }
.text { color: #403d4e; }
.border { border: 2px solid #403d4e; }
.transparent { background-color: rgb(64 61 78 / 50%); }
.gradient { background: linear-gradient(to right, #403d4e, #483d4e); }
Similar colors
#413d4bItalian Grape#333344Shuriken#393540Professor Plum#3f4250Madonna#484753Gun Powder#403547Royal Decree#3c4151Lava Stone#35343fWitches Cauldron
Closest common color name: Graphite.
Questions
- What color is #403D4E?
- #403D4E is a dark, grayish violet, closest to the named color Italian Grape. It belongs to the gray family of colors.
- What is the RGB value of #403D4E?
- The RGB value is 64, 61, 78: 64 red, 61 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #403D4E?
- The complementary color is #4B4E3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403D4E?
- White text. Black text has a contrast ratio of 2:1 and white text 10.52:1. WCAG asks for at least 4.5:1 for normal text.