#403C68

Closest named color: Dark Grey Blue (#29465B). oklch(38.1% 0.074 286.5), rgb(64, 60, 104).

Aa

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

About this color

#403C68 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.074 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.052 away. White text reads best on it, at 10.17:1.

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

Values

HEX#403C68
RGBrgb(64, 60, 104)
HSLhsl(245, 27%, 32%)
OKLCHoklch(38.1% 0.074 286.5)

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 #403C68 10.17:1 AAA Lc -97.6 Preferred for body text
Black text on #403C68 2.06:1 Fails Lc 10.4 Not readable
#403C68 text on white 10.17:1 AAA Lc 93.5 Preferred for body text
#403C68 text on black 2.06:1 Fails Lc -9.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D7D7ED

    oklch(88.6% 0.03 285.8)

  4. Step 300

    300

    #BDBCE3

    oklch(80.9% 0.055 286.3)

  5. Step 400

    400

    #9C98D6

    oklch(70.6% 0.09 286.8)

  6. Step 500

    500

    #857ECA

    oklch(63.1% 0.113 286.9)

  7. Step 600

    600

    #6F66B7

    oklch(55.6% 0.123 286.8)

  8. Step 700

    700

    #5D559E

    oklch(49.2% 0.114 286.4)

  9. Step 800

    800

    #4C4680

    oklch(42.8% 0.094 286.4)

  10. Step 900

    900 (this color)

    #403C68

    oklch(38.1% 0.074 286.5)

  11. Step 950

    950

    #25233C

    oklch(27.1% 0.046 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#403C68 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)#2E426A0.030
Deuteranopia (no green cones)#2D40670.030
Tritanopia (no blue cones)#35444D0.062
Achromatopsia (no color)#4141410.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C68

    #403C68

    oklch(38.1% 0.074 286.5)

  • #48450D

    #48450D

    oklch(38.2% 0.074 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C68

    #403C68

    oklch(38.1% 0.074 286.5)

  • #274369

    #274369

    oklch(38% 0.074 256.4)

  • #52365D

    #52365D

    oklch(38.2% 0.073 316)

Open the analogous palette in the generator

Split complementary

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

  • #403C68

    #403C68

    oklch(38.1% 0.074 286.5)

  • #593D0A

    #593D0A

    oklch(38.3% 0.074 76.9)

  • #304C22

    #304C22

    oklch(38.3% 0.075 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C68

    #403C68

    oklch(38.1% 0.074 286.5)

  • #62351E

    #62351E

    oklch(38.1% 0.074 46.7)

  • #0B4F3A

    #0B4F3A

    oklch(38.2% 0.074 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C68

    #403C68

    oklch(38.1% 0.074 286.5)

  • #643135

    #643135

    oklch(38.1% 0.073 16.2)

  • #48450D

    #48450D

    oklch(38.2% 0.074 106.3)

  • #004D4E

    #004D4E

    oklch(38.1% 0.065 196.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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