#403E58

Closest named color: Dark Grey Blue (#29465B). oklch(37.7% 0.044 287.6), rgb(64, 62, 88).

Aa

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

About this color

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

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

Values

HEX#403E58
RGBrgb(64, 62, 88)
HSLhsl(245, 17%, 29%)
OKLCHoklch(37.7% 0.044 287.6)

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 #403E58 10.25:1 AAA Lc -97.8 Preferred for body text
Black text on #403E58 2.04:1 Fails Lc 10.1 Not readable
#403E58 text on white 10.25:1 AAA Lc 93.8 Preferred for body text
#403E58 text on black 2.04:1 Fails Lc -8.7 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

    #D8D7E5

    oklch(88.4% 0.019 289.3)

  4. Step 300

    300

    #BFBED5

    oklch(81% 0.032 287.7)

  5. Step 400

    400

    #9E9CC0

    oklch(70.7% 0.052 287.5)

  6. Step 500

    500

    #8783B1

    oklch(63.1% 0.069 288.2)

  7. Step 600

    600

    #716D9C

    oklch(55.7% 0.072 287.7)

  8. Step 700

    700

    #5E5B86

    oklch(49.2% 0.068 286.8)

  9. Step 800

    800

    #4D4A6D

    oklch(42.7% 0.058 287.6)

  10. Step 900

    900 (this color)

    #403E58

    oklch(37.7% 0.044 287.6)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#403E58 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)#3741590.016
Deuteranopia (no green cones)#3740570.015
Tritanopia (no blue cones)#3B42470.037
Achromatopsia (no color)#4141410.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E58

    #403E58

    oklch(37.7% 0.044 287.6)

  • #444327

    #444327

    oklch(37.6% 0.044 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E58

    #403E58

    oklch(37.7% 0.044 287.6)

  • #334259

    #334259

    oklch(37.6% 0.044 258.8)

  • #4B3A51

    #4B3A51

    oklch(37.6% 0.044 317.1)

Open the analogous palette in the generator

Split complementary

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

  • #403E58

    #403E58

    oklch(37.7% 0.044 287.6)

  • #4F3F26

    #4F3F26

    oklch(37.8% 0.044 77.9)

  • #364730

    #364730

    oklch(37.6% 0.044 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E58

    #403E58

    oklch(37.7% 0.044 287.6)

  • #553A2D

    #553A2D

    oklch(37.6% 0.044 46.6)

  • #29493D

    #29493D

    oklch(37.7% 0.044 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E58

    #403E58

    oklch(37.7% 0.044 287.6)

  • #573839

    #573839

    oklch(37.7% 0.044 17.3)

  • #444327

    #444327

    oklch(37.6% 0.044 106.6)

  • #22494A

    #22494A

    oklch(37.8% 0.044 197.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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