#403A68

Closest named color: Dark Grey Blue (#29465B). oklch(37.7% 0.077 288.1), rgb(64, 58, 104).

Aa

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

About this color

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

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

Values

HEX#403A68
RGBrgb(64, 58, 104)
HSLhsl(248, 28%, 32%)
OKLCHoklch(37.7% 0.077 288.1)

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 #403A68 10.38:1 AAA Lc -98.0 Preferred for body text
Black text on #403A68 2.02:1 Fails Lc 9.9 Not readable
#403A68 text on white 10.38:1 AAA Lc 94.0 Preferred for body text
#403A68 text on black 2.02:1 Fails Lc -8.5 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

    #D7D6EE

    oklch(88.4% 0.033 287.6)

  4. Step 300

    300

    #BEBBE5

    oklch(80.8% 0.059 288.3)

  5. Step 400

    400

    #9D97D7

    oklch(70.6% 0.093 288.1)

  6. Step 500

    500

    #867DCD

    oklch(63.1% 0.118 287.7)

  7. Step 600

    600

    #7165BA

    oklch(55.7% 0.129 288)

  8. Step 700

    700

    #5F53A0

    oklch(49.1% 0.12 288.3)

  9. Step 800

    800

    #4D4482

    oklch(42.6% 0.1 288)

  10. Step 900

    900 (this color)

    #403A68

    oklch(37.7% 0.077 288.1)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#403A68 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)#2B416A0.035
Deuteranopia (no green cones)#2B3F670.033
Tritanopia (no blue cones)#36434C0.065
Achromatopsia (no color)#4040400.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #403A68

    #403A68

    oklch(37.7% 0.077 288.1)

  • #464406

    #464406

    oklch(37.7% 0.077 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403A68

    #403A68

    oklch(37.7% 0.077 288.1)

  • #26426A

    #26426A

    oklch(37.8% 0.077 257.4)

  • #53335C

    #53335C

    oklch(37.7% 0.078 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #403A68

    #403A68

    oklch(37.7% 0.077 288.1)

  • #583B02

    #583B02

    oklch(37.6% 0.077 77.2)

  • #2C4B21

    #2C4B21

    oklch(37.7% 0.077 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403A68

    #403A68

    oklch(37.7% 0.077 288.1)

  • #623319

    #623319

    oklch(37.6% 0.078 47.9)

  • #004E3A

    #004E3A

    oklch(37.7% 0.076 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403A68

    #403A68

    oklch(37.7% 0.077 288.1)

  • #642F32

    #642F32

    oklch(37.7% 0.077 17.9)

  • #464406

    #464406

    oklch(37.7% 0.077 107.6)

  • #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 #403A68, closest first.

Similar named colors

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

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