#3A1731

Closest named color: Aubergine (#3D0734). oklch(26.8% 0.067 338.1), rgb(58, 23, 49).

Aa

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

About this color

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

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

Values

HEX#3A1731
RGBrgb(58, 23, 49)
HSLhsl(315, 43%, 16%)
OKLCHoklch(26.8% 0.067 338.1)

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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E3ADD3

    oklch(80.9% 0.08 337.5)

  5. Step 400

    400

    #D380BC

    oklch(70.7% 0.127 337.9)

  6. Step 500

    500

    #C65DAB

    oklch(63.2% 0.163 338.2)

  7. Step 600

    600

    #B13F96

    oklch(55.6% 0.177 338.3)

  8. Step 700

    700

    #983080

    oklch(49.1% 0.165 338.3)

  9. Step 800

    800

    #7B2968

    oklch(42.6% 0.137 338.1)

  10. Step 900

    900

    #642755

    oklch(37.8% 0.107 338.1)

  11. Step 950

    950 (this color)

    #3A1731

    oklch(26.8% 0.067 338.1)

Export this scale for Tailwind in the Tailwind colors tool

#3A1731 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)#1820320.070
Deuteranopia (no green cones)#2226300.063
Tritanopia (no blue cones)#3D18210.032
Achromatopsia (no color)#2424240.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1731

    #3A1731

    oklch(26.8% 0.067 338.1)

  • #002F1A

    #002F1A

    oklch(26.9% 0.063 158.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1731

    #3A1731

    oklch(26.8% 0.067 338.1)

  • #2F1B3F

    #2F1B3F

    oklch(26.7% 0.069 308.1)

  • #40151F

    #40151F

    oklch(26.7% 0.068 8.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A1731

    #3A1731

    oklch(26.8% 0.067 338.1)

  • #1C2C02

    #1C2C02

    oklch(26.9% 0.068 128.4)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1731

    #3A1731

    oklch(26.8% 0.067 338.1)

  • #2D2600

    #2D2600

    oklch(26.8% 0.056 98.7)

  • #002B35

    #002B35

    oklch(26.7% 0.048 217.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1731

    #3A1731

    oklch(26.8% 0.067 338.1)

  • #381F00

    #381F00

    oklch(26.6% 0.059 67.6)

  • #002F1A

    #002F1A

    oklch(26.9% 0.063 158.2)

  • #042745

    #042745

    oklch(26.7% 0.068 249.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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