#403B68

Closest named color: Dark Grey Blue (#29465B). oklch(37.9% 0.076 287.3), rgb(64, 59, 104).

Aa

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

About this color

#403B68 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.076 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.054 away. White text reads best on it, at 10.27:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.04:1
White text10.27:1

Values

HEX#403B68
RGBrgb(64, 59, 104)
HSLhsl(247, 28%, 32%)
OKLCHoklch(37.9% 0.076 287.3)

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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6ED

    oklch(88.4% 0.031 287.7)

  4. Step 300

    300

    #BEBCE4

    oklch(81% 0.056 287.4)

  5. Step 400

    400

    #9D98D7

    oklch(70.7% 0.091 287.5)

  6. Step 500

    500

    #867DCC

    oklch(63.1% 0.117 287.8)

  7. Step 600

    600

    #7065B8

    oklch(55.5% 0.126 287.6)

  8. Step 700

    700

    #5E549F

    oklch(49.2% 0.117 287.4)

  9. Step 800

    800

    #4C4581

    oklch(42.7% 0.097 286.9)

  10. Step 900

    900 (this color)

    #403B68

    oklch(37.9% 0.076 287.3)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#403B68 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)#2C426A0.033
Deuteranopia (no green cones)#2C3F670.031
Tritanopia (no blue cones)#36444C0.065
Achromatopsia (no color)#4141410.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #403B68

    #403B68

    oklch(37.9% 0.076 287.3)

  • #47450A

    #47450A

    oklch(38.1% 0.076 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403B68

    #403B68

    oklch(37.9% 0.076 287.3)

  • #27436A

    #27436A

    oklch(38.1% 0.075 256.9)

  • #52345C

    #52345C

    oklch(37.8% 0.076 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #403B68

    #403B68

    oklch(37.9% 0.076 287.3)

  • #583C06

    #583C06

    oklch(37.9% 0.075 77.5)

  • #2E4B21

    #2E4B21

    oklch(37.9% 0.075 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403B68

    #403B68

    oklch(37.9% 0.076 287.3)

  • #62341C

    #62341C

    oklch(37.9% 0.075 46.9)

  • #044F3A

    #044F3A

    oklch(38% 0.076 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403B68

    #403B68

    oklch(37.9% 0.076 287.3)

  • #643033

    #643033

    oklch(37.9% 0.075 17.7)

  • #47450A

    #47450A

    oklch(38.1% 0.076 107.5)

  • #004C4E

    #004C4E

    oklch(37.8% 0.064 197.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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