#34172E

Closest named color: Eggplant (#380835). oklch(25.6% 0.059 335.4), rgb(52, 23, 46).

Aa

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

About this color

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

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

Values

HEX#34172E
RGBrgb(52, 23, 46)
HSLhsl(312, 39%, 15%)
OKLCHoklch(25.6% 0.059 335.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 #34172E 16.05:1 AAA Lc -105.4 Preferred for body text
Black text on #34172E 1.30:1 Fails Lc 0.0 Not readable
#34172E text on white 16.05:1 AAA Lc 102.8 Preferred for body text
#34172E 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EAD0E3

    oklch(88.5% 0.038 335.4)

  4. Step 300

    300

    #DEB0D2

    oklch(80.9% 0.07 335.7)

  5. Step 400

    400

    #CC85BC

    oklch(70.7% 0.112 335.3)

  6. Step 500

    500

    #BD65AB

    oklch(63.1% 0.142 335.3)

  7. Step 600

    600

    #A84A96

    oklch(55.6% 0.154 335.4)

  8. Step 700

    700

    #903B80

    oklch(49.2% 0.143 335.4)

  9. Step 800

    800

    #753168

    oklch(42.7% 0.119 335.4)

  10. Step 900

    900

    #5F2C54

    oklch(37.7% 0.092 336.1)

  11. Step 950

    950 (this color)

    #34172E

    oklch(25.6% 0.059 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#34172E 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)#171F2F0.060
Deuteranopia (no green cones)#1F232D0.054
Tritanopia (no blue cones)#3718200.029
Achromatopsia (no color)#2121210.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #34172E

    #34172E

    oklch(25.6% 0.059 335.4)

  • #042B16

    #042B16

    oklch(25.6% 0.058 155)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34172E

    #34172E

    oklch(25.6% 0.059 335.4)

  • #2A1B39

    #2A1B39

    oklch(25.6% 0.058 305.8)

  • #3A151F

    #3A151F

    oklch(25.6% 0.06 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #34172E

    #34172E

    oklch(25.6% 0.059 335.4)

  • #1C2804

    #1C2804

    oklch(25.7% 0.059 126.1)

  • #002A26

    #002A26

    oklch(25.6% 0.045 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34172E

    #34172E

    oklch(25.6% 0.059 335.4)

  • #2B2300

    #2B2300

    oklch(25.8% 0.053 96.3)

  • #002831

    #002831

    oklch(25.5% 0.046 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34172E

    #34172E

    oklch(25.6% 0.059 335.4)

  • #351C00

    #351C00

    oklch(25.5% 0.057 65.4)

  • #042B16

    #042B16

    oklch(25.6% 0.058 155)

  • #05253D

    #05253D

    oklch(25.6% 0.058 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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