#401736

Closest named color: Aubergine (#3D0734). oklch(28% 0.078 337.9), rgb(64, 23, 54).

Aa

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

About this color

#401736 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.078 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.034 away. White text reads best on it, at 15.06:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.39:1
White text15.06:1

Values

HEX#401736
RGBrgb(64, 23, 54)
HSLhsl(315, 47%, 17%)
OKLCHoklch(28% 0.078 337.9)

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 #401736 15.06:1 AAA Lc -104.4 Preferred for body text
Black text on #401736 1.39:1 Fails Lc 0.0 Not readable
#401736 text on white 15.06:1 AAA Lc 101.6 Preferred for body text
#401736 text on black 1.39: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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E3F0

    oklch(93.5% 0.027 337.1)

  3. Step 200

    200

    #F1CDE5

    oklch(88.6% 0.051 338.4)

  4. Step 300

    300

    #E8AAD5

    oklch(80.9% 0.091 338.2)

  5. Step 400

    400

    #DA7AC0

    oklch(70.7% 0.146 338.1)

  6. Step 500

    500

    #CD53B0

    oklch(63.1% 0.187 337.9)

  7. Step 600

    600

    #B8319C

    oklch(55.6% 0.203 337.7)

  8. Step 700

    700

    #9F2185

    oklch(49.2% 0.19 338.1)

  9. Step 800

    800

    #811F6C

    oklch(42.8% 0.157 338.1)

  10. Step 900

    900

    #682158

    oklch(37.8% 0.122 337.8)

  11. Step 950

    950 (this color)

    #401736

    oklch(28% 0.078 337.9)

Export this scale for Tailwind in the Tailwind colors tool

#401736 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)#1822370.082
Deuteranopia (no green cones)#2429350.073
Tritanopia (no blue cones)#4418240.036
Achromatopsia (no color)#2626260.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #401736

    #401736

    oklch(28% 0.078 337.9)

  • #00321C

    #00321C

    oklch(27.9% 0.065 158.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401736

    #401736

    oklch(28% 0.078 337.9)

  • #331C46

    #331C46

    oklch(27.9% 0.078 307.4)

  • #471522

    #471522

    oklch(28.1% 0.077 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #401736

    #401736

    oklch(28% 0.078 337.9)

  • #1E2F00

    #1E2F00

    oklch(28% 0.073 128)

  • #00302D

    #00302D

    oklch(27.9% 0.048 188.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401736

    #401736

    oklch(28% 0.078 337.9)

  • #312900

    #312900

    oklch(28.1% 0.058 97.8)

  • #002F39

    #002F39

    oklch(28.1% 0.05 216.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401736

    #401736

    oklch(28% 0.078 337.9)

  • #3C2200

    #3C2200

    oklch(28% 0.061 68.4)

  • #00321C

    #00321C

    oklch(27.9% 0.065 158.2)

  • #002A4C

    #002A4C

    oklch(27.9% 0.076 248.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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