#34172A

Closest named color: Eggplant (#380835). oklch(25.4% 0.055 341.9), rgb(52, 23, 42).

Aa

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

About this color

#34172A is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.055 and its hue 342°. 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.12:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.30:1
White text16.12:1

Values

HEX#34172A
RGBrgb(52, 23, 42)
HSLhsl(321, 39%, 15%)
OKLCHoklch(25.4% 0.055 341.9)

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 #34172A 16.12:1 AAA Lc -105.5 Preferred for body text
Black text on #34172A 1.30:1 Fails Lc 0.0 Not readable
#34172A text on white 16.12:1 AAA Lc 102.9 Preferred for body text
#34172A 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5ED

    oklch(93.5% 0.018 342)

  3. Step 200

    200

    #EBD0E0

    oklch(88.5% 0.037 341.5)

  4. Step 300

    300

    #DFB1CC

    oklch(81% 0.064 342.6)

  5. Step 400

    400

    #CD86B3

    oklch(70.6% 0.104 341.6)

  6. Step 500

    500

    #BE66A0

    oklch(63% 0.133 341.6)

  7. Step 600

    600

    #AA4C8B

    oklch(55.7% 0.144 342)

  8. Step 700

    700

    #913C76

    oklch(49% 0.134 341.6)

  9. Step 800

    800

    #763360

    oklch(42.8% 0.11 341.8)

  10. Step 900

    900

    #602D4E

    oklch(37.7% 0.086 342.6)

  11. Step 950

    950 (this color)

    #34172A

    oklch(25.4% 0.055 341.9)

Export this scale for Tailwind in the Tailwind colors tool

#34172A 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)#191E2B0.057
Deuteranopia (no green cones)#2023290.053
Tritanopia (no blue cones)#37171E0.024
Achromatopsia (no color)#2121210.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #34172A

    #34172A

    oklch(25.4% 0.055 341.9)

  • #012B1A

    #012B1A

    oklch(25.6% 0.056 161.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34172A

    #34172A

    oklch(25.4% 0.055 341.9)

  • #2B1A36

    #2B1A36

    oklch(25.4% 0.056 310.9)

  • #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°).

  • #34172A

    #34172A

    oklch(25.4% 0.055 341.9)

  • #19280A

    #19280A

    oklch(25.5% 0.054 131.6)

  • #002928

    #002928

    oklch(25.4% 0.044 192.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34172A

    #34172A

    oklch(25.4% 0.055 341.9)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

  • #002733

    #002733

    oklch(25.3% 0.047 223.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34172A

    #34172A

    oklch(25.4% 0.055 341.9)

  • #321D00

    #321D00

    oklch(25.2% 0.054 71.6)

  • #012B1A

    #012B1A

    oklch(25.6% 0.056 161.1)

  • #0C243C

    #0C243C

    oklch(25.5% 0.054 250.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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