#401E37
Closest named color: Aubergine (#3D0734). oklch(29.2% 0.065 338), rgb(64, 30, 55).
Aa
White text reads best on this color (14.39:1).
About this color
#401E37 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.065 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.052 away. White text reads best on it, at 14.39:1.
| Hue family | Purples |
| Lightness | dark (29%) |
| Chroma | muted (0.065) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.45:1 |
| White text | 14.39:1 |
Values
| HEX | #401E37 |
| RGB | rgb(64, 30, 55) |
| HSL | hsl(316, 36%, 18%) |
| OKLCH | oklch(29.2% 0.065 338) |
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 #401E37 | 14.39:1 | AAA | Lc -103.9 | Preferred for body text |
| Black text on #401E37 | 1.45:1 | Fails | Lc 0.0 | Not readable |
| #401E37 text on white | 14.39:1 | AAA | Lc 100.9 | Preferred for body text |
| #401E37 text on black | 1.45: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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E4EF
oklch(93.5% 0.023 336.8)
-
Step 200
200
#EDCFE3
oklch(88.5% 0.043 338.2)
-
Step 300
300
#E2AED2
oklch(80.9% 0.077 337.9)
-
Step 400
400
#D182BB
oklch(70.7% 0.121 337.8)
-
Step 500
500
#C45FAA
oklch(63.1% 0.157 338.1)
-
Step 600
600
#AF4395
oklch(55.7% 0.169 338.2)
-
Step 700
700
#96337F
oklch(49.1% 0.159 338.2)
-
Step 800
800
#7A2C67
oklch(42.8% 0.13 338.4)
-
Step 900
900
#622854
oklch(37.6% 0.102 337.7)
-
Step 950
950 (this color)
#401E37
oklch(29.2% 0.065 338)
#401E37 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) | #1F2738 | 0.066 |
| Deuteranopia (no green cones) | #282C36 | 0.061 |
| Tritanopia (no blue cones) | #431F28 | 0.030 |
| Achromatopsia (no color) | #2A2A2A | 0.065 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #401E37
#401E37
oklch(29.2% 0.065 338)
- #04351F
#04351F
oklch(29.1% 0.064 158.2)
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 #401E37, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.056
- Eggplant #380835 ΔE 0.056
- Eggplant Purple #430541 ΔE 0.057
- Deep Violet #490648 ΔE 0.061
- Dark Plum #3F012C ΔE 0.061
- Dark Purple #35063E ΔE 0.067
- Gunmetal #293241 ΔE 0.069
Use #401E37 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.