#3D173B
Closest named color: Aubergine (#3D0734). oklch(27.8% 0.08 329.5), rgb(61, 23, 59).
Aa
White text reads best on this color (15.17:1).
About this color
#3D173B is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.080 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.032 away. White text reads best on it, at 15.17:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.38:1 |
| White text | 15.17:1 |
Values
| HEX | #3D173B |
| RGB | rgb(61, 23, 59) |
| HSL | hsl(303, 45%, 16%) |
| OKLCH | oklch(27.8% 0.08 329.5) |
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 #3D173B | 15.17:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #3D173B | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #3D173B text on white | 15.17:1 | AAA | Lc 101.8 | Preferred for body text |
| #3D173B 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
#FBF3FA
oklch(97.2% 0.013 329.6)
-
Step 100
100
#F5E4F3
oklch(93.7% 0.027 329.5)
-
Step 200
200
#EECDEA
oklch(88.5% 0.053 330)
-
Step 300
300
#E4ABDE
oklch(81% 0.094 330)
-
Step 400
400
#D47BCE
oklch(70.7% 0.152 329.5)
-
Step 500
500
#C654C1
oklch(63% 0.194 329.3)
-
Step 600
600
#B133AD
oklch(55.6% 0.21 329.3)
-
Step 700
700
#982394
oklch(49% 0.195 329.6)
-
Step 800
800
#7C2078
oklch(42.7% 0.162 329.9)
-
Step 900
900
#642161
oklch(37.6% 0.127 329.6)
-
Step 950
950 (this color)
#3D173B
oklch(27.8% 0.08 329.5)
#3D173B 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) | #14233C | 0.081 |
| Deuteranopia (no green cones) | #20283A | 0.072 |
| Tritanopia (no blue cones) | #3F1B26 | 0.044 |
| Achromatopsia (no color) | #262626 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3D173B
#3D173B
oklch(27.8% 0.08 329.5)
- #003211
#003211
oklch(27.7% 0.077 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 #3D173B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.032
- Eggplant #380835 ΔE 0.035
- Eggplant Purple #430541 ΔE 0.036
- Dark Purple #35063E ΔE 0.044
- Deep Violet #490648 ΔE 0.045
- Dark Plum #3F012C ΔE 0.046
- Deep Purple #36013F ΔE 0.051
- Plum Purple #4E0550 ΔE 0.059
Use #3D173B 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.