#32172B

Closest named color: Eggplant (#380835). oklch(25.2% 0.054 337.6), rgb(50, 23, 43).

Aa

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

About this color

#32172B is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.054 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.043 away. White text reads best on it, at 16.24:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.29:1
White text16.24:1

Values

HEX#32172B
RGBrgb(50, 23, 43)
HSLhsl(316, 37%, 14%)
OKLCHoklch(25.2% 0.054 337.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 #32172B 16.24:1 AAA Lc -105.6 Preferred for body text
Black text on #32172B 1.29:1 Fails Lc 0.0 Not readable
#32172B text on white 16.24:1 AAA Lc 103.0 Preferred for body text
#32172B text on black 1.29: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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #E9D1E1

    oklch(88.5% 0.034 338)

  4. Step 300

    300

    #DCB1CF

    oklch(80.8% 0.064 337.4)

  5. Step 400

    400

    #CA88B7

    oklch(70.8% 0.101 337.8)

  6. Step 500

    500

    #BB68A5

    oklch(63.1% 0.131 337.8)

  7. Step 600

    600

    #A64E90

    oklch(55.6% 0.141 337.8)

  8. Step 700

    700

    #8E3F7B

    oklch(49.2% 0.131 337.6)

  9. Step 800

    800

    #733464

    oklch(42.7% 0.109 337.3)

  10. Step 900

    900

    #5D2E51

    oklch(37.6% 0.084 337.6)

  11. Step 950

    950 (this color)

    #32172B

    oklch(25.2% 0.054 337.6)

Export this scale for Tailwind in the Tailwind colors tool

#32172B 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)#181E2C0.054
Deuteranopia (no green cones)#1F222A0.050
Tritanopia (no blue cones)#35181F0.025
Achromatopsia (no color)#2020200.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #32172B

    #32172B

    oklch(25.2% 0.054 337.6)

  • #052918

    #052918

    oklch(25% 0.052 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #32172B

    #32172B

    oklch(25.2% 0.054 337.6)

  • #291A36

    #291A36

    oklch(25.1% 0.055 307.6)

  • #37161D

    #37161D

    oklch(25.2% 0.053 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #32172B

    #32172B

    oklch(25.2% 0.054 337.6)

  • #1B2707

    #1B2707

    oklch(25.3% 0.054 127.4)

  • #002926

    #002926

    oklch(25.3% 0.044 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #32172B

    #32172B

    oklch(25.2% 0.054 337.6)

  • #292200

    #292200

    oklch(25.2% 0.052 97.8)

  • #002730

    #002730

    oklch(25.2% 0.045 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #32172B

    #32172B

    oklch(25.2% 0.054 337.6)

  • #331C01

    #331C01

    oklch(25.2% 0.054 66.9)

  • #052918

    #052918

    oklch(25% 0.052 158.5)

  • #09243A

    #09243A

    oklch(25.2% 0.053 246.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #32172B 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.