#403A45 color
The hex color #403A45 is a dark, grayish violet.
In the RGB color model it is made of 25.1% red, 22.7% green and 27.1% blue (64, 58, 69).
Its hue angle is 273°, with 9% saturation and 25% lightness. For print, the CMYK equivalent is 7% cyan, 16% magenta, 0% yellow and 73% black.
The closest named color is Italian Grape (#413D4B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11:1).
#403A45 color codes
| HEX | #403A45 | |
|---|---|---|
| RGB | rgb(64, 58, 69) | |
| RGB percent | rgb(25.1%, 22.7%, 27.1%) | |
| HSL | hsl(273, 9%, 25%) | |
| HSV / HSB | hsv(273, 16%, 27%) | |
| CMYK | cmyk(7%, 16%, 0%, 73%) | |
| CIE LAB | lab(25.4, 5.1, -5.81) | |
| CIE LCH | lch(25.4, 7.73, 311.26) | |
| CIE XYZ | xyz(4.701, 4.546, 6.259) | |
| Decimal | 4209221 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403A45, 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 #403A45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.91:1 | Fail | Fail | Fail |
| Sample text | 11:1 | Pass | Pass | Pass |
| #403A45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11:1 | Pass | Pass | Pass |
| Sample text | 1.91: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 #403A45 looks to people with the most common types of color vision deficiency.
#383c45Protanopia
no red cones#3a3c45Deuteranopia
no green cones#3f3b3eTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #403a45; }
.text { color: #403a45; }
.border { border: 2px solid #403a45; }
.transparent { background-color: rgb(64 58 69 / 50%); }
.gradient { background: linear-gradient(to right, #403a45, #453a45); }
Similar colors
#413d4bItalian Grape#393540Professor Plum#3f3c43Tuxedo#35343fWitches Cauldron#483c41Pitch Black#403547Royal Decree#3c393dMoonless Night#41373aVoid Wellness Coach
Closest common color name: Graphite.
Questions
- What color is #403A45?
- #403A45 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 #403A45?
- The RGB value is 64, 58, 69: 64 red, 58 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #403A45?
- The complementary color is #3F453A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403A45?
- White text. Black text has a contrast ratio of 1.91:1 and white text 11:1. WCAG asks for at least 4.5:1 for normal text.