#3A172E

Closest named color: Aubergine (#3D0734). oklch(26.6% 0.065 342.3), rgb(58, 23, 46).

Aa

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

About this color

#3A172E is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.065 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.037 away. White text reads best on it, at 15.64:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.34:1
White text15.64:1

Values

HEX#3A172E
RGBrgb(58, 23, 46)
HSLhsl(321, 43%, 16%)
OKLCHoklch(26.6% 0.065 342.3)

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 #3A172E 15.64:1 AAA Lc -105.0 Preferred for body text
Black text on #3A172E 1.34:1 Fails Lc 0.0 Not readable
#3A172E text on white 15.64:1 AAA Lc 102.3 Preferred for body text
#3A172E text on black 1.34: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECFE1

    oklch(88.6% 0.042 342.2)

  4. Step 300

    300

    #E4ADCE

    oklch(80.8% 0.077 342.3)

  5. Step 400

    400

    #D581B6

    oklch(70.8% 0.123 342.3)

  6. Step 500

    500

    #C75EA3

    oklch(63.1% 0.156 342.4)

  7. Step 600

    600

    #B2418E

    oklch(55.6% 0.17 342.4)

  8. Step 700

    700

    #993279

    oklch(49.2% 0.158 342.3)

  9. Step 800

    800

    #7C2A62

    oklch(42.6% 0.131 342.4)

  10. Step 900

    900

    #642850

    oklch(37.7% 0.101 342.3)

  11. Step 950

    950 (this color)

    #3A172E

    oklch(26.6% 0.065 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A172E 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)#19202F0.069
Deuteranopia (no green cones)#23252D0.061
Tritanopia (no blue cones)#3E17200.028
Achromatopsia (no color)#2323230.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A172E

    #3A172E

    oklch(26.6% 0.065 342.3)

  • #002E1D

    #002E1D

    oklch(26.6% 0.058 162.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A172E

    #3A172E

    oklch(26.6% 0.065 342.3)

  • #301B3C

    #301B3C

    oklch(26.6% 0.065 312.1)

  • #3F161D

    #3F161D

    oklch(26.6% 0.064 12)

Open the analogous palette in the generator

Split complementary

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

  • #3A172E

    #3A172E

    oklch(26.6% 0.065 342.3)

  • #192C06

    #192C06

    oklch(26.7% 0.065 132.3)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A172E

    #3A172E

    oklch(26.6% 0.065 342.3)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #002A37

    #002A37

    oklch(26.5% 0.05 224.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A172E

    #3A172E

    oklch(26.6% 0.065 342.3)

  • #362000

    #362000

    oklch(26.6% 0.057 72.2)

  • #002E1D

    #002E1D

    oklch(26.6% 0.058 162.6)

  • #0A2644

    #0A2644

    oklch(26.6% 0.065 252.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A172E 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.