#401D3E

Closest named color: Eggplant Purple (#430541). oklch(29.4% 0.074 329.4), rgb(64, 29, 62).

Aa

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

About this color

#401D3E is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.074 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.048 away. White text reads best on it, at 14.35:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.46:1
White text14.35:1

Values

HEX#401D3E
RGBrgb(64, 29, 62)
HSLhsl(303, 38%, 18%)
OKLCHoklch(29.4% 0.074 329.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 #401D3E 14.35:1 AAA Lc -103.8 Preferred for body text
Black text on #401D3E 1.46:1 Fails Lc 0.0 Not readable
#401D3E text on white 14.35:1 AAA Lc 100.9 Preferred for body text
#401D3E text on black 1.46: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCEE9

    oklch(88.5% 0.049 329.2)

  4. Step 300

    300

    #E1ADDC

    oklch(81% 0.086 329.6)

  5. Step 400

    400

    #D07FCB

    oklch(70.8% 0.14 329.1)

  6. Step 500

    500

    #C25ABD

    oklch(63.1% 0.179 329.3)

  7. Step 600

    600

    #AD3BA9

    oklch(55.5% 0.195 329.3)

  8. Step 700

    700

    #952C91

    oklch(49.2% 0.181 329.5)

  9. Step 800

    800

    #792776

    oklch(42.8% 0.15 329.3)

  10. Step 900

    900

    #62255F

    oklch(37.7% 0.117 329.6)

  11. Step 950

    950 (this color)

    #401D3E

    oklch(29.4% 0.074 329.4)

Export this scale for Tailwind in the Tailwind colors tool

#401D3E 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)#1B273F0.073
Deuteranopia (no green cones)#252C3D0.065
Tritanopia (no blue cones)#42202A0.041
Achromatopsia (no color)#2A2A2A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #401D3E

    #401D3E

    oklch(29.4% 0.074 329.4)

  • #083617

    #083617

    oklch(29.4% 0.073 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401D3E

    #401D3E

    oklch(29.4% 0.074 329.4)

  • #32224C

    #32224C

    oklch(29.4% 0.075 299.3)

  • #481A2B

    #481A2B

    oklch(29.4% 0.073 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #401D3E

    #401D3E

    oklch(29.4% 0.074 329.4)

  • #293100

    #293100

    oklch(29.5% 0.069 119.1)

  • #00352D

    #00352D

    oklch(29.5% 0.054 179.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401D3E

    #401D3E

    oklch(29.4% 0.074 329.4)

  • #382A00

    #382A00

    oklch(29.3% 0.06 89.1)

  • #00333A

    #00333A

    oklch(29.4% 0.051 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401D3E

    #401D3E

    oklch(29.4% 0.074 329.4)

  • #452200

    #452200

    oklch(29.4% 0.07 59)

  • #083617

    #083617

    oklch(29.4% 0.073 149.7)

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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