#400B35
Closest named color: Aubergine (#3D0734). oklch(26.4% 0.096 337.7), rgb(64, 11, 53).
Aa
White text reads best on this color (15.94:1).
About this color
#400B35 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.096 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.011 away. White text reads best on it, at 15.94:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.096) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.31:1 |
| White text | 15.94:1 |
Values
| HEX | #400B35 |
| RGB | rgb(64, 11, 53) |
| HSL | hsl(312, 71%, 15%) |
| OKLCH | oklch(26.4% 0.096 337.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 #400B35 | 15.94:1 | AAA | Lc -105.0 | Preferred for body text |
| Black text on #400B35 | 1.31:1 | Fails | Lc 0.0 | Not readable |
| #400B35 text on white | 15.94:1 | AAA | Lc 102.3 | Preferred for body text |
| #400B35 text on black | 1.31: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
#FDF2F9
oklch(97.2% 0.015 338.9)
-
Step 100
100
#F9E2F2
oklch(93.6% 0.033 336.7)
-
Step 200
200
#F6CAE8
oklch(88.6% 0.063 338)
-
Step 300
300
#F1A4DB
oklch(81% 0.114 337.7)
-
Step 400
400
#E66DC8
oklch(70.7% 0.183 337.8)
-
Step 500
500
#DB3ABA
oklch(63.1% 0.234 337.7)
-
Step 600
600
#C300A4
oklch(55.6% 0.244 337.6)
-
Step 700
700
#A5008A
oklch(49.1% 0.215 337.7)
-
Step 800
800
#880072
oklch(42.6% 0.187 337.4)
-
Step 900
900
#6F0F5D
oklch(37.6% 0.152 337.5)
-
Step 950
950 (this color)
#400B35
oklch(26.4% 0.096 337.7)
#400B35 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) | #0D1D36 | 0.106 |
| Deuteranopia (no green cones) | #1F2534 | 0.091 |
| Tritanopia (no blue cones) | #440E1F | 0.046 |
| Achromatopsia (no color) | #222222 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #400B35
#400B35
oklch(26.4% 0.096 337.7)
- #002E19
#002E19
oklch(26.5% 0.062 157.8)
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 #400B35, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.011
- Eggplant #380835 ΔE 0.021
- Dark Plum #3F012C ΔE 0.022
- Eggplant Purple #430541 ΔE 0.025
- Dark Purple #35063E ΔE 0.037
- Deep Violet #490648 ΔE 0.040
- Deep Purple #36013F ΔE 0.041
- Plum Purple #4E0550 ΔE 0.057
Use #400B35 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.