#331729

Closest named color: Eggplant (#380835). oklch(25.2% 0.053 342.4), rgb(51, 23, 41).

Aa

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

About this color

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

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

Values

HEX#331729
RGBrgb(51, 23, 41)
HSLhsl(321, 38%, 15%)
OKLCHoklch(25.2% 0.053 342.4)

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 #331729 16.21:1 AAA Lc -105.6 Preferred for body text
Black text on #331729 1.29:1 Fails Lc 0.0 Not readable
#331729 text on white 16.21:1 AAA Lc 103.0 Preferred for body text
#331729 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5ED

    oklch(93.5% 0.018 342)

  3. Step 200

    200

    #EAD1DF

    oklch(88.5% 0.033 343)

  4. Step 300

    300

    #DEB1CC

    oklch(80.9% 0.063 341.9)

  5. Step 400

    400

    #CC87B2

    oklch(70.7% 0.101 342.1)

  6. Step 500

    500

    #BD689E

    oklch(63.1% 0.127 342.6)

  7. Step 600

    600

    #A84E89

    oklch(55.6% 0.138 342.5)

  8. Step 700

    700

    #903E74

    oklch(49.1% 0.129 342.7)

  9. Step 800

    800

    #75345F

    oklch(42.7% 0.107 342.2)

  10. Step 900

    900

    #5F2E4E

    oklch(37.8% 0.083 342.1)

  11. Step 950

    950 (this color)

    #331729

    oklch(25.2% 0.053 342.4)

Export this scale for Tailwind in the Tailwind colors tool

#331729 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)#191E2A0.055
Deuteranopia (no green cones)#2022280.050
Tritanopia (no blue cones)#36171E0.022
Achromatopsia (no color)#2020200.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #331729

    #331729

    oklch(25.2% 0.053 342.4)

  • #022A1A

    #022A1A

    oklch(25.3% 0.054 161.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331729

    #331729

    oklch(25.2% 0.053 342.4)

  • #2B1A34

    #2B1A34

    oklch(25.2% 0.053 313.2)

  • #37161B

    #37161B

    oklch(25.1% 0.053 12.2)

Open the analogous palette in the generator

Split complementary

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

  • #331729

    #331729

    oklch(25.2% 0.053 342.4)

  • #18270B

    #18270B

    oklch(25.1% 0.052 132.6)

  • #002928

    #002928

    oklch(25.4% 0.044 192.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331729

    #331729

    oklch(25.2% 0.053 342.4)

  • #272300

    #272300

    oklch(25.3% 0.053 103.1)

  • #002732

    #002732

    oklch(25.3% 0.046 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331729

    #331729

    oklch(25.2% 0.053 342.4)

  • #311D01

    #311D01

    oklch(25.1% 0.052 72.1)

  • #022A1A

    #022A1A

    oklch(25.3% 0.054 161.7)

  • #0D233B

    #0D233B

    oklch(25.2% 0.054 252.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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