#371A40
Closest named color: Eggplant (#380835). oklch(27.7% 0.076 317.7), rgb(55, 26, 64).
Aa
White text reads best on this color (15.17:1).
About this color
#371A40 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.076 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.041 away. White text reads best on it, at 15.17:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Eggplant (#380835) |
| Black text | 1.38:1 |
| White text | 15.17:1 |
Values
| HEX | #371A40 |
| RGB | rgb(55, 26, 64) |
| HSL | hsl(286, 42%, 18%) |
| OKLCH | oklch(27.7% 0.076 317.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 #371A40 | 15.17:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #371A40 | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #371A40 text on white | 15.17:1 | AAA | Lc 101.9 | Preferred for body text |
| #371A40 text on black | 1.38: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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F6
oklch(93.6% 0.026 316.1)
-
Step 200
200
#E7CFEF
oklch(88.4% 0.05 317.7)
-
Step 300
300
#D9AFE7
oklch(81% 0.089 317.6)
-
Step 400
400
#C582DB
oklch(70.7% 0.144 317.5)
-
Step 500
500
#B65ED0
oklch(63.1% 0.184 318)
-
Step 600
600
#A140BD
oklch(55.6% 0.2 317.8)
-
Step 700
700
#8A31A3
oklch(49.2% 0.185 317.9)
-
Step 800
800
#702A84
oklch(42.7% 0.154 317.9)
-
Step 900
900
#5B286A
oklch(37.8% 0.12 317.9)
-
Step 950
950 (this color)
#371A40
oklch(27.7% 0.076 317.7)
#371A40 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) | #122441 | 0.069 |
| Deuteranopia (no green cones) | #1B273F | 0.062 |
| Tritanopia (no blue cones) | #37202A | 0.049 |
| Achromatopsia (no color) | #262626 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #371A40
#371A40
oklch(27.7% 0.076 317.7)
- #133006
#133006
oklch(27.6% 0.075 137.7)
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 #371A40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Eggplant #380835 ΔE 0.041
- Aubergine #3D0734 ΔE 0.043
- Dark Purple #35063E ΔE 0.043
- Eggplant Purple #430541 ΔE 0.045
- Deep Purple #36013F ΔE 0.051
- Deep Violet #490648 ΔE 0.052
- Dark Plum #3F012C ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.059
Use #371A40 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.