#401B36

Closest named color: Aubergine (#3D0734). oklch(28.7% 0.07 338.6), rgb(64, 27, 54).

Aa

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

About this color

#401B36 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.070 and its hue 339°. 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.70:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.42:1
White text14.70:1

Values

HEX#401B36
RGBrgb(64, 27, 54)
HSLhsl(316, 41%, 18%)
OKLCHoklch(28.7% 0.07 338.6)

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 #401B36 14.70:1 AAA Lc -104.2 Preferred for body text
Black text on #401B36 1.42:1 Fails Lc 0.0 Not readable
#401B36 text on white 14.70:1 AAA Lc 101.3 Preferred for body text
#401B36 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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EFCEE3

    oklch(88.5% 0.046 339.7)

  4. Step 300

    300

    #E5ACD3

    oklch(80.9% 0.084 338.4)

  5. Step 400

    400

    #D57EBC

    oklch(70.6% 0.132 338.5)

  6. Step 500

    500

    #C85AAB

    oklch(63% 0.169 338.7)

  7. Step 600

    600

    #B33C97

    oklch(55.6% 0.183 338.4)

  8. Step 700

    700

    #9A2D80

    oklch(49.1% 0.17 338.9)

  9. Step 800

    800

    #7D2768

    oklch(42.7% 0.141 338.9)

  10. Step 900

    900

    #652555

    oklch(37.7% 0.111 338.5)

  11. Step 950

    950 (this color)

    #401B36

    oklch(28.7% 0.07 338.6)

Export this scale for Tailwind in the Tailwind colors tool

#401B36 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)#1C25370.073
Deuteranopia (no green cones)#272A350.064
Tritanopia (no blue cones)#431C260.032
Achromatopsia (no color)#2828280.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #401B36

    #401B36

    oklch(28.7% 0.07 338.6)

  • #00341E

    #00341E

    oklch(28.7% 0.066 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401B36

    #401B36

    oklch(28.7% 0.07 338.6)

  • #342045

    #342045

    oklch(28.7% 0.069 307.5)

  • #461923

    #461923

    oklch(28.6% 0.07 8.8)

Open the analogous palette in the generator

Split complementary

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

  • #401B36

    #401B36

    oklch(28.7% 0.07 338.6)

  • #203105

    #203105

    oklch(28.8% 0.07 128.7)

  • #00322F

    #00322F

    oklch(28.6% 0.05 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401B36

    #401B36

    oklch(28.7% 0.07 338.6)

  • #322A00

    #322A00

    oklch(28.5% 0.059 98)

  • #00303C

    #00303C

    oklch(28.6% 0.052 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401B36

    #401B36

    oklch(28.7% 0.07 338.6)

  • #3E2400

    #3E2400

    oklch(28.7% 0.062 69.6)

  • #00341E

    #00341E

    oklch(28.7% 0.066 158.9)

  • #072C4B

    #072C4B

    oklch(28.6% 0.07 248.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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