#403B4E color
The hex color #403B4E is a dark, grayish violet.
In the RGB color model it is made of 25.1% red, 23.1% green and 30.6% blue (64, 59, 78).
Its hue angle is 256°, with 14% saturation and 27% lightness. For print, the CMYK equivalent is 18% cyan, 24% magenta, 0% yellow and 69% black.
The closest named color is Italian Grape (#413D4B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.75:1).
#403B4E color codes
| HEX | #403B4E | |
|---|---|---|
| RGB | rgb(64, 59, 78) | |
| RGB percent | rgb(25.1%, 23.1%, 30.6%) | |
| HSL | hsl(256, 14%, 27%) | |
| HSV / HSB | hsv(256, 24%, 31%) | |
| CMYK | cmyk(18%, 24%, 0%, 69%) | |
| CIE LAB | lab(26.06, 6.7, -10.75) | |
| CIE LCH | lch(26.06, 12.67, 301.93) | |
| CIE XYZ | xyz(5.053, 4.768, 7.86) | |
| Decimal | 4209486 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403B4E, 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 #403B4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.75:1 | Pass | Pass | Pass |
| #403B4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.75:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #403B4E looks to people with the most common types of color vision deficiency.
#373e4fProtanopia
no red cones#383d4dDeuteranopia
no green cones#3d3e41Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #403b4e; }
.text { color: #403b4e; }
.border { border: 2px solid #403b4e; }
.transparent { background-color: rgb(64 59 78 / 50%); }
.gradient { background: linear-gradient(to right, #403b4e, #4a3b4e); }
Similar colors
#413d4bItalian Grape#403547Royal Decree#42364cCall It a Night#3f354fMaharaja#333344Shuriken#393540Professor Plum#4f4554Black Magic#35343fWitches Cauldron
Closest common color name: Graphite.
Questions
- What color is #403B4E?
- #403B4E 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 #403B4E?
- The RGB value is 64, 59, 78: 64 red, 59 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #403B4E?
- The complementary color is #494E3B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403B4E?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.75:1. WCAG asks for at least 4.5:1 for normal text.