#401C3F

Closest named color: Eggplant Purple (#430541). oklch(29.3% 0.077 328.4), rgb(64, 28, 63).

Aa

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

About this color

#401C3F is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.077 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.044 away. White text reads best on it, at 14.42:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.45:1
White text14.42:1

Values

HEX#401C3F
RGBrgb(64, 28, 63)
HSLhsl(302, 39%, 18%)
OKLCHoklch(29.3% 0.077 328.4)

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 #401C3F 14.42:1 AAA Lc -103.9 Preferred for body text
Black text on #401C3F 1.45:1 Fails Lc 0.0 Not readable
#401C3F text on white 14.42:1 AAA Lc 100.9 Preferred for body text
#401C3F text on black 1.45: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEA

    oklch(88.5% 0.05 328.1)

  4. Step 300

    300

    #E1ACDE

    oklch(80.9% 0.09 328.2)

  5. Step 400

    400

    #D17DCE

    oklch(70.7% 0.146 328.3)

  6. Step 500

    500

    #C358C1

    oklch(63.1% 0.186 328.2)

  7. Step 600

    600

    #AE38AD

    oklch(55.6% 0.202 328.2)

  8. Step 700

    700

    #952994

    oklch(49.1% 0.187 328.4)

  9. Step 800

    800

    #792478

    oklch(42.6% 0.155 328.4)

  10. Step 900

    900

    #622461

    oklch(37.7% 0.121 328.3)

  11. Step 950

    950 (this color)

    #401C3F

    oklch(29.3% 0.077 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#401C3F 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)#1927400.076
Deuteranopia (no green cones)#242B3E0.067
Tritanopia (no blue cones)#42202A0.044
Achromatopsia (no color)#2A2A2A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #401C3F

    #401C3F

    oklch(29.3% 0.077 328.4)

  • #073614

    #073614

    oklch(29.3% 0.077 148.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401C3F

    #401C3F

    oklch(29.3% 0.077 328.4)

  • #31224D

    #31224D

    oklch(29.3% 0.077 297.6)

  • #49192C

    #49192C

    oklch(29.4% 0.076 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #401C3F

    #401C3F

    oklch(29.3% 0.077 328.4)

  • #293000

    #293000

    oklch(29.2% 0.068 118.1)

  • #00352C

    #00352C

    oklch(29.4% 0.054 177.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401C3F

    #401C3F

    oklch(29.3% 0.077 328.4)

  • #382A00

    #382A00

    oklch(29.3% 0.06 89.1)

  • #003339

    #003339

    oklch(29.4% 0.05 207.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401C3F

    #401C3F

    oklch(29.3% 0.077 328.4)

  • #452200

    #452200

    oklch(29.4% 0.07 59)

  • #073614

    #073614

    oklch(29.3% 0.077 148.2)

  • #003049

    #003049

    oklch(29.4% 0.066 238.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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