#381E6D
Closest named color: Royal Purple (#4B006E). oklch(32% 0.129 292.7), rgb(56, 30, 109).
Aa
White text reads best on this color (13.33:1).
About this color
#381E6D is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.129 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.054 away. White text reads best on it, at 13.33:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.129) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.57:1 |
| White text | 13.33:1 |
Values
| HEX | #381E6D |
| RGB | rgb(56, 30, 109) |
| HSL | hsl(260, 57%, 27%) |
| OKLCH | oklch(32% 0.129 292.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 #381E6D | 13.33:1 | AAA | Lc -102.5 | Preferred for body text |
| Black text on #381E6D | 1.57:1 | Fails | Lc 0.0 | Not readable |
| #381E6D text on white | 13.33:1 | AAA | Lc 99.2 | Preferred for body text |
| #381E6D text on black | 1.57: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
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#EAE6FF
oklch(93.6% 0.034 293.1)
-
Step 200
200
#DAD2FF
oklch(88.5% 0.062 293.2)
-
Step 300
300
#C3B4FF
oklch(80.9% 0.105 293.1)
-
Step 400
400
#A689FF
oklch(70.7% 0.169 292.9)
-
Step 500
500
#9264FF
oklch(63% 0.219 292.7)
-
Step 600
600
#8232FF
oklch(55.6% 0.272 292.8)
-
Step 700
700
#7100E9
oklch(49.2% 0.274 292.7)
-
Step 800
800
#5C00C1
oklch(42.6% 0.238 292.5)
-
Step 900
900
#4C08A0
oklch(37.6% 0.203 292.6)
-
Step 950
950 (this color)
#381E6D
oklch(32% 0.129 292.7)
#381E6D 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) | #00306F | 0.075 |
| Deuteranopia (no green cones) | #002E6B | 0.074 |
| Tritanopia (no blue cones) | #283243 | 0.102 |
| Achromatopsia (no color) | #2F2F2F | 0.130 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #381E6D
#381E6D
oklch(32% 0.129 292.7)
- #343600
#343600
oklch(32% 0.071 112.1)
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 #381E6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.054
- Indigo #4B0082 ΔE 0.059
- Midnight Blue #191970 ΔE 0.059
- Marine #042E60 ΔE 0.078
- Plum Purple #4E0550 ΔE 0.079
- Dark Indigo #1F0954 ΔE 0.083
- Prussian Blue #1D3557 ΔE 0.084
- Deep Violet #490648 ΔE 0.085
Use #381E6D 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.