#403F57

Closest named color: Dark Grey Blue (#29465B). oklch(37.9% 0.041 286.2), rgb(64, 63, 87).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamuted (0.041)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.06:1
White text10.16:1

Values

HEX#403F57
RGBrgb(64, 63, 87)
HSLhsl(242, 16%, 29%)
OKLCHoklch(37.9% 0.041 286.2)

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 #403F57 10.16:1 AAA Lc -97.7 Preferred for body text
Black text on #403F57 2.06:1 Fails Lc 10.3 Not readable
#403F57 text on white 10.16:1 AAA Lc 93.6 Preferred for body text
#403F57 text on black 2.06:1 Fails Lc -8.9 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

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D8E4

    oklch(88.6% 0.016 286.1)

  4. Step 300

    300

    #BEBED4

    oklch(80.8% 0.031 285.7)

  5. Step 400

    400

    #9D9DBE

    oklch(70.7% 0.048 285.1)

  6. Step 500

    500

    #8684AE

    oklch(63.1% 0.063 286.6)

  7. Step 600

    600

    #706E9A

    oklch(55.7% 0.068 286.1)

  8. Step 700

    700

    #5D5B83

    oklch(49% 0.064 286.1)

  9. Step 800

    800

    #4C4B6B

    oklch(42.7% 0.053 285.4)

  10. Step 900

    900 (this color)

    #403F57

    oklch(37.9% 0.041 286.2)

  11. Step 950

    950

    #252533

    oklch(27.1% 0.026 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#403F57 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)#3942580.013
Deuteranopia (no green cones)#3841560.014
Tritanopia (no blue cones)#3B43470.035
Achromatopsia (no color)#4141410.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F57

    #403F57

    oklch(37.9% 0.041 286.2)

  • #45442A

    #45442A

    oklch(38% 0.041 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F57

    #403F57

    oklch(37.9% 0.041 286.2)

  • #344358

    #344358

    oklch(37.9% 0.041 256.8)

  • #4B3B51

    #4B3B51

    oklch(37.8% 0.042 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #403F57

    #403F57

    oklch(37.9% 0.041 286.2)

  • #4F3F29

    #4F3F29

    oklch(37.9% 0.041 74.9)

  • #384732

    #384732

    oklch(37.8% 0.04 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F57

    #403F57

    oklch(37.9% 0.041 286.2)

  • #553B30

    #553B30

    oklch(37.9% 0.041 43.9)

  • #2C493D

    #2C493D

    oklch(37.8% 0.041 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F57

    #403F57

    oklch(37.9% 0.041 286.2)

  • #56393B

    #56393B

    oklch(37.9% 0.041 14.7)

  • #45442A

    #45442A

    oklch(38% 0.041 106.3)

  • #264949

    #264949

    oklch(37.9% 0.041 195.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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