#403E64

Closest named color: Dark Grey Blue (#29465B). oklch(38.3% 0.064 285.4), rgb(64, 62, 100).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamuted (0.064)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.09:1
White text10.04:1

Values

HEX#403E64
RGBrgb(64, 62, 100)
HSLhsl(243, 23%, 32%)
OKLCHoklch(38.3% 0.064 285.4)

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 #403E64 10.04:1 AAA Lc -97.4 Preferred for body text
Black text on #403E64 2.09:1 Fails Lc 10.7 Not readable
#403E64 text on white 10.04:1 AAA Lc 93.3 Preferred for body text
#403E64 text on black 2.09:1 Fails Lc -9.2 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300

    #BDBDDF

    oklch(80.9% 0.048 285.3)

  5. Step 400

    400

    #9B9ACF

    oklch(70.6% 0.077 285.1)

  6. Step 500

    500

    #8481C2

    oklch(63.2% 0.097 285.4)

  7. Step 600

    600

    #6E69AF

    oklch(55.6% 0.107 285.6)

  8. Step 700

    700

    #5C5796

    oklch(49% 0.099 285.7)

  9. Step 800

    800

    #4B487A

    oklch(42.8% 0.082 285.1)

  10. Step 900

    900 (this color)

    #403E64

    oklch(38.3% 0.064 285.4)

  11. Step 950

    950

    #242339

    oklch(26.8% 0.041 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#403E64 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)#3243660.024
Deuteranopia (no green cones)#3141630.024
Tritanopia (no blue cones)#37454C0.055
Achromatopsia (no color)#4242420.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E64

    #403E64

    oklch(38.3% 0.064 285.4)

  • #484518

    #484518

    oklch(38.3% 0.064 105.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E64

    #403E64

    oklch(38.3% 0.064 285.4)

  • #2B4465

    #2B4465

    oklch(38.2% 0.065 255.8)

  • #50385B

    #50385B

    oklch(38.3% 0.065 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #403E64

    #403E64

    oklch(38.3% 0.064 285.4)

  • #573E18

    #573E18

    oklch(38.4% 0.064 75.1)

  • #344B27

    #344B27

    oklch(38.4% 0.064 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E64

    #403E64

    oklch(38.3% 0.064 285.4)

  • #5F3825

    #5F3825

    oklch(38.4% 0.063 46.3)

  • #1B4E3B

    #1B4E3B

    oklch(38.4% 0.064 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E64

    #403E64

    oklch(38.3% 0.064 285.4)

  • #613438

    #613438

    oklch(38.3% 0.065 14.9)

  • #484518

    #484518

    oklch(38.3% 0.064 105.5)

  • #044E4E

    #044E4E

    oklch(38.5% 0.064 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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