#401D45

Closest named color: Deep Violet (#490648). oklch(29.8% 0.082 322.5), rgb(64, 29, 69).

Aa

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

About this color

#401D45 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.082 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.044 away. White text reads best on it, at 14.19:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.47:1
White text14.19:1

Values

HEX#401D45
RGBrgb(64, 29, 69)
HSLhsl(293, 41%, 19%)
OKLCHoklch(29.8% 0.082 322.5)

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 #401D45 14.19:1 AAA Lc -103.7 Preferred for body text
Black text on #401D45 1.47:1 Fails Lc 0.0 Not readable
#401D45 text on white 14.19:1 AAA Lc 100.6 Preferred for body text
#401D45 text on black 1.47: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEE

    oklch(88.5% 0.053 323.1)

  4. Step 300

    300

    #DFACE6

    oklch(81% 0.097 322.4)

  5. Step 400

    400

    #CD7DD9

    oklch(70.7% 0.155 322.2)

  6. Step 500

    500

    #BF57CE

    oklch(63.2% 0.197 322.5)

  7. Step 600

    600

    #AA35BB

    oklch(55.6% 0.215 322.3)

  8. Step 700

    700

    #9226A1

    oklch(49.2% 0.2 322.5)

  9. Step 800

    800

    #772282

    oklch(42.7% 0.166 322.9)

  10. Step 900

    900

    #602369

    oklch(37.8% 0.129 322.3)

  11. Step 950

    950 (this color)

    #401D45

    oklch(29.8% 0.082 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#401D45 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)#1728460.077
Deuteranopia (no green cones)#222C440.068
Tritanopia (no blue cones)#41222E0.048
Achromatopsia (no color)#2B2B2B0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #401D45

    #401D45

    oklch(29.8% 0.082 322.5)

  • #0F370D

    #0F370D

    oklch(29.8% 0.082 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401D45

    #401D45

    oklch(29.8% 0.082 322.5)

  • #2F2452

    #2F2452

    oklch(29.9% 0.081 291.8)

  • #4B1931

    #4B1931

    oklch(30% 0.081 353.3)

Open the analogous palette in the generator

Split complementary

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

  • #401D45

    #401D45

    oklch(29.8% 0.082 322.5)

  • #2E3000

    #2E3000

    oklch(29.7% 0.066 112.3)

  • #00372A

    #00372A

    oklch(30% 0.058 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401D45

    #401D45

    oklch(29.8% 0.082 322.5)

  • #3C2A00

    #3C2A00

    oklch(29.8% 0.061 83.4)

  • #003538

    #003538

    oklch(29.9% 0.051 200.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401D45

    #401D45

    oklch(29.8% 0.082 322.5)

  • #4A2000

    #4A2000

    oklch(29.9% 0.076 52.4)

  • #0F370D

    #0F370D

    oklch(29.8% 0.082 142.5)

  • #003247

    #003247

    oklch(29.8% 0.062 233)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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