#33172A

Closest named color: Eggplant (#380835). oklch(25.3% 0.054 340.6), rgb(51, 23, 42).

Aa

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

About this color

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

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

Values

HEX#33172A
RGBrgb(51, 23, 42)
HSLhsl(319, 38%, 15%)
OKLCHoklch(25.3% 0.054 340.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 #33172A 16.19:1 AAA Lc -105.5 Preferred for body text
Black text on #33172A 1.29:1 Fails Lc 0.0 Not readable
#33172A text on white 16.19:1 AAA Lc 103.0 Preferred for body text
#33172A 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

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD1E0

    oklch(88.6% 0.034 341.1)

  4. Step 300

    300

    #DEB1CD

    oklch(80.9% 0.064 340.9)

  5. Step 400

    400

    #CC87B4

    oklch(70.7% 0.102 340.7)

  6. Step 500

    500

    #BD68A1

    oklch(63.2% 0.129 340.9)

  7. Step 600

    600

    #A84D8C

    oklch(55.6% 0.142 340.7)

  8. Step 700

    700

    #903E77

    oklch(49.2% 0.131 340.8)

  9. Step 800

    800

    #753461

    oklch(42.8% 0.108 340.7)

  10. Step 900

    900

    #5F2E4F

    oklch(37.8% 0.084 341.1)

  11. Step 950

    950 (this color)

    #33172A

    oklch(25.3% 0.054 340.6)

Export this scale for Tailwind in the Tailwind colors tool

#33172A 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)#181E2B0.056
Deuteranopia (no green cones)#2022290.050
Tritanopia (no blue cones)#36171E0.024
Achromatopsia (no color)#2121210.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #33172A

    #33172A

    oklch(25.3% 0.054 340.6)

  • #032A19

    #032A19

    oklch(25.3% 0.054 159.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #33172A

    #33172A

    oklch(25.3% 0.054 340.6)

  • #2A1A35

    #2A1A35

    oklch(25.2% 0.054 310.3)

  • #38161C

    #38161C

    oklch(25.3% 0.054 10.7)

Open the analogous palette in the generator

Split complementary

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

  • #33172A

    #33172A

    oklch(25.3% 0.054 340.6)

  • #192709

    #192709

    oklch(25.2% 0.053 130.5)

  • #002927

    #002927

    oklch(25.3% 0.044 189.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #33172A

    #33172A

    oklch(25.3% 0.054 340.6)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

  • #002732

    #002732

    oklch(25.3% 0.046 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #33172A

    #33172A

    oklch(25.3% 0.054 340.6)

  • #321D01

    #321D01

    oklch(25.3% 0.053 70.6)

  • #032A19

    #032A19

    oklch(25.3% 0.054 159.8)

  • #0C233B

    #0C233B

    oklch(25.2% 0.054 251.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #33172A 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.