#403D52

Closest named color: Charcoal Grey (#3C4142). oklch(37.2% 0.036 291.1), rgb(64, 61, 82).

Aa

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

About this color

#403D52 is a dark, muted purple. In OKLCH its lightness is 37%, its chroma 0.036 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.035 away. White text reads best on it, at 10.46:1.

Hue familyPurples
Lightnessdark (37%)
Chromamuted (0.036)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.00:1
White text10.46:1

Values

HEX#403D52
RGBrgb(64, 61, 82)
HSLhsl(249, 15%, 28%)
OKLCHoklch(37.2% 0.036 291.1)

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 #403D52 10.46:1 AAA Lc -98.3 Preferred for body text
Black text on #403D52 2.00:1 Fails Lc 9.6 Not readable
#403D52 text on white 10.46:1 AAA Lc 94.3 Preferred for body text
#403D52 text on black 2.00:1 Fails Lc -8.3 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 900.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #D9D8E2

    oklch(88.6% 0.014 290.7)

  4. Step 300

    300

    #C0BED1

    oklch(80.9% 0.027 290.6)

  5. Step 400

    400

    #A09CBA

    oklch(70.6% 0.044 291.4)

  6. Step 500

    500

    #8984A9

    oklch(63.1% 0.055 290.9)

  7. Step 600

    600

    #736D94

    oklch(55.5% 0.06 291.4)

  8. Step 700

    700

    #615B7E

    oklch(49.1% 0.056 292.1)

  9. Step 800

    800

    #4F4B67

    oklch(42.8% 0.046 290.9)

  10. Step 900

    900 (this color)

    #403D52

    oklch(37.2% 0.036 291.1)

  11. Step 950

    950

    #262531

    oklch(27.1% 0.022 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#403D52 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)#3840530.015
Deuteranopia (no green cones)#383F510.014
Tritanopia (no blue cones)#3C40440.030
Achromatopsia (no color)#3F3F3F0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #403D52

    #403D52

    oklch(37.2% 0.036 291.1)

  • #41422C

    #41422C

    oklch(37.2% 0.035 110.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403D52

    #403D52

    oklch(37.2% 0.036 291.1)

  • #364153

    #364153

    oklch(37.3% 0.034 260.2)

  • #493A4C

    #493A4C

    oklch(37.2% 0.036 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #403D52

    #403D52

    oklch(37.2% 0.036 291.1)

  • #4A3E2A

    #4A3E2A

    oklch(37.1% 0.036 80)

  • #364533

    #364533

    oklch(37.2% 0.036 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403D52

    #403D52

    oklch(37.2% 0.036 291.1)

  • #503B2F

    #503B2F

    oklch(37.2% 0.036 51)

  • #2C473E

    #2C473E

    oklch(37.3% 0.037 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403D52

    #403D52

    oklch(37.2% 0.036 291.1)

  • #523938

    #523938

    oklch(37.3% 0.036 21.5)

  • #41422C

    #41422C

    oklch(37.2% 0.035 110.2)

  • #284648

    #284648

    oklch(37.2% 0.036 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403D52 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.