#33172F

Closest named color: Eggplant (#380835). oklch(25.5% 0.059 332.7), rgb(51, 23, 47).

Aa

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

About this color

#33172F is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.059 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.038 away. White text reads best on it, at 16.09:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.059)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.30:1
White text16.09:1

Values

HEX#33172F
RGBrgb(51, 23, 47)
HSLhsl(309, 38%, 15%)
OKLCHoklch(25.5% 0.059 332.7)

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 #33172F 16.09:1 AAA Lc -105.5 Preferred for body text
Black text on #33172F 1.30:1 Fails Lc 0.0 Not readable
#33172F text on white 16.09:1 AAA Lc 102.9 Preferred for body text
#33172F text on black 1.30: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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #E9D0E4

    oklch(88.4% 0.038 332.6)

  4. Step 300

    300

    #DCB0D4

    oklch(80.8% 0.07 332.5)

  5. Step 400

    400

    #CA86BF

    oklch(70.7% 0.112 332.6)

  6. Step 500

    500

    #BB66AE

    oklch(63.2% 0.142 333)

  7. Step 600

    600

    #A64B9A

    oklch(55.7% 0.155 332.7)

  8. Step 700

    700

    #8E3B83

    oklch(49.1% 0.144 332.9)

  9. Step 800

    800

    #73326B

    oklch(42.7% 0.119 332.4)

  10. Step 900

    900

    #5D2C57

    oklch(37.6% 0.094 332)

  11. Step 950

    950 (this color)

    #33172F

    oklch(25.5% 0.059 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#33172F 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)#161F300.059
Deuteranopia (no green cones)#1E222E0.052
Tritanopia (no blue cones)#3519200.032
Achromatopsia (no color)#2121210.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #33172F

    #33172F

    oklch(25.5% 0.059 332.7)

  • #062B14

    #062B14

    oklch(25.6% 0.06 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #33172F

    #33172F

    oklch(25.5% 0.059 332.7)

  • #291B3A

    #291B3A

    oklch(25.6% 0.059 303.3)

  • #391520

    #391520

    oklch(25.5% 0.059 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #33172F

    #33172F

    oklch(25.5% 0.059 332.7)

  • #1E2702

    #1E2702

    oklch(25.5% 0.059 122.3)

  • #002A25

    #002A25

    oklch(25.6% 0.046 182.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #33172F

    #33172F

    oklch(25.5% 0.059 332.7)

  • #2C2200

    #2C2200

    oklch(25.6% 0.052 92.5)

  • #002830

    #002830

    oklch(25.5% 0.045 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #33172F

    #33172F

    oklch(25.5% 0.059 332.7)

  • #361B00

    #361B00

    oklch(25.4% 0.058 62.2)

  • #062B14

    #062B14

    oklch(25.6% 0.06 152.1)

  • #02253D

    #02253D

    oklch(25.5% 0.06 243.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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