#382138

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.052 326.8), rgb(56, 33, 56).

Aa

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

About this color

#382138 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.052 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.042 away. White text reads best on it, at 14.55:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.052)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.44:1
White text14.55:1

Values

HEX#382138
RGBrgb(56, 33, 56)
HSLhsl(300, 26%, 17%)
OKLCHoklch(28.7% 0.052 326.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 #382138 14.55:1 AAA Lc -104.2 Preferred for body text
Black text on #382138 1.44:1 Fails Lc 0.0 Not readable
#382138 text on white 14.55:1 AAA Lc 101.3 Preferred for body text
#382138 text on black 1.44: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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E6D2E5

    oklch(88.6% 0.034 327.4)

  4. Step 300

    300

    #D6B3D6

    oklch(80.8% 0.062 326.1)

  5. Step 400

    400

    #C18BC1

    oklch(70.7% 0.098 326.5)

  6. Step 500

    500

    #B16DB1

    oklch(63.2% 0.125 326.9)

  7. Step 600

    600

    #9C539C

    oklch(55.6% 0.136 327.2)

  8. Step 700

    700

    #854386

    oklch(49.1% 0.127 326.7)

  9. Step 800

    800

    #6C386D

    oklch(42.7% 0.105 326.5)

  10. Step 900

    900

    #583158

    oklch(37.8% 0.081 327)

  11. Step 950

    950 (this color)

    #382138

    oklch(28.7% 0.052 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#382138 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)#1F27390.048
Deuteranopia (no green cones)#252A370.044
Tritanopia (no blue cones)#39232A0.029
Achromatopsia (no color)#2929290.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #382138

    #382138

    oklch(28.7% 0.052 326.8)

  • #18311B

    #18311B

    oklch(28.6% 0.051 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382138

    #382138

    oklch(28.7% 0.052 326.8)

  • #2D2541

    #2D2541

    oklch(28.7% 0.051 296.2)

  • #3F1F2B

    #3F1F2B

    oklch(28.7% 0.052 357)

Open the analogous palette in the generator

Split complementary

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

  • #382138

    #382138

    oklch(28.7% 0.052 326.8)

  • #292E0D

    #292E0D

    oklch(28.8% 0.052 117)

  • #02332A

    #02332A

    oklch(28.8% 0.052 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382138

    #382138

    oklch(28.7% 0.052 326.8)

  • #362907

    #362907

    oklch(28.9% 0.052 87.1)

  • #003137

    #003137

    oklch(28.6% 0.049 207.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382138

    #382138

    oklch(28.7% 0.052 326.8)

  • #3E230F

    #3E230F

    oklch(28.7% 0.052 55.4)

  • #18311B

    #18311B

    oklch(28.6% 0.051 146.8)

  • #0C2E41

    #0C2E41

    oklch(28.7% 0.052 237.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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