#382B47

Closest named color: Space Cadet (#2B2D42). oklch(31.7% 0.051 305), rgb(56, 43, 71).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.051)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.60:1
White text13.08:1

Values

HEX#382B47
RGBrgb(56, 43, 71)
HSLhsl(268, 25%, 22%)
OKLCHoklch(31.7% 0.051 305)

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 #382B47 13.08:1 AAA Lc -102.6 Preferred for body text
Black text on #382B47 1.60:1 Fails Lc 0.0 Not readable
#382B47 text on white 13.08:1 AAA Lc 99.3 Preferred for body text
#382B47 text on black 1.60: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DED4EC

    oklch(88.5% 0.034 304.5)

  4. Step 300

    300

    #C9B7E1

    oklch(80.8% 0.061 304.5)

  5. Step 400

    400

    #AF91D2

    oklch(70.7% 0.098 305.2)

  6. Step 500

    500

    #9B75C6

    oklch(63.2% 0.124 304.7)

  7. Step 600

    600

    #865CB2

    oklch(55.6% 0.135 305)

  8. Step 700

    700

    #724B99

    oklch(49.1% 0.126 305.3)

  9. Step 800

    800

    #5C3E7C

    oklch(42.6% 0.104 304.7)

  10. Step 900

    900

    #4C3564

    oklch(37.7% 0.082 305.4)

  11. Step 950

    950 (this color)

    #382B47

    oklch(31.7% 0.051 305)

Export this scale for Tailwind in the Tailwind colors tool

#382B47 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)#2530480.034
Deuteranopia (no green cones)#2831460.032
Tritanopia (no blue cones)#362F350.039
Achromatopsia (no color)#3131310.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #382B47

    #382B47

    oklch(31.7% 0.051 305)

  • #2C3618

    #2C3618

    oklch(31.5% 0.051 124.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382B47

    #382B47

    oklch(31.7% 0.051 305)

  • #2A304C

    #2A304C

    oklch(31.7% 0.051 273.9)

  • #42283C

    #42283C

    oklch(31.7% 0.05 335.5)

Open the analogous palette in the generator

Split complementary

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

  • #382B47

    #382B47

    oklch(31.7% 0.051 305)

  • #3A3210

    #3A3210

    oklch(31.8% 0.052 96.1)

  • #1A3A26

    #1A3A26

    oklch(31.7% 0.053 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382B47

    #382B47

    oklch(31.7% 0.051 305)

  • #442C13

    #442C13

    oklch(31.6% 0.052 65)

  • #083A35

    #083A35

    oklch(31.6% 0.051 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382B47

    #382B47

    oklch(31.7% 0.051 305)

  • #492820

    #492820

    oklch(31.8% 0.052 34.5)

  • #2C3618

    #2C3618

    oklch(31.5% 0.051 124.4)

  • #083842

    #083842

    oklch(31.5% 0.051 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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