#381EA4
Closest named color: Indigo Blue (#3A18B1). oklch(37.6% 0.196 280.2), rgb(56, 30, 164).
Aa
White text reads best on this color (11.11:1).
About this color
#381EA4 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.196 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo Blue (#3A18B1), ΔE 0.021 away. White text reads best on it, at 11.11:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.196) |
| Temperature | cool |
| Nearest name | Indigo Blue (#3A18B1) |
| Black text | 1.88:1 |
| White text | 11.11:1 |
Values
| HEX | #381EA4 |
| RGB | rgb(56, 30, 164) |
| HSL | hsl(252, 69%, 38%) |
| OKLCH | oklch(37.6% 0.196 280.2) |
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 #381EA4 | 11.11:1 | AAA | Lc -98.4 | Preferred for body text |
| Black text on #381EA4 | 1.88:1 | Fails | Lc 9.4 | Not readable |
| #381EA4 text on white | 11.11:1 | AAA | Lc 94.5 | Preferred for body text |
| #381EA4 text on black | 1.88:1 | Fails | Lc -8.1 | 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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FF
oklch(93.6% 0.031 279.9)
-
Step 200
200
#D1D6FF
oklch(88.5% 0.057 279.7)
-
Step 300
300
#B4BAFF
oklch(80.9% 0.098 280.1)
-
Step 400
400
#8F93FF
oklch(70.7% 0.156 280)
-
Step 500
500
#7773FF
oklch(63.2% 0.202 280.2)
-
Step 600
600
#634CFF
oklch(55.7% 0.251 280.3)
-
Step 700
700
#5604FF
oklch(49.1% 0.295 280.2)
-
Step 800
800
#460CD1
oklch(42.7% 0.251 280.4)
-
Step 900
900 (this color)
#381EA4
oklch(37.6% 0.196 280.2)
-
Step 950
950
#201660
oklch(27.1% 0.124 280.4)
#381EA4 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) | #0040A8 | 0.074 |
| Deuteranopia (no green cones) | #0036A2 | 0.062 |
| Tritanopia (no blue cones) | #004762 | 0.156 |
| Achromatopsia (no color) | #3C3C3C | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #381EA4
#381EA4
oklch(37.6% 0.196 280.2)
- #4B4200
#4B4200
oklch(37.7% 0.078 100.6)
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 #381EA4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo Blue #3A18B1 ΔE 0.021
- Imperial Purple #480CA8 ΔE 0.033
- Sapphire #2138AB ΔE 0.053
- Ultramarine #2000B1 ΔE 0.055
- Chrysanthemum #560BAD ΔE 0.059
- Royal #0C1793 ΔE 0.071
- Violet Blue #510AC9 ΔE 0.072
- Cobalt Blue #030AA7 ΔE 0.075
Use #381EA4 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.