#401A34

Closest named color: Aubergine (#3D0734). oklch(28.4% 0.07 341), rgb(64, 26, 52).

Aa

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

About this color

#401A34 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.070 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.042 away. White text reads best on it, at 14.83:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.41:1
White text14.83:1

Values

HEX#401A34
RGBrgb(64, 26, 52)
HSLhsl(319, 42%, 18%)
OKLCHoklch(28.4% 0.07 341)

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 #401A34 14.83:1 AAA Lc -104.3 Preferred for body text
Black text on #401A34 1.41:1 Fails Lc 0.0 Not readable
#401A34 text on white 14.83:1 AAA Lc 101.4 Preferred for body text
#401A34 text on black 1.41: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

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #EFCEE2

    oklch(88.5% 0.045 341.1)

  4. Step 300

    300

    #E6ACD1

    oklch(80.9% 0.083 340.6)

  5. Step 400

    400

    #D77EB9

    oklch(70.7% 0.132 340.9)

  6. Step 500

    500

    #CA59A7

    oklch(63% 0.169 341.1)

  7. Step 600

    600

    #B53A93

    oklch(55.5% 0.185 340.7)

  8. Step 700

    700

    #9C2B7D

    oklch(49.1% 0.172 341)

  9. Step 800

    800

    #7F2666

    oklch(42.8% 0.142 340.9)

  10. Step 900

    900

    #662553

    oklch(37.7% 0.11 340.7)

  11. Step 950

    950 (this color)

    #401A34

    oklch(28.4% 0.07 341)

Export this scale for Tailwind in the Tailwind colors tool

#401A34 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)#1C24350.074
Deuteranopia (no green cones)#272A330.066
Tritanopia (no blue cones)#441B240.032
Achromatopsia (no color)#2828280.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #401A34

    #401A34

    oklch(28.4% 0.07 341)

  • #00331F

    #00331F

    oklch(28.3% 0.063 160.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401A34

    #401A34

    oklch(28.4% 0.07 341)

  • #351E43

    #351E43

    oklch(28.3% 0.071 311.3)

  • #461921

    #461921

    oklch(28.5% 0.069 11.7)

Open the analogous palette in the generator

Split complementary

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

  • #401A34

    #401A34

    oklch(28.4% 0.07 341)

  • #1D3006

    #1D3006

    oklch(28.3% 0.069 130.9)

  • #003130

    #003130

    oklch(28.3% 0.049 192.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401A34

    #401A34

    oklch(28.4% 0.07 341)

  • #302A00

    #302A00

    oklch(28.3% 0.059 101)

  • #002F3C

    #002F3C

    oklch(28.3% 0.052 222.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401A34

    #401A34

    oklch(28.4% 0.07 341)

  • #3C2400

    #3C2400

    oklch(28.4% 0.061 72.1)

  • #00331F

    #00331F

    oklch(28.3% 0.063 160.8)

  • #092B4B

    #092B4B

    oklch(28.4% 0.07 250.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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