#382142

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.065 315), rgb(56, 33, 66).

Aa

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

About this color

#382142 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.065 and its hue 315°. 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.34:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.065)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.46:1
White text14.34:1

Values

HEX#382142
RGBrgb(56, 33, 66)
HSLhsl(282, 33%, 19%)
OKLCHoklch(29.3% 0.065 315)

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 #382142 14.34:1 AAA Lc -103.9 Preferred for body text
Black text on #382142 1.46:1 Fails Lc 0.0 Not readable
#382142 text on white 14.34:1 AAA Lc 101.0 Preferred for body text
#382142 text on black 1.46: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D4B2E3

    oklch(80.9% 0.077 315.4)

  5. Step 400

    400

    #BD88D5

    oklch(70.6% 0.123 314.9)

  6. Step 500

    500

    #AD68CA

    oklch(63.1% 0.158 315.1)

  7. Step 600

    600

    #984DB6

    oklch(55.6% 0.17 315.3)

  8. Step 700

    700

    #813D9D

    oklch(49% 0.159 314.8)

  9. Step 800

    800

    #69337F

    oklch(42.6% 0.132 315.1)

  10. Step 900

    900

    #562E66

    oklch(37.8% 0.102 315.5)

  11. Step 950

    950 (this color)

    #382142

    oklch(29.3% 0.065 315)

Export this scale for Tailwind in the Tailwind colors tool

#382142 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)#1B29430.054
Deuteranopia (no green cones)#212B410.050
Tritanopia (no blue cones)#37262E0.044
Achromatopsia (no color)#2A2A2A0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #382142

    #382142

    oklch(29.3% 0.065 315)

  • #1D330F

    #1D330F

    oklch(29.3% 0.065 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382142

    #382142

    oklch(29.3% 0.065 315)

  • #29264B

    #29264B

    oklch(29.2% 0.066 285.2)

  • #421D33

    #421D33

    oklch(29.2% 0.065 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #382142

    #382142

    oklch(29.3% 0.065 315)

  • #312D00

    #312D00

    oklch(29.2% 0.062 104.3)

  • #003524

    #003524

    oklch(29.1% 0.061 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382142

    #382142

    oklch(29.3% 0.065 315)

  • #3E2700

    #3E2700

    oklch(29.4% 0.062 75.1)

  • #003434

    #003434

    oklch(29.4% 0.05 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382142

    #382142

    oklch(29.3% 0.065 315)

  • #46200D

    #46200D

    oklch(29.3% 0.065 45.4)

  • #1D330F

    #1D330F

    oklch(29.3% 0.065 135)

  • #003141

    #003141

    oklch(29.2% 0.056 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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