#382D5C

Closest named color: Prussian Blue (#1D3557). oklch(33.4% 0.081 292.2), rgb(56, 45, 92).

Aa

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

About this color

#382D5C is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.081 and its hue 292°. 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.36:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.69:1
White text12.36:1

Values

HEX#382D5C
RGBrgb(56, 45, 92)
HSLhsl(254, 34%, 27%)
OKLCHoklch(33.4% 0.081 292.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #382D5C 12.36:1 AAA Lc -101.5 Preferred for body text
Black text on #382D5C 1.69:1 Fails Lc 0.0 Not readable
#382D5C text on white 12.36:1 AAA Lc 98.0 Preferred for body text
#382D5C text on black 1.69: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C1BAE5

    oklch(80.9% 0.06 292.5)

  5. Step 400

    400

    #A295D8

    oklch(70.6% 0.097 292.6)

  6. Step 500

    500

    #8C7ACE

    oklch(63.1% 0.124 292.3)

  7. Step 600

    600

    #7662BB

    oklch(55.7% 0.135 291.8)

  8. Step 700

    700

    #6450A1

    oklch(49.1% 0.126 292.5)

  9. Step 800

    800

    #514282

    oklch(42.6% 0.104 292.2)

  10. Step 900

    900 (this color)

    #382D5C

    oklch(33.4% 0.081 292.2)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#382D5C 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)#1C355E0.045
Deuteranopia (no green cones)#1E345B0.043
Tritanopia (no blue cones)#2F36400.065
Achromatopsia (no color)#3434340.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #382D5C

    #382D5C

    oklch(33.4% 0.081 292.2)

  • #373A00

    #373A00

    oklch(33.4% 0.075 113)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382D5C

    #382D5C

    oklch(33.4% 0.081 292.2)

  • #1F3560

    #1F3560

    oklch(33.5% 0.081 262.4)

  • #49264F

    #49264F

    oklch(33.3% 0.082 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #382D5C

    #382D5C

    oklch(33.4% 0.081 292.2)

  • #483200

    #483200

    oklch(33.4% 0.069 81.7)

  • #1A4017

    #1A4017

    oklch(33.3% 0.08 142.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382D5C

    #382D5C

    oklch(33.4% 0.081 292.2)

  • #562805

    #562805

    oklch(33.4% 0.081 51.9)

  • #004133

    #004133

    oklch(33.4% 0.064 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382D5C

    #382D5C

    oklch(33.4% 0.081 292.2)

  • #592223

    #592223

    oklch(33.3% 0.081 21.5)

  • #373A00

    #373A00

    oklch(33.4% 0.075 113)

  • #003F43

    #003F43

    oklch(33.5% 0.057 201.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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