#400C32

Closest named color: Aubergine (#3D0734). oklch(26.3% 0.093 340.8), rgb(64, 12, 50).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.31:1
White text15.94:1

Values

HEX#400C32
RGBrgb(64, 12, 50)
HSLhsl(316, 68%, 15%)
OKLCHoklch(26.3% 0.093 340.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 #400C32 15.94:1 AAA Lc -105.0 Preferred for body text
Black text on #400C32 1.31:1 Fails Lc 0.0 Not readable
#400C32 text on white 15.94:1 AAA Lc 102.3 Preferred for body text
#400C32 text on black 1.31: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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FAE2F0

    oklch(93.6% 0.032 341.8)

  3. Step 200

    200

    #F6CAE5

    oklch(88.5% 0.061 341.1)

  4. Step 300

    300

    #F1A4D6

    oklch(80.8% 0.11 340.7)

  5. Step 400

    400

    #E66FC1

    oklch(70.7% 0.175 340.7)

  6. Step 500

    500

    #DB3EB1

    oklch(63% 0.224 340.8)

  7. Step 600

    600

    #C6009C

    oklch(55.7% 0.241 341)

  8. Step 700

    700

    #A70084

    oklch(49.1% 0.213 340.6)

  9. Step 800

    800

    #8A006C

    oklch(42.7% 0.185 340.9)

  10. Step 900

    900

    #701258

    oklch(37.7% 0.146 341)

  11. Step 950

    950 (this color)

    #400C32

    oklch(26.3% 0.093 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#400C32 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)#101C330.101
Deuteranopia (no green cones)#2025310.089
Tritanopia (no blue cones)#440D1D0.042
Achromatopsia (no color)#2222220.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #400C32

    #400C32

    oklch(26.3% 0.093 340.8)

  • #002D1B

    #002D1B

    oklch(26.2% 0.058 161)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400C32

    #400C32

    oklch(26.3% 0.093 340.8)

  • #331345

    #331345

    oklch(26.3% 0.093 311.1)

  • #47081A

    #47081A

    oklch(26.3% 0.093 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #400C32

    #400C32

    oklch(26.3% 0.093 340.8)

  • #182B00

    #182B00

    oklch(26.2% 0.071 130.6)

  • #002C2A

    #002C2A

    oklch(26.5% 0.046 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400C32

    #400C32

    oklch(26.3% 0.093 340.8)

  • #2B2500

    #2B2500

    oklch(26.3% 0.055 100.1)

  • #002A35

    #002A35

    oklch(26.4% 0.048 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400C32

    #400C32

    oklch(26.3% 0.093 340.8)

  • #361F00

    #361F00

    oklch(26.3% 0.057 70.2)

  • #002D1B

    #002D1B

    oklch(26.2% 0.058 161)

  • #002548

    #002548

    oklch(26.2% 0.077 251.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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