#401535
Closest named color: Aubergine (#3D0734). oklch(27.7% 0.08 338.8), rgb(64, 21, 53).
Aa
White text reads best on this color (15.25:1).
About this color
#401535 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.080 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.030 away. White text reads best on it, at 15.25:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.37:1 |
| White text | 15.25:1 |
Values
| HEX | #401535 |
| RGB | rgb(64, 21, 53) |
| HSL | hsl(315, 51%, 17%) |
| OKLCH | oklch(27.7% 0.08 338.8) |
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 #401535 | 15.25:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #401535 | 1.37:1 | Fails | Lc 0.0 | Not readable |
| #401535 text on white | 15.25:1 | AAA | Lc 101.8 | Preferred for body text |
| #401535 text on black | 1.37: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
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F7E3F0
oklch(93.6% 0.028 338.6)
-
Step 200
200
#F2CCE5
oklch(88.5% 0.054 338.8)
-
Step 300
300
#EAA9D5
oklch(80.9% 0.095 339)
-
Step 400
400
#DD78C0
oklch(70.8% 0.152 339)
-
Step 500
500
#D04FB0
oklch(63% 0.195 338.7)
-
Step 600
600
#BB2B9C
oklch(55.6% 0.211 338.5)
-
Step 700
700
#A11A85
oklch(49.1% 0.197 338.7)
-
Step 800
800
#831B6C
oklch(42.8% 0.163 338.8)
-
Step 900
900
#6A1E58
oklch(37.8% 0.128 338.7)
-
Step 950
950 (this color)
#401535
oklch(27.7% 0.08 338.8)
#401535 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) | #172136 | 0.085 |
| Deuteranopia (no green cones) | #232834 | 0.076 |
| Tritanopia (no blue cones) | #441622 | 0.038 |
| Achromatopsia (no color) | #252525 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #401535
#401535
oklch(27.7% 0.08 338.8)
- #00311C
#00311C
oklch(27.6% 0.064 158.9)
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 #401535, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.030
- Eggplant #380835 ΔE 0.036
- Eggplant Purple #430541 ΔE 0.039
- Dark Plum #3F012C ΔE 0.039
- Deep Violet #490648 ΔE 0.048
- Dark Purple #35063E ΔE 0.049
- Deep Purple #36013F ΔE 0.056
- Plum Purple #4E0550 ΔE 0.063
Use #401535 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.