#401A39

Closest named color: Aubergine (#3D0734). oklch(28.7% 0.075 334.8), rgb(64, 26, 57).

Aa

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

About this color

#401A39 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.075 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.041 away. White text reads best on it, at 14.73:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameAubergine (#3D0734)
Black text1.42:1
White text14.73:1

Values

HEX#401A39
RGBrgb(64, 26, 57)
HSLhsl(311, 42%, 18%)
OKLCHoklch(28.7% 0.075 334.8)

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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCEE6

    oklch(88.6% 0.048 335.7)

  4. Step 300

    300

    #E5ABD8

    oklch(80.9% 0.089 334.5)

  5. Step 400

    400

    #D67CC4

    oklch(70.7% 0.143 334.8)

  6. Step 500

    500

    #C857B4

    oklch(63.1% 0.18 334.9)

  7. Step 600

    600

    #B337A0

    oklch(55.5% 0.196 334.7)

  8. Step 700

    700

    #9A2889

    oklch(49.1% 0.183 334.8)

  9. Step 800

    800

    #7D236F

    oklch(42.6% 0.152 334.8)

  10. Step 900

    900

    #65235A

    oklch(37.6% 0.118 334.8)

  11. Step 950

    950 (this color)

    #401A39

    oklch(28.7% 0.075 334.8)

Export this scale for Tailwind in the Tailwind colors tool

#401A39 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)#1A243A0.076
Deuteranopia (no green cones)#252A380.068
Tritanopia (no blue cones)#431C260.038
Achromatopsia (no color)#2828280.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #401A39

    #401A39

    oklch(28.7% 0.075 334.8)

  • #00341A

    #00341A

    oklch(28.6% 0.07 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401A39

    #401A39

    oklch(28.7% 0.075 334.8)

  • #331F48

    #331F48

    oklch(28.6% 0.075 304.6)

  • #471826

    #471826

    oklch(28.7% 0.073 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #401A39

    #401A39

    oklch(28.7% 0.075 334.8)

  • #223000

    #223000

    oklch(28.6% 0.072 125.2)

  • #00322E

    #00322E

    oklch(28.5% 0.05 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401A39

    #401A39

    oklch(28.7% 0.075 334.8)

  • #342A00

    #342A00

    oklch(28.8% 0.059 95)

  • #00313A

    #00313A

    oklch(28.8% 0.051 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401A39

    #401A39

    oklch(28.7% 0.075 334.8)

  • #402200

    #402200

    oklch(28.6% 0.065 63.8)

  • #00341A

    #00341A

    oklch(28.6% 0.07 155.1)

  • #002D4B

    #002D4B

    oklch(28.7% 0.071 244.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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