#401B37

Closest named color: Aubergine (#3D0734). oklch(28.7% 0.071 337.4), rgb(64, 27, 55).

Aa

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

About this color

#401B37 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.071 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.044 away. White text reads best on it, at 14.68:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.42:1
White text14.68:1

Values

HEX#401B37
RGBrgb(64, 27, 55)
HSLhsl(315, 41%, 18%)
OKLCHoklch(28.7% 0.071 337.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 #401B37 14.68:1 AAA Lc -104.2 Preferred for body text
Black text on #401B37 1.42:1 Fails Lc 0.0 Not readable
#401B37 text on white 14.68:1 AAA Lc 101.2 Preferred for body text
#401B37 text on black 1.42: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

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE4

    oklch(88.5% 0.046 337.4)

  4. Step 300

    300

    #E5ACD4

    oklch(80.9% 0.084 337.6)

  5. Step 400

    400

    #D57EBE

    oklch(70.7% 0.134 337.5)

  6. Step 500

    500

    #C85AAE

    oklch(63.2% 0.171 337.4)

  7. Step 600

    600

    #B33B99

    oklch(55.6% 0.186 337.6)

  8. Step 700

    700

    #992C83

    oklch(49% 0.173 337.1)

  9. Step 800

    800

    #7D266A

    oklch(42.7% 0.144 337.7)

  10. Step 900

    900

    #652556

    oklch(37.7% 0.112 337.8)

  11. Step 950

    950 (this color)

    #401B37

    oklch(28.7% 0.071 337.4)

Export this scale for Tailwind in the Tailwind colors tool

#401B37 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)#1C25380.073
Deuteranopia (no green cones)#262A360.065
Tritanopia (no blue cones)#431C260.033
Achromatopsia (no color)#2828280.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #401B37

    #401B37

    oklch(28.7% 0.071 337.4)

  • #00341D

    #00341D

    oklch(28.6% 0.067 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401B37

    #401B37

    oklch(28.7% 0.071 337.4)

  • #342045

    #342045

    oklch(28.7% 0.069 307.5)

  • #471924

    #471924

    oklch(28.8% 0.071 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #401B37

    #401B37

    oklch(28.7% 0.071 337.4)

  • #213103

    #213103

    oklch(28.8% 0.071 127.4)

  • #00322F

    #00322F

    oklch(28.6% 0.05 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401B37

    #401B37

    oklch(28.7% 0.071 337.4)

  • #332A00

    #332A00

    oklch(28.6% 0.059 96.5)

  • #00313B

    #00313B

    oklch(28.8% 0.051 215.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401B37

    #401B37

    oklch(28.7% 0.071 337.4)

  • #3F2300

    #3F2300

    oklch(28.6% 0.063 66.7)

  • #00341D

    #00341D

    oklch(28.6% 0.067 157.9)

  • #052D4B

    #052D4B

    oklch(28.8% 0.069 246.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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