#382B4E

Closest named color: Space Cadet (#2B2D42). oklch(32.1% 0.063 300), rgb(56, 43, 78).

Aa

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

About this color

#382B4E is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.063 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.034 away. White text reads best on it, at 12.93:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.063)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.62:1
White text12.93:1

Values

HEX#382B4E
RGBrgb(56, 43, 78)
HSLhsl(262, 29%, 24%)
OKLCHoklch(32.1% 0.063 300)

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 #382B4E 12.93:1 AAA Lc -102.3 Preferred for body text
Black text on #382B4E 1.62:1 Fails Lc 0.0 Not readable
#382B4E text on white 12.93:1 AAA Lc 99.1 Preferred for body text
#382B4E text on black 1.62: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.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD4F1

    oklch(88.6% 0.041 299.7)

  4. Step 300

    300

    #C8B6EA

    oklch(80.9% 0.075 300.6)

  5. Step 400

    400

    #AC8FDF

    oklch(70.7% 0.118 300.1)

  6. Step 500

    500

    #9871D6

    oklch(63.1% 0.151 299.9)

  7. Step 600

    600

    #8357C4

    oklch(55.6% 0.165 299.7)

  8. Step 700

    700

    #6F46A9

    oklch(49% 0.154 299.8)

  9. Step 800

    800

    #5B3A89

    oklch(42.7% 0.128 300.3)

  10. Step 900

    900

    #4A336D

    oklch(37.6% 0.098 300)

  11. Step 950

    950 (this color)

    #382B4E

    oklch(32.1% 0.063 300)

Export this scale for Tailwind in the Tailwind colors tool

#382B4E 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)#22314F0.039
Deuteranopia (no green cones)#24314D0.037
Tritanopia (no blue cones)#3431380.050
Achromatopsia (no color)#3131310.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #382B4E

    #382B4E

    oklch(32.1% 0.063 300)

  • #2F370E

    #2F370E

    oklch(31.9% 0.062 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382B4E

    #382B4E

    oklch(32.1% 0.063 300)

  • #273153

    #273153

    oklch(32.2% 0.062 270.2)

  • #452642

    #452642

    oklch(32% 0.064 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #382B4E

    #382B4E

    oklch(32.1% 0.063 300)

  • #3F3104

    #3F3104

    oklch(32% 0.062 90.2)

  • #183C21

    #183C21

    oklch(32.1% 0.063 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382B4E

    #382B4E

    oklch(32.1% 0.063 300)

  • #4A2A0D

    #4A2A0D

    oklch(32% 0.063 59.3)

  • #003C34

    #003C34

    oklch(31.9% 0.058 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382B4E

    #382B4E

    oklch(32.1% 0.063 300)

  • #4E261F

    #4E261F

    oklch(32.1% 0.062 31.1)

  • #2F370E

    #2F370E

    oklch(31.9% 0.062 119.5)

  • #003A43

    #003A43

    oklch(32% 0.056 211.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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