#403654 color
The hex color #403654 is a dark, grayish violet.
In the RGB color model it is made of 25.1% red, 21.2% green and 32.9% blue (64, 54, 84).
Its hue angle is 260°, with 22% saturation and 27% lightness. For print, the CMYK equivalent is 24% cyan, 36% magenta, 0% yellow and 67% black.
The closest named color is Maharaja (#3F354F), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.21:1).
#403654 color codes
| HEX | #403654 | |
|---|---|---|
| RGB | rgb(64, 54, 84) | |
| RGB percent | rgb(25.1%, 21.2%, 32.9%) | |
| HSL | hsl(260, 22%, 27%) | |
| HSV / HSB | hsv(260, 36%, 33%) | |
| CMYK | cmyk(24%, 36%, 0%, 67%) | |
| CIE LAB | lab(24.85, 11.67, -16.57) | |
| CIE LCH | lch(24.85, 20.26, 305.16) | |
| CIE XYZ | xyz(5.033, 4.368, 8.964) | |
| Decimal | 4208212 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403654, 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 #403654 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.21:1 | Pass | Pass | Pass |
| #403654 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.21:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #403654 looks to people with the most common types of color vision deficiency.
#2f3b55Protanopia
no red cones#313b53Deuteranopia
no green cones#3c3b41Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #403654; }
.text { color: #403654; }
.border { border: 2px solid #403654; }
.transparent { background-color: rgb(64 54 84 / 50%); }
.gradient { background: linear-gradient(to right, #403654, #4f3654); }
Similar colors
#3f354fMaharaja#3c2f4eSanctum of Shadows#42364cCall It a Night#372d52Midnight Pie#403547Royal Decree#3d3d63Storm Is Coming#322c56Purple Noir#544563Nightly Walk
Closest common color name: Dark Purple.
Questions
- What color is #403654?
- #403654 is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
- What is the RGB value of #403654?
- The RGB value is 64, 54, 84: 64 red, 54 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #403654?
- The complementary color is #4A5436, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403654?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.21:1. WCAG asks for at least 4.5:1 for normal text.