#401D65

Closest named color: Royal Purple (#4B006E). oklch(32.2% 0.121 302.3), rgb(64, 29, 101).

Aa

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

About this color

#401D65 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.121 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.044 away. White text reads best on it, at 13.27:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.58:1
White text13.27:1

Values

HEX#401D65
RGBrgb(64, 29, 101)
HSLhsl(269, 55%, 25%)
OKLCHoklch(32.2% 0.121 302.3)

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 #401D65 13.27:1 AAA Lc -102.4 Preferred for body text
Black text on #401D65 1.58:1 Fails Lc 0.0 Not readable
#401D65 text on white 13.27:1 AAA Lc 99.2 Preferred for body text
#401D65 text on black 1.58: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300

    #CFAEFF

    oklch(80.8% 0.117 302.6)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A854FF

    oklch(63.1% 0.242 302.4)

  7. Step 600

    600

    #9800FC

    oklch(55.6% 0.293 302.2)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #6A00B1

    oklch(42.7% 0.225 302.5)

  10. Step 900

    900

    #570992

    oklch(37.6% 0.191 302.3)

  11. Step 950

    950 (this color)

    #401D65

    oklch(32.2% 0.121 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#401D65 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)#002F670.091
Deuteranopia (no green cones)#002F630.092
Tritanopia (no blue cones)#382D3E0.089
Achromatopsia (no color)#3030300.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #401D65

    #401D65

    oklch(32.2% 0.121 302.3)

  • #2C3900

    #2C3900

    oklch(32.1% 0.079 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401D65

    #401D65

    oklch(32.2% 0.121 302.3)

  • #212970

    #212970

    oklch(32.2% 0.122 272.6)

  • #54124E

    #54124E

    oklch(32.2% 0.121 332)

Open the analogous palette in the generator

Split complementary

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

  • #401D65

    #401D65

    oklch(32.2% 0.121 302.3)

  • #3F3200

    #3F3200

    oklch(32.2% 0.066 92.9)

  • #003F1C

    #003F1C

    oklch(32.2% 0.085 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401D65

    #401D65

    oklch(32.2% 0.121 302.3)

  • #4D2900

    #4D2900

    oklch(32.1% 0.074 62.4)

  • #003D36

    #003D36

    oklch(32.3% 0.058 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401D65

    #401D65

    oklch(32.2% 0.121 302.3)

  • #630C00

    #630C00

    oklch(32.2% 0.121 32.2)

  • #2C3900

    #2C3900

    oklch(32.1% 0.079 122.7)

  • #003B44

    #003B44

    oklch(32.3% 0.056 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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