#403C5E

Closest named color: Dark Grey Blue (#29465B). oklch(37.6% 0.058 288.7), rgb(64, 60, 94).

Aa

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

About this color

#403C5E is a dark, muted purple. In OKLCH its lightness is 38%, its chroma 0.058 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.044 away. White text reads best on it, at 10.36:1.

Hue familyPurples
Lightnessdark (38%)
Chromamuted (0.058)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.02:1
White text10.36:1

Values

HEX#403C5E
RGBrgb(64, 60, 94)
HSLhsl(247, 22%, 30%)
OKLCHoklch(37.6% 0.058 288.7)

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 #403C5E 10.36:1 AAA Lc -98.0 Preferred for body text
Black text on #403C5E 2.02:1 Fails Lc 9.9 Not readable
#403C5E text on white 10.36:1 AAA Lc 94.0 Preferred for body text
#403C5E text on black 2.02:1 Fails Lc -8.5 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #BFBDDC

    oklch(81% 0.043 288.3)

  5. Step 400

    400

    #9E9ACA

    oklch(70.7% 0.07 288.3)

  6. Step 500

    500

    #8781BC

    oklch(63.2% 0.088 288.3)

  7. Step 600

    600

    #7169A8

    oklch(55.5% 0.097 288.7)

  8. Step 700

    700

    #5F5890

    oklch(49.2% 0.088 288.4)

  9. Step 800

    800

    #4E4875

    oklch(42.8% 0.074 289)

  10. Step 900

    900 (this color)

    #403C5E

    oklch(37.6% 0.058 288.7)

  11. Step 950

    950

    #262337

    oklch(26.9% 0.037 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#403C5E 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)#32415F0.025
Deuteranopia (no green cones)#323F5D0.023
Tritanopia (no blue cones)#3942480.049
Achromatopsia (no color)#4040400.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C5E

    #403C5E

    oklch(37.6% 0.058 288.7)

  • #44441D

    #44441D

    oklch(37.7% 0.058 108.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C5E

    #403C5E

    oklch(37.6% 0.058 288.7)

  • #2E4260

    #2E4260

    oklch(37.6% 0.058 258.3)

  • #4E3755

    #4E3755

    oklch(37.5% 0.058 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #403C5E

    #403C5E

    oklch(37.6% 0.058 288.7)

  • #523D1B

    #523D1B

    oklch(37.5% 0.057 77.5)

  • #31492A

    #31492A

    oklch(37.7% 0.059 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C5E

    #403C5E

    oklch(37.6% 0.058 288.7)

  • #5A3825

    #5A3825

    oklch(37.7% 0.057 49.5)

  • #1D4B3C

    #1D4B3C

    oklch(37.6% 0.057 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C5E

    #403C5E

    oklch(37.6% 0.058 288.7)

  • #5C3435

    #5C3435

    oklch(37.5% 0.058 18.6)

  • #44441D

    #44441D

    oklch(37.7% 0.058 108.9)

  • #0F4A4D

    #0F4A4D

    oklch(37.5% 0.058 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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