#382D72

Closest named color: Marine Blue (#01386A). oklch(35% 0.114 286.2), rgb(56, 45, 114).

Aa

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

About this color

#382D72 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.114 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.065 away. White text reads best on it, at 11.75:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.78:1
White text11.75:1

Values

HEX#382D72
RGBrgb(56, 45, 114)
HSLhsl(250, 43%, 31%)
OKLCHoklch(35% 0.114 286.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 #382D72 11.75:1 AAA Lc -100.4 Preferred for body text
Black text on #382D72 1.78:1 Fails Lc 0.0 Not readable
#382D72 text on white 11.75:1 AAA Lc 96.7 Preferred for body text
#382D72 text on black 1.78: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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BBB9F6

    oklch(80.9% 0.086 285.8)

  5. Step 400

    400

    #9A92F1

    oklch(70.6% 0.137 286.2)

  6. Step 500

    500

    #8474ED

    oklch(63.2% 0.176 286.3)

  7. Step 600

    600

    #6F59DB

    oklch(55.6% 0.19 286.2)

  8. Step 700

    700

    #5D48BE

    oklch(49.1% 0.177 286.1)

  9. Step 800

    800

    #4C3C9A

    oklch(42.8% 0.147 286.2)

  10. Step 900

    900 (this color)

    #382D72

    oklch(35% 0.114 286.2)

  11. Step 950

    950

    #241F48

    oklch(26.9% 0.074 285.9)

Export this scale for Tailwind in the Tailwind colors tool

#382D72 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)#003A740.062
Deuteranopia (no green cones)#0036710.061
Tritanopia (no blue cones)#243D4B0.095
Achromatopsia (no color)#3838380.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #382D72

    #382D72

    oklch(35% 0.114 286.2)

  • #403D00

    #403D00

    oklch(35.2% 0.075 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382D72

    #382D72

    oklch(35% 0.114 286.2)

  • #053974

    #053974

    oklch(35.1% 0.114 255.9)

  • #512362

    #512362

    oklch(35.1% 0.114 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #382D72

    #382D72

    oklch(35% 0.114 286.2)

  • #503400

    #503400

    oklch(35% 0.073 75.8)

  • #1D4600

    #1D4600

    oklch(35% 0.105 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382D72

    #382D72

    oklch(35% 0.114 286.2)

  • #622600

    #622600

    oklch(35.1% 0.098 46.4)

  • #004632

    #004632

    oklch(35% 0.072 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382D72

    #382D72

    oklch(35% 0.114 286.2)

  • #691825

    #691825

    oklch(35% 0.113 16.5)

  • #403D00

    #403D00

    oklch(35.2% 0.075 106.6)

  • #004445

    #004445

    oklch(35.1% 0.06 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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