#3D1F74
Closest named color: Indigo (#4B0082). oklch(33.4% 0.137 293.8), rgb(61, 31, 116).
Aa
White text reads best on this color (12.75:1).
About this color
#3D1F74 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.137 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.048 away. White text reads best on it, at 12.75:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.64:1 |
| White text | 12.75:1 |
Values
| HEX | #3D1F74 |
| RGB | rgb(61, 31, 116) |
| HSL | hsl(261, 58%, 29%) |
| OKLCH | oklch(33.4% 0.137 293.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 #3D1F74 | 12.75:1 | AAA | Lc -101.7 | Preferred for body text |
| Black text on #3D1F74 | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #3D1F74 text on white | 12.75:1 | AAA | Lc 98.2 | Preferred for body text |
| #3D1F74 text on black | 1.64: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 900.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200
#DAD3FC
oklch(88.5% 0.056 293)
-
Step 300
300
#C4B4FD
oklch(80.9% 0.103 294)
-
Step 400
400
#A789FC
oklch(70.7% 0.165 293.8)
-
Step 500
500
#9466F9
oklch(63.1% 0.21 294)
-
Step 600
600
#8047E8
oklch(55.6% 0.228 293.9)
-
Step 700
700
#6C36CA
oklch(49% 0.213 293.6)
-
Step 800
800
#582FA3
oklch(42.7% 0.175 293.8)
-
Step 900
900 (this color)
#3D1F74
oklch(33.4% 0.137 293.8)
-
Step 950
950
#2A1B4C
oklch(27.1% 0.087 293.9)
#3D1F74 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) | #003377 | 0.081 |
| Deuteranopia (no green cones) | #003172 | 0.081 |
| Tritanopia (no blue cones) | #2D3447 | 0.106 |
| Achromatopsia (no color) | #323232 | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3D1F74
#3D1F74
oklch(33.4% 0.137 293.8)
- #363A00
#363A00
oklch(33.3% 0.075 114)
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 #3D1F74, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo #4B0082 ΔE 0.048
- Royal Purple #4B006E ΔE 0.050
- Midnight Blue #191970 ΔE 0.069
- Dark Slate Blue #483D8B ΔE 0.083
- Plum Purple #4E0550 ΔE 0.083
- Marine #042E60 ΔE 0.088
- Imperial Purple #480CA8 ΔE 0.089
- Marine Blue #01386A ΔE 0.091
Use #3D1F74 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.