#401332

Closest named color: Aubergine (#3D0734). oklch(27.2% 0.081 341.8), rgb(64, 19, 50).

Aa

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

About this color

#401332 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.081 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.027 away. White text reads best on it, at 15.47:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.35:1
White text15.47:1

Values

HEX#401332
RGBrgb(64, 19, 50)
HSLhsl(319, 54%, 16%)
OKLCHoklch(27.2% 0.081 341.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 #401332 15.47:1 AAA Lc -104.7 Preferred for body text
Black text on #401332 1.35:1 Fails Lc 0.0 Not readable
#401332 text on white 15.47:1 AAA Lc 102.0 Preferred for body text
#401332 text on black 1.35: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F3CCE3

    oklch(88.5% 0.053 342)

  4. Step 300

    300

    #ECA8D2

    oklch(80.9% 0.096 341.9)

  5. Step 400

    400

    #E076BC

    oklch(70.7% 0.155 341.7)

  6. Step 500

    500

    #D44DAB

    oklch(63.2% 0.197 341.7)

  7. Step 600

    600

    #BF2696

    oklch(55.6% 0.215 341.7)

  8. Step 700

    700

    #A41580

    oklch(49.1% 0.199 341.6)

  9. Step 800

    800

    #861768

    oklch(42.8% 0.166 341.9)

  10. Step 900

    900

    #6C1C54

    oklch(37.7% 0.129 342.3)

  11. Step 950

    950 (this color)

    #401332

    oklch(27.2% 0.081 341.8)

Export this scale for Tailwind in the Tailwind colors tool

#401332 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)#1620330.088
Deuteranopia (no green cones)#2327310.078
Tritanopia (no blue cones)#4413200.035
Achromatopsia (no color)#2424240.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #401332

    #401332

    oklch(27.2% 0.081 341.8)

  • #00301E

    #00301E

    oklch(27.3% 0.06 162.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401332

    #401332

    oklch(27.2% 0.081 341.8)

  • #341843

    #341843

    oklch(27.1% 0.082 312.2)

  • #46111C

    #46111C

    oklch(27.2% 0.081 12.1)

Open the analogous palette in the generator

Split complementary

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

  • #401332

    #401332

    oklch(27.2% 0.081 341.8)

  • #182E00

    #182E00

    oklch(27.2% 0.076 132.1)

  • #002E2D

    #002E2D

    oklch(27.2% 0.047 192.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401332

    #401332

    oklch(27.2% 0.081 341.8)

  • #2D2800

    #2D2800

    oklch(27.4% 0.057 102.2)

  • #002C38

    #002C38

    oklch(27.2% 0.05 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401332

    #401332

    oklch(27.2% 0.081 341.8)

  • #382100

    #382100

    oklch(27.1% 0.058 71.5)

  • #00301E

    #00301E

    oklch(27.3% 0.06 162.1)

  • #00274D

    #00274D

    oklch(27.2% 0.082 252.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401332 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.