#403C6E

Closest named color: Dark Slate Blue (#483D8B). oklch(38.5% 0.083 285.4), rgb(64, 60, 110).

Aa

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

About this color

#403C6E is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.083 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.051 away. White text reads best on it, at 10.05:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.08:1
White text10.05:1

Values

HEX#403C6E
RGBrgb(64, 60, 110)
HSLhsl(245, 29%, 33%)
OKLCHoklch(38.5% 0.083 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 #403C6E 10.05:1 AAA Lc -97.3 Preferred for body text
Black text on #403C6E 2.08:1 Fails Lc 10.7 Not readable
#403C6E text on white 10.05:1 AAA Lc 93.2 Preferred for body text
#403C6E text on black 2.08:1 Fails Lc -9.3 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6F0

    oklch(88.4% 0.036 285.7)

  4. Step 300

    300

    #BCBCE8

    oklch(81% 0.062 284.9)

  5. Step 400

    400

    #9A98DD

    oklch(70.8% 0.1 284.9)

  6. Step 500

    500

    #837DD3

    oklch(63.2% 0.127 285.3)

  7. Step 600

    600

    #6D64C0

    oklch(55.5% 0.139 285.4)

  8. Step 700

    700

    #5B53A6

    oklch(49.2% 0.129 285)

  9. Step 800

    800

    #4B4486

    oklch(42.7% 0.106 285.8)

  10. Step 900

    900 (this color)

    #403C6E

    oklch(38.5% 0.083 285.4)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#403C6E 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)#2A43700.035
Deuteranopia (no green cones)#29416D0.035
Tritanopia (no blue cones)#33464F0.072
Achromatopsia (no color)#4242420.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C6E

    #403C6E

    oklch(38.5% 0.083 285.4)

  • #4A4600

    #4A4600

    oklch(38.6% 0.082 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C6E

    #403C6E

    oklch(38.5% 0.083 285.4)

  • #23446F

    #23446F

    oklch(38.4% 0.083 255.8)

  • #553562

    #553562

    oklch(38.7% 0.083 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #403C6E

    #403C6E

    oklch(38.5% 0.083 285.4)

  • #5C3C00

    #5C3C00

    oklch(38.4% 0.081 75.2)

  • #2F4D1D

    #2F4D1D

    oklch(38.4% 0.082 135.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C6E

    #403C6E

    oklch(38.5% 0.083 285.4)

  • #67331A

    #67331A

    oklch(38.4% 0.083 44.9)

  • #005139

    #005139

    oklch(38.5% 0.081 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C6E

    #403C6E

    oklch(38.5% 0.083 285.4)

  • #692F35

    #692F35

    oklch(38.6% 0.083 15.4)

  • #4A4600

    #4A4600

    oklch(38.6% 0.082 105.9)

  • #004E4F

    #004E4F

    oklch(38.4% 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 #403C6E, closest first.

Similar named colors

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

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