#382D63

Closest named color: Prussian Blue (#1D3557). oklch(33.9% 0.092 290), rgb(56, 45, 99).

Aa

White text reads best on this color (12.18:1).

About this color

#382D63 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.092 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.052 away. White text reads best on it, at 12.18:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.72:1
White text12.18:1

Values

HEX#382D63
RGBrgb(56, 45, 99)
HSLhsl(252, 38%, 28%)
OKLCHoklch(33.9% 0.092 290)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #382D63 12.18:1 AAA Lc -101.2 Preferred for body text
Black text on #382D63 1.72:1 Fails Lc 0.0 Not readable
#382D63 text on white 12.18:1 AAA Lc 97.6 Preferred for body text
#382D63 text on black 1.72: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.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F1

    oklch(88.4% 0.038 290.5)

  4. Step 300

    300

    #BFBAEB

    oklch(81% 0.069 289.4)

  5. Step 400

    400

    #A094E1

    oklch(70.7% 0.111 290.4)

  6. Step 500

    500

    #8978D8

    oklch(63% 0.141 289.9)

  7. Step 600

    600

    #745FC5

    oklch(55.6% 0.153 290)

  8. Step 700

    700

    #624EAA

    oklch(49.1% 0.142 290.2)

  9. Step 800

    800

    #50408A

    oklch(42.7% 0.118 290.4)

  10. Step 900

    900 (this color)

    #382D63

    oklch(33.9% 0.092 290)

  11. Step 950

    950

    #262141

    oklch(27.1% 0.058 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#382D63 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1636650.050
Deuteranopia (no green cones)#1734620.049
Tritanopia (no blue cones)#2C38430.076
Achromatopsia (no color)#3535350.092

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #382D63

    #382D63

    oklch(33.9% 0.092 290)

  • #3A3A00

    #3A3A00

    oklch(33.7% 0.074 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382D63

    #382D63

    oklch(33.9% 0.092 290)

  • #193666

    #193666

    oklch(33.9% 0.091 259.9)

  • #4C2555

    #4C2555

    oklch(33.9% 0.093 319.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #382D63

    #382D63

    oklch(33.9% 0.092 290)

  • #4A3300

    #4A3300

    oklch(33.9% 0.07 80.9)

  • #19420F

    #19420F

    oklch(33.7% 0.091 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382D63

    #382D63

    oklch(33.9% 0.092 290)

  • #5B2600

    #5B2600

    oklch(33.9% 0.09 49.5)

  • #004232

    #004232

    oklch(33.7% 0.067 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382D63

    #382D63

    oklch(33.9% 0.092 290)

  • #5E1F23

    #5E1F23

    oklch(33.8% 0.092 19.8)

  • #3A3A00

    #3A3A00

    oklch(33.7% 0.074 109.8)

  • #004043

    #004043

    oklch(33.8% 0.057 200.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #382D63, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #382D63 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.