#382E52

Closest named color: Space Cadet (#2B2D42). oklch(33% 0.063 295.5), rgb(56, 46, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.063)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.68:1
White text12.49:1

Values

HEX#382E52
RGBrgb(56, 46, 82)
HSLhsl(257, 28%, 25%)
OKLCHoklch(33% 0.063 295.5)

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 #382E52 12.49:1 AAA Lc -101.7 Preferred for body text
Black text on #382E52 1.68:1 Fails Lc 0.0 Not readable
#382E52 text on white 12.49:1 AAA Lc 98.3 Preferred for body text
#382E52 text on black 1.68: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDD

    oklch(80.9% 0.048 294.7)

  5. Step 400

    400

    #A497CB

    oklch(70.6% 0.076 295.9)

  6. Step 500

    500

    #8E7DBE

    oklch(63.1% 0.097 295.5)

  7. Step 600

    600

    #7966AA

    oklch(55.7% 0.105 295.7)

  8. Step 700

    700

    #655492

    oklch(49% 0.098 295.2)

  9. Step 800

    800

    #534576

    oklch(42.7% 0.081 296)

  10. Step 900

    900 (this color)

    #382E52

    oklch(33% 0.063 295.5)

  11. Step 950

    950

    #282238

    oklch(26.9% 0.041 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#382E52 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)#2434530.035
Deuteranopia (no green cones)#2533510.033
Tritanopia (no blue cones)#32343C0.050
Achromatopsia (no color)#3434340.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #382E52

    #382E52

    oklch(33% 0.063 295.5)

  • #34390E

    #34390E

    oklch(33% 0.063 115.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382E52

    #382E52

    oklch(33% 0.063 295.5)

  • #263456

    #263456

    oklch(33% 0.063 266.1)

  • #462947

    #462947

    oklch(33% 0.064 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #382E52

    #382E52

    oklch(33% 0.063 295.5)

  • #443205

    #443205

    oklch(32.9% 0.063 84.9)

  • #1E3E20

    #1E3E20

    oklch(33% 0.064 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382E52

    #382E52

    oklch(33% 0.063 295.5)

  • #4E2C12

    #4E2C12

    oklch(33.1% 0.063 55.6)

  • #003F34

    #003F34

    oklch(32.9% 0.061 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382E52

    #382E52

    oklch(33% 0.063 295.5)

  • #512724

    #512724

    oklch(32.9% 0.063 25.3)

  • #34390E

    #34390E

    oklch(33% 0.063 115.6)

  • #003D43

    #003D43

    oklch(32.9% 0.056 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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