#382131

Closest named color: Space Cadet (#2B2D42). oklch(28.4% 0.044 338.8), rgb(56, 33, 49).

Aa

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

About this color

#382131 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.044 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.046 away. White text reads best on it, at 14.68:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.044)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.43:1
White text14.68:1

Values

HEX#382131
RGBrgb(56, 33, 49)
HSLhsl(318, 26%, 17%)
OKLCHoklch(28.4% 0.044 338.8)

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 #382131 14.68:1 AAA Lc -104.3 Preferred for body text
Black text on #382131 1.43:1 Fails Lc 0.0 Not readable
#382131 text on white 14.68:1 AAA Lc 101.4 Preferred for body text
#382131 text on black 1.43: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E7D2DF

    oklch(88.5% 0.029 340.1)

  4. Step 300

    300

    #D8B4CC

    oklch(80.9% 0.052 338.5)

  5. Step 400

    400

    #C38DB2

    oklch(70.7% 0.082 338.6)

  6. Step 500

    500

    #B36F9F

    oklch(63% 0.106 338.5)

  7. Step 600

    600

    #9E568A

    oklch(55.5% 0.116 338.4)

  8. Step 700

    700

    #874675

    oklch(49% 0.108 338.6)

  9. Step 800

    800

    #6E3A5F

    oklch(42.7% 0.089 338.9)

  10. Step 900

    900

    #59324E

    oklch(37.6% 0.07 338.2)

  11. Step 950

    950 (this color)

    #382131

    oklch(28.4% 0.044 338.8)

Export this scale for Tailwind in the Tailwind colors tool

#382131 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)#2226320.043
Deuteranopia (no green cones)#272A300.042
Tritanopia (no blue cones)#3A21270.019
Achromatopsia (no color)#2828280.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #382131

    #382131

    oklch(28.4% 0.044 338.8)

  • #153022

    #153022

    oklch(28.3% 0.042 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382131

    #382131

    oklch(28.4% 0.044 338.8)

  • #30243A

    #30243A

    oklch(28.4% 0.043 308.8)

  • #3C2025

    #3C2025

    oklch(28.3% 0.044 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #382131

    #382131

    oklch(28.4% 0.044 338.8)

  • #232E16

    #232E16

    oklch(28.4% 0.044 129)

  • #08312E

    #08312E

    oklch(28.5% 0.044 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382131

    #382131

    oklch(28.4% 0.044 338.8)

  • #2F2A0E

    #2F2A0E

    oklch(28.3% 0.044 99.3)

  • #0A2F38

    #0A2F38

    oklch(28.4% 0.044 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382131

    #382131

    oklch(28.4% 0.044 338.8)

  • #382610

    #382610

    oklch(28.5% 0.044 69.9)

  • #153022

    #153022

    oklch(28.3% 0.042 159.4)

  • #182B3F

    #182B3F

    oklch(28.3% 0.045 250.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #382131 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.