#401737

Closest named color: Aubergine (#3D0734). oklch(28.1% 0.078 336.8), rgb(64, 23, 55).

Aa

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

About this color

#401737 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.078 and its hue 337°. 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.04:1.

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

Values

HEX#401737
RGBrgb(64, 23, 55)
HSLhsl(313, 47%, 17%)
OKLCHoklch(28.1% 0.078 336.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 #401737 15.04:1 AAA Lc -104.4 Preferred for body text
Black text on #401737 1.39:1 Fails Lc 0.0 Not readable
#401737 text on white 15.04:1 AAA Lc 101.6 Preferred for body text
#401737 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

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E8AAD7

    oklch(81% 0.093 336.7)

  5. Step 400

    400

    #DA7AC2

    oklch(70.8% 0.148 337.1)

  6. Step 500

    500

    #CD52B3

    oklch(63.1% 0.19 336.7)

  7. Step 600

    600

    #B8309E

    oklch(55.6% 0.206 336.9)

  8. Step 700

    700

    #9E2087

    oklch(49% 0.192 336.9)

  9. Step 800

    800

    #801E6E

    oklch(42.6% 0.159 336.6)

  10. Step 900

    900

    #682059

    oklch(37.7% 0.124 337)

  11. Step 950

    950 (this color)

    #401737

    oklch(28.1% 0.078 336.8)

Export this scale for Tailwind in the Tailwind colors tool

#401737 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)#1822380.082
Deuteranopia (no green cones)#2429360.073
Tritanopia (no blue cones)#4319240.038
Achromatopsia (no color)#2626260.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #401737

    #401737

    oklch(28.1% 0.078 336.8)

  • #00321B

    #00321B

    oklch(27.9% 0.066 157.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401737

    #401737

    oklch(28.1% 0.078 336.8)

  • #331C47

    #331C47

    oklch(28% 0.08 306.7)

  • #471422

    #471422

    oklch(28% 0.079 7)

Open the analogous palette in the generator

Split complementary

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

  • #401737

    #401737

    oklch(28.1% 0.078 336.8)

  • #1F2F00

    #1F2F00

    oklch(28% 0.072 127.2)

  • #00312D

    #00312D

    oklch(28.2% 0.049 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401737

    #401737

    oklch(28.1% 0.078 336.8)

  • #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.

  • #401737

    #401737

    oklch(28.1% 0.078 336.8)

  • #3D2200

    #3D2200

    oklch(28.1% 0.062 67.2)

  • #00321B

    #00321B

    oklch(27.9% 0.066 157.2)

  • #002B4B

    #002B4B

    oklch(28.1% 0.074 246.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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