#401A35

Closest named color: Aubergine (#3D0734). oklch(28.4% 0.071 339.7), rgb(64, 26, 53).

Aa

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

About this color

#401A35 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.071 and its hue 340°. 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.81:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.41:1
White text14.81:1

Values

HEX#401A35
RGBrgb(64, 26, 53)
HSLhsl(317, 42%, 18%)
OKLCHoklch(28.4% 0.071 339.7)

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

    #EFCEE3

    oklch(88.5% 0.046 339.7)

  4. Step 300

    300

    #E6ACD2

    oklch(80.9% 0.084 339.8)

  5. Step 400

    400

    #D77DBB

    oklch(70.6% 0.135 339.7)

  6. Step 500

    500

    #CA59AA

    oklch(63.1% 0.171 339.8)

  7. Step 600

    600

    #B53A95

    oklch(55.6% 0.186 339.9)

  8. Step 700

    700

    #9B2B7F

    oklch(49.1% 0.173 339.7)

  9. Step 800

    800

    #7E2567

    oklch(42.6% 0.144 339.8)

  10. Step 900

    900

    #662454

    oklch(37.6% 0.113 339.8)

  11. Step 950

    950 (this color)

    #401A35

    oklch(28.4% 0.071 339.7)

Export this scale for Tailwind in the Tailwind colors tool

#401A35 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)#1C24360.074
Deuteranopia (no green cones)#262A340.067
Tritanopia (no blue cones)#441B250.032
Achromatopsia (no color)#2828280.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #401A35

    #401A35

    oklch(28.4% 0.071 339.7)

  • #00331E

    #00331E

    oklch(28.3% 0.064 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401A35

    #401A35

    oklch(28.4% 0.071 339.7)

  • #341F44

    #341F44

    oklch(28.5% 0.07 308.8)

  • #461822

    #461822

    oklch(28.4% 0.071 9.4)

Open the analogous palette in the generator

Split complementary

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

  • #401A35

    #401A35

    oklch(28.4% 0.071 339.7)

  • #1E3004

    #1E3004

    oklch(28.3% 0.07 129.6)

  • #00322F

    #00322F

    oklch(28.6% 0.05 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401A35

    #401A35

    oklch(28.4% 0.071 339.7)

  • #312A00

    #312A00

    oklch(28.4% 0.059 99.5)

  • #00303B

    #00303B

    oklch(28.5% 0.051 218)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401A35

    #401A35

    oklch(28.4% 0.071 339.7)

  • #3D2300

    #3D2300

    oklch(28.3% 0.062 69)

  • #00331E

    #00331E

    oklch(28.3% 0.064 159.6)

  • #072B4B

    #072B4B

    oklch(28.3% 0.071 249.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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