#400E36

Closest named color: Aubergine (#3D0734). oklch(26.8% 0.093 336.9), rgb(64, 14, 54).

Aa

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

About this color

#400E36 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.093 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.015 away. White text reads best on it, at 15.74:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.33:1
White text15.74:1

Values

HEX#400E36
RGBrgb(64, 14, 54)
HSLhsl(312, 64%, 15%)
OKLCHoklch(26.8% 0.093 336.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 #400E36 15.74:1 AAA Lc -104.9 Preferred for body text
Black text on #400E36 1.33:1 Fails Lc 0.0 Not readable
#400E36 text on white 15.74:1 AAA Lc 102.1 Preferred for body text
#400E36 text on black 1.33: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F9E2F2

    oklch(93.6% 0.033 336.7)

  3. Step 200

    200

    #F5CAE8

    oklch(88.5% 0.062 337.2)

  4. Step 300

    300

    #EFA5DB

    oklch(81% 0.111 336.9)

  5. Step 400

    400

    #E370C8

    oklch(70.7% 0.176 337)

  6. Step 500

    500

    #D740BA

    oklch(63% 0.225 336.7)

  7. Step 600

    600

    #C301A6

    oklch(55.7% 0.245 336.9)

  8. Step 700

    700

    #A5008C

    oklch(49.2% 0.217 337)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900

    #6E145D

    oklch(37.8% 0.146 337.2)

  11. Step 950

    950 (this color)

    #400E36

    oklch(26.8% 0.093 336.9)

Export this scale for Tailwind in the Tailwind colors tool

#400E36 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)#0F1E370.101
Deuteranopia (no green cones)#2026350.087
Tritanopia (no blue cones)#4411200.046
Achromatopsia (no color)#2323230.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #400E36

    #400E36

    oklch(26.8% 0.093 336.9)

  • #002F19

    #002F19

    oklch(26.9% 0.064 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400E36

    #400E36

    oklch(26.8% 0.093 336.9)

  • #321548

    #321548

    oklch(26.7% 0.093 307.4)

  • #48091E

    #48091E

    oklch(26.8% 0.093 6.9)

Open the analogous palette in the generator

Split complementary

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

  • #400E36

    #400E36

    oklch(26.8% 0.093 336.9)

  • #1D2C00

    #1D2C00

    oklch(26.9% 0.069 127)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400E36

    #400E36

    oklch(26.8% 0.093 336.9)

  • #2E2600

    #2E2600

    oklch(27% 0.056 97.1)

  • #002B35

    #002B35

    oklch(26.7% 0.048 217.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400E36

    #400E36

    oklch(26.8% 0.093 336.9)

  • #391F00

    #391F00

    oklch(26.8% 0.06 66.3)

  • #002F19

    #002F19

    oklch(26.9% 0.064 157.1)

  • #002846

    #002846

    oklch(26.9% 0.07 246.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400E36 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.