#3A1638
Closest named color: Aubergine (#3D0734). oklch(27% 0.076 329.6), rgb(58, 22, 56).
Aa
White text reads best on this color (15.53:1).
About this color
#3A1638 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.076 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.029 away. White text reads best on it, at 15.53:1.
| Hue family | Purples |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.35:1 |
| White text | 15.53:1 |
Values
| HEX | #3A1638 |
| RGB | rgb(58, 22, 56) |
| HSL | hsl(303, 45%, 16%) |
| OKLCH | oklch(27% 0.076 329.6) |
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 #3A1638 | 15.53:1 | AAA | Lc -104.9 | Preferred for body text |
| Black text on #3A1638 | 1.35:1 | Fails | Lc 0.0 | Not readable |
| #3A1638 text on white | 15.53:1 | AAA | Lc 102.2 | Preferred for body text |
| #3A1638 text on black | 1.35: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
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F4E4F2
oklch(93.6% 0.025 329.7)
-
Step 200
200
#EDCEE9
oklch(88.5% 0.05 330.2)
-
Step 300
300
#E2ACDD
oklch(80.9% 0.09 329.5)
-
Step 400
400
#D27DCC
oklch(70.7% 0.145 329.5)
-
Step 500
500
#C458BE
oklch(63.1% 0.184 329.7)
-
Step 600
600
#AF38AA
oklch(55.6% 0.2 329.6)
-
Step 700
700
#962992
oklch(49.1% 0.186 329.5)
-
Step 800
800
#7A2477
oklch(42.7% 0.155 329.3)
-
Step 900
900
#632460
oklch(37.8% 0.121 329.6)
-
Step 950
950 (this color)
#3A1638
oklch(27% 0.076 329.6)
#3A1638 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) | #142139 | 0.076 |
| Deuteranopia (no green cones) | #1F2637 | 0.068 |
| Tritanopia (no blue cones) | #3C1924 | 0.041 |
| Achromatopsia (no color) | #242424 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A1638
#3A1638
oklch(27% 0.076 329.6)
- #003010
#003010
oklch(27% 0.075 149.4)
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 #3A1638, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.029
- Eggplant #380835 ΔE 0.030
- Eggplant Purple #430541 ΔE 0.039
- Dark Purple #35063E ΔE 0.040
- Dark Plum #3F012C ΔE 0.042
- Deep Purple #36013F ΔE 0.048
- Deep Violet #490648 ΔE 0.051
- Very Dark Purple #2A0134 ΔE 0.066
Use #3A1638 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.