#401A35
Closest named color: Aubergine (#3D0734). oklch(28.4% 0.071 339.7), rgb(64, 26, 53).
Aa
White text reads best on this color (14.81:1).
About this color
#401A35 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.071 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.042 away. White text reads best on it, at 14.81:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.071) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.41:1 |
| White text | 14.81:1 |
Values
| HEX | #401A35 |
| RGB | rgb(64, 26, 53) |
| HSL | hsl(317, 42%, 18%) |
| OKLCH | oklch(28.4% 0.071 339.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #401A35 | 14.81:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #401A35 | 1.41:1 | Fails | Lc 0.0 | Not readable |
| #401A35 text on white | 14.81:1 | AAA | Lc 101.4 | Preferred for body text |
| #401A35 text on black | 1.41:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F6E4EF
oklch(93.6% 0.024 340.3)
-
Step 200
200
#EFCEE3
oklch(88.5% 0.046 339.7)
-
Step 300
300
#E6ACD2
oklch(80.9% 0.084 339.8)
-
Step 400
400
#D77DBB
oklch(70.6% 0.135 339.7)
-
Step 500
500
#CA59AA
oklch(63.1% 0.171 339.8)
-
Step 600
600
#B53A95
oklch(55.6% 0.186 339.9)
-
Step 700
700
#9B2B7F
oklch(49.1% 0.173 339.7)
-
Step 800
800
#7E2567
oklch(42.6% 0.144 339.8)
-
Step 900
900
#662454
oklch(37.6% 0.113 339.8)
-
Step 950
950 (this color)
#401A35
oklch(28.4% 0.071 339.7)
#401A35 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1C2436 | 0.074 |
| Deuteranopia (no green cones) | #262A34 | 0.067 |
| Tritanopia (no blue cones) | #441B25 | 0.032 |
| Achromatopsia (no color) | #282828 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #401A35
#401A35
oklch(28.4% 0.071 339.7)
- #00331E
#00331E
oklch(28.3% 0.064 159.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #401A35, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.042
- Eggplant #380835 ΔE 0.047
- Eggplant Purple #430541 ΔE 0.049
- Dark Plum #3F012C ΔE 0.050
- Deep Violet #490648 ΔE 0.056
- Dark Purple #35063E ΔE 0.059
- Space Cadet #2B2D42 ΔE 0.065
- Deep Purple #36013F ΔE 0.067
Use #401A35 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.