#401A3A
Closest named color: Aubergine (#3D0734). oklch(28.7% 0.076 333.7), rgb(64, 26, 58).
Aa
White text reads best on this color (14.71:1).
About this color
#401A3A is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.076 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.041 away. White text reads best on it, at 14.71:1.
| Hue family | Purples |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.42:1 |
| White text | 14.71:1 |
Values
| HEX | #401A3A |
| RGB | rgb(64, 26, 58) |
| HSL | hsl(309, 42%, 18%) |
| OKLCH | oklch(28.7% 0.076 333.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 #401A3A | 14.71:1 | AAA | Lc -104.2 | Preferred for body text |
| Black text on #401A3A | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #401A3A text on white | 14.71:1 | AAA | Lc 101.3 | Preferred for body text |
| #401A3A text on black | 1.42: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
#FBF3F9
oklch(97.2% 0.012 334.1)
-
Step 100
100
#F5E4F1
oklch(93.6% 0.025 333.7)
-
Step 200
200
#EECDE7
oklch(88.4% 0.05 333.3)
-
Step 300
300
#E5ABD9
oklch(80.9% 0.09 333.9)
-
Step 400
400
#D57CC6
oklch(70.7% 0.144 333.4)
-
Step 500
500
#C857B7
oklch(63.2% 0.183 333.7)
-
Step 600
600
#B336A3
oklch(55.6% 0.2 333.6)
-
Step 700
700
#9A278B
oklch(49.2% 0.185 333.9)
-
Step 800
800
#7D2371
oklch(42.7% 0.153 333.8)
-
Step 900
900
#65235B
oklch(37.7% 0.119 334.1)
-
Step 950
950 (this color)
#401A3A
oklch(28.7% 0.076 333.7)
#401A3A 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) | #19253B | 0.078 |
| Deuteranopia (no green cones) | #252A39 | 0.068 |
| Tritanopia (no blue cones) | #431C27 | 0.038 |
| Achromatopsia (no color) | #282828 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #401A3A
#401A3A
oklch(28.7% 0.076 333.7)
- #003519
#003519
oklch(28.9% 0.073 153.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 #401A3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.041
- Eggplant Purple #430541 ΔE 0.043
- Eggplant #380835 ΔE 0.046
- Deep Violet #490648 ΔE 0.048
- Dark Plum #3F012C ΔE 0.052
- Dark Purple #35063E ΔE 0.055
- Plum Purple #4E0550 ΔE 0.061
- Deep Purple #36013F ΔE 0.062
Use #401A3A 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.