#382C58
Closest named color: Prussian Blue (#1D3557). oklch(32.9% 0.076 294.4), rgb(56, 44, 88).
Aa
White text reads best on this color (12.57:1).
About this color
#382C58 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.076 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.047 away. White text reads best on it, at 12.57:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.66:1 |
| White text | 12.57:1 |
Values
| HEX | #382C58 |
| RGB | rgb(56, 44, 88) |
| HSL | hsl(256, 33%, 26%) |
| OKLCH | oklch(32.9% 0.076 294.4) |
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 #382C58 | 12.57:1 | AAA | Lc -101.8 | Preferred for body text |
| Black text on #382C58 | 1.66:1 | Fails | Lc 0.0 | Not readable |
| #382C58 text on white | 12.57:1 | AAA | Lc 98.4 | Preferred for body text |
| #382C58 text on black | 1.66: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
#F5F4FA
oklch(97% 0.008 293.9)
-
Step 100
100
#EAE8F4
oklch(93.6% 0.016 293.7)
-
Step 200
200
#DAD5ED
oklch(88.4% 0.033 295.3)
-
Step 300
300
#C2BAE3
oklch(80.9% 0.058 294)
-
Step 400
400
#A495D4
oklch(70.6% 0.092 294.9)
-
Step 500
500
#8E7AC9
oklch(63% 0.118 294.4)
-
Step 600
600
#7962B6
oklch(55.6% 0.128 294.5)
-
Step 700
700
#66519C
oklch(49.1% 0.118 294.6)
-
Step 800
800
#53437F
oklch(42.8% 0.098 294.2)
-
Step 900
900 (this color)
#382C58
oklch(32.9% 0.076 294.4)
-
Step 950
950
#28213C
oklch(26.9% 0.05 294.8)
#382C58 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) | #1D345A | 0.045 |
| Deuteranopia (no green cones) | #1F3357 | 0.042 |
| Tritanopia (no blue cones) | #31343D | 0.062 |
| Achromatopsia (no color) | #333333 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #382C58
#382C58
oklch(32.9% 0.076 294.4)
- #353900
#353900
oklch(32.9% 0.074 114.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 #382C58, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.047
- Space Cadet #2B2D42 ΔE 0.047
- Gunmetal #293241 ΔE 0.056
- Dark Blue Grey #1F3B4D ΔE 0.064
- Marine #042E60 ΔE 0.065
- Marine Blue #01386A ΔE 0.069
- Onyx #343A40 ΔE 0.070
- Oxford Blue #1B263B ΔE 0.076
Use #382C58 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.