#403A5D

Closest named color: Dark Grey Blue (#29465B). oklch(37.1% 0.06 291.1), rgb(64, 58, 93).

Aa

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

About this color

#403A5D is a dark, muted purple. In OKLCH its lightness is 37%, its chroma 0.060 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.048 away. White text reads best on it, at 10.59:1.

Hue familyPurples
Lightnessdark (37%)
Chromamuted (0.060)
Temperaturein between
Nearest nameDark Grey Blue (#29465B)
Black text1.98:1
White text10.59:1

Values

HEX#403A5D
RGBrgb(64, 58, 93)
HSLhsl(250, 23%, 30%)
OKLCHoklch(37.1% 0.06 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 #403A5D 10.59:1 AAA Lc -98.5 Preferred for body text
Black text on #403A5D 1.98:1 Fails Lc 9.4 Not readable
#403A5D text on white 10.59:1 AAA Lc 94.5 Preferred for body text
#403A5D text on black 1.98:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F2

    oklch(93.5% 0.013 290.7)

  3. Step 200

    200

    #D9D7E9

    oklch(88.6% 0.025 291)

  4. Step 300

    300

    #C0BCDC

    oklch(80.9% 0.045 291.1)

  5. Step 400

    400

    #A099CA

    oklch(70.6% 0.071 291)

  6. Step 500

    500

    #8A7FBD

    oklch(63.1% 0.092 291.7)

  7. Step 600

    600

    #7468A9

    oklch(55.6% 0.1 291.3)

  8. Step 700

    700

    #615691

    oklch(49% 0.093 291.1)

  9. Step 800

    800

    #4F4776

    oklch(42.7% 0.077 290.6)

  10. Step 900

    900 (this color)

    #403A5D

    oklch(37.1% 0.06 291.1)

  11. Step 950

    950

    #262338

    oklch(27% 0.039 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#403A5D 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)#303F5E0.027
Deuteranopia (no green cones)#313E5C0.026
Tritanopia (no blue cones)#3940470.050
Achromatopsia (no color)#3F3F3F0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #403A5D

    #403A5D

    oklch(37.1% 0.06 291.1)

  • #41431B

    #41431B

    oklch(37.1% 0.06 111.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403A5D

    #403A5D

    oklch(37.1% 0.06 291.1)

  • #2E405F

    #2E405F

    oklch(37.1% 0.059 260.9)

  • #4E3553

    #4E3553

    oklch(37% 0.06 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #403A5D

    #403A5D

    oklch(37.1% 0.06 291.1)

  • #503C17

    #503C17

    oklch(37% 0.06 80.4)

  • #2E482A

    #2E482A

    oklch(37.2% 0.059 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403A5D

    #403A5D

    oklch(37.1% 0.06 291.1)

  • #593621

    #593621

    oklch(37% 0.06 51)

  • #174A3C

    #174A3C

    oklch(37.1% 0.059 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403A5D

    #403A5D

    oklch(37.1% 0.06 291.1)

  • #5B3332

    #5B3332

    oklch(37.1% 0.058 21.8)

  • #41431B

    #41431B

    oklch(37.1% 0.06 111.6)

  • #09494D

    #09494D

    oklch(37.1% 0.059 201.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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