#382D40

Closest named color: Space Cadet (#2B2D42). oklch(31.7% 0.036 310.6), rgb(56, 45, 64).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.036)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text12.98:1

Values

HEX#382D40
RGBrgb(56, 45, 64)
HSLhsl(275, 17%, 21%)
OKLCHoklch(31.7% 0.036 310.6)

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 #382D40 12.98:1 AAA Lc -102.5 Preferred for body text
Black text on #382D40 1.61:1 Fails Lc 0.0 Not readable
#382D40 text on white 12.98:1 AAA Lc 99.2 Preferred for body text
#382D40 text on black 1.61: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E5

    oklch(88.5% 0.024 310.7)

  4. Step 300

    300

    #C9B9D6

    oklch(80.8% 0.044 310)

  5. Step 400

    400

    #AE95C1

    oklch(70.7% 0.069 310.3)

  6. Step 500

    500

    #9A7AB1

    oklch(63% 0.088 310.5)

  7. Step 600

    600

    #85639D

    oklch(55.7% 0.095 310.4)

  8. Step 700

    700

    #715286

    oklch(49.2% 0.088 310.8)

  9. Step 800

    800

    #5C436D

    oklch(42.8% 0.074 310.8)

  10. Step 900

    900

    #4B3958

    oklch(37.7% 0.056 310.4)

  11. Step 950

    950 (this color)

    #382D40

    oklch(31.7% 0.036 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#382D40 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)#2A31410.026
Deuteranopia (no green cones)#2C313F0.024
Tritanopia (no blue cones)#372F340.025
Achromatopsia (no color)#3131310.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #382D40

    #382D40

    oklch(31.7% 0.036 310.6)

  • #2C3622

    #2C3622

    oklch(31.7% 0.037 129.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382D40

    #382D40

    oklch(31.7% 0.036 310.6)

  • #2F3044

    #2F3044

    oklch(31.7% 0.036 281.9)

  • #3F2B38

    #3F2B38

    oklch(31.8% 0.036 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #382D40

    #382D40

    oklch(31.7% 0.036 310.6)

  • #36331D

    #36331D

    oklch(31.8% 0.036 101.5)

  • #21382C

    #21382C

    oklch(31.7% 0.036 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382D40

    #382D40

    oklch(31.7% 0.036 310.6)

  • #3E2F1D

    #3E2F1D

    oklch(31.7% 0.037 71)

  • #1A3836

    #1A3836

    oklch(31.7% 0.036 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382D40

    #382D40

    oklch(31.7% 0.036 310.6)

  • #422C24

    #422C24

    oklch(31.7% 0.036 40.8)

  • #2C3622

    #2C3622

    oklch(31.7% 0.037 129.9)

  • #1C373F

    #1C373F

    oklch(31.9% 0.036 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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