#401D34

Closest named color: Aubergine (#3D0734). oklch(28.9% 0.064 341.9), rgb(64, 29, 52).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.44:1
White text14.54:1

Values

HEX#401D34
RGBrgb(64, 29, 52)
HSLhsl(321, 38%, 18%)
OKLCHoklch(28.9% 0.064 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 #401D34 14.54:1 AAA Lc -104.1 Preferred for body text
Black text on #401D34 1.44:1 Fails Lc 0.0 Not readable
#401D34 text on white 14.54:1 AAA Lc 101.1 Preferred for body text
#401D34 text on black 1.44: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

    #E4AECE

    oklch(81% 0.075 342.6)

  5. Step 400

    400

    #D481B6

    oklch(70.7% 0.122 341.9)

  6. Step 500

    500

    #C65FA4

    oklch(63.2% 0.154 341.7)

  7. Step 600

    600

    #B1428F

    oklch(55.6% 0.168 341.6)

  8. Step 700

    700

    #983379

    oklch(49.1% 0.156 342)

  9. Step 800

    800

    #7C2B63

    oklch(42.8% 0.131 341.8)

  10. Step 900

    900

    #642850

    oklch(37.7% 0.101 342.3)

  11. Step 950

    950 (this color)

    #401D34

    oklch(28.9% 0.064 341.9)

Export this scale for Tailwind in the Tailwind colors tool

#401D34 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)#1F25350.067
Deuteranopia (no green cones)#282B330.061
Tritanopia (no blue cones)#441D260.027
Achromatopsia (no color)#2929290.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #401D34

    #401D34

    oklch(28.9% 0.064 341.9)

  • #003521

    #003521

    oklch(29.1% 0.064 161.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401D34

    #401D34

    oklch(28.9% 0.064 341.9)

  • #362142

    #362142

    oklch(29% 0.064 312.3)

  • #451C23

    #451C23

    oklch(28.9% 0.063 11.2)

Open the analogous palette in the generator

Split complementary

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

  • #401D34

    #401D34

    oklch(28.9% 0.064 341.9)

  • #1F310C

    #1F310C

    oklch(28.8% 0.064 131.4)

  • #003331

    #003331

    oklch(29% 0.05 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401D34

    #401D34

    oklch(28.9% 0.064 341.9)

  • #312C00

    #312C00

    oklch(28.9% 0.061 102.8)

  • #00313E

    #00313E

    oklch(29% 0.053 221.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401D34

    #401D34

    oklch(28.9% 0.064 341.9)

  • #3E2500

    #3E2500

    oklch(28.9% 0.062 71.5)

  • #003521

    #003521

    oklch(29.1% 0.064 161.5)

  • #102C4A

    #102C4A

    oklch(28.9% 0.065 252.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401D34 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.