#403454 color
The hex color #403454 is a dark, grayish violet.
In the RGB color model it is made of 25.1% red, 20.4% green and 32.9% blue (64, 52, 84).
Its hue angle is 263°, with 24% saturation and 27% lightness. For print, the CMYK equivalent is 24% cyan, 38% magenta, 0% yellow and 67% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.43:1).
#403454 color codes
| HEX | #403454 | |
|---|---|---|
| RGB | rgb(64, 52, 84) | |
| RGB percent | rgb(25.1%, 20.4%, 32.9%) | |
| HSL | hsl(263, 24%, 27%) | |
| HSV / HSB | hsv(263, 38%, 33%) | |
| CMYK | cmyk(24%, 38%, 0%, 67%) | |
| CIE LAB | lab(24.28, 13.01, -17.46) | |
| CIE LCH | lch(24.28, 21.78, 306.7) | |
| CIE XYZ | xyz(4.942, 4.186, 8.933) | |
| Decimal | 4207700 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403454, 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 #403454 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.43:1 | Pass | Pass | Pass |
| #403454 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.43:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #403454 looks to people with the most common types of color vision deficiency.
#2d3a55Protanopia
no red cones#2f3a53Deuteranopia
no green cones#3c3940Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #403454; }
.text { color: #403454; }
.border { border: 2px solid #403454; }
.transparent { background-color: rgb(64 52 84 / 50%); }
.gradient { background: linear-gradient(to right, #403454, #503454); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#372d52Midnight Pie#42364cCall It a Night#322c56Purple Noir#4a3b6aMeteorite#3d3d63Storm Is Coming#403547Royal Decree
Closest common color name: Dark Purple.
Questions
- What color is #403454?
- #403454 is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
- What is the RGB value of #403454?
- The RGB value is 64, 52, 84: 64 red, 52 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #403454?
- The complementary color is #485434, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403454?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.43:1. WCAG asks for at least 4.5:1 for normal text.