#322138

Closest named color: Space Cadet (#2B2D42). oklch(27.9% 0.047 317), rgb(50, 33, 56).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.047)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.41:1
White text14.89:1

Values

HEX#322138
RGBrgb(50, 33, 56)
HSLhsl(284, 26%, 17%)
OKLCHoklch(27.9% 0.047 317)

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 #322138 14.89:1 AAA Lc -104.5 Preferred for body text
Black text on #322138 1.41:1 Fails Lc 0.0 Not readable
#322138 text on white 14.89:1 AAA Lc 101.7 Preferred for body text
#322138 text on black 1.41: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E7

    oklch(88.5% 0.031 317.7)

  4. Step 300

    300

    #D0B6D9

    oklch(80.9% 0.056 317.4)

  5. Step 400

    400

    #B78FC6

    oklch(70.6% 0.09 316.6)

  6. Step 500

    500

    #A573B7

    oklch(63.1% 0.113 316.8)

  7. Step 600

    600

    #905AA3

    oklch(55.6% 0.124 316.9)

  8. Step 700

    700

    #7B498C

    oklch(49.1% 0.117 317.1)

  9. Step 800

    800

    #643D71

    oklch(42.8% 0.095 317.3)

  10. Step 900

    900

    #51345C

    oklch(37.6% 0.075 316.3)

  11. Step 950

    950 (this color)

    #322138

    oklch(27.9% 0.047 317)

Export this scale for Tailwind in the Tailwind colors tool

#322138 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)#1E26390.038
Deuteranopia (no green cones)#2228370.036
Tritanopia (no blue cones)#32242A0.031
Achromatopsia (no color)#2727270.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #322138

    #322138

    oklch(27.9% 0.047 317)

  • #1D2E16

    #1D2E16

    oklch(27.9% 0.048 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #322138

    #322138

    oklch(27.9% 0.047 317)

  • #27253F

    #27253F

    oklch(28% 0.047 286.4)

  • #391F2D

    #391F2D

    oklch(27.9% 0.046 347)

Open the analogous palette in the generator

Split complementary

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

  • #322138

    #322138

    oklch(27.9% 0.047 317)

  • #2B2A0C

    #2B2A0C

    oklch(27.8% 0.047 107.3)

  • #0C3024

    #0C3024

    oklch(27.9% 0.047 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #322138

    #322138

    oklch(27.9% 0.047 317)

  • #36250A

    #36250A

    oklch(27.9% 0.048 75.9)

  • #003031

    #003031

    oklch(28% 0.048 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #322138

    #322138

    oklch(27.9% 0.047 317)

  • #3C2113

    #3C2113

    oklch(28% 0.048 47.5)

  • #1D2E16

    #1D2E16

    oklch(27.9% 0.048 137.1)

  • #082D3B

    #082D3B

    oklch(27.9% 0.048 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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