#403C6D

Closest named color: Dark Slate Blue (#483D8B). oklch(38.4% 0.082 285.6), rgb(64, 60, 109).

Aa

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

About this color

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

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

Values

HEX#403C6D
RGBrgb(64, 60, 109)
HSLhsl(245, 29%, 33%)
OKLCHoklch(38.4% 0.082 285.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 #403C6D 10.07:1 AAA Lc -97.4 Preferred for body text
Black text on #403C6D 2.08:1 Fails Lc 10.6 Not readable
#403C6D text on white 10.07:1 AAA Lc 93.3 Preferred for body text
#403C6D text on black 2.08:1 Fails Lc -9.2 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

    #D6D6EF

    oklch(88.4% 0.034 285.7)

  4. Step 300

    300

    #BCBCE7

    oklch(81% 0.06 285)

  5. Step 400

    400

    #9B98DB

    oklch(70.8% 0.097 285.7)

  6. Step 500

    500

    #837DD2

    oklch(63.1% 0.126 285.4)

  7. Step 600

    600

    #6D64BF

    oklch(55.5% 0.138 285.5)

  8. Step 700

    700

    #5C53A5

    oklch(49.2% 0.127 285.7)

  9. Step 800

    800

    #4B4485

    oklch(42.6% 0.105 286)

  10. Step 900

    900 (this color)

    #403C6D

    oklch(38.4% 0.082 285.6)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#403C6D 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)#2B436F0.034
Deuteranopia (no green cones)#2A406C0.033
Tritanopia (no blue cones)#33464F0.071
Achromatopsia (no color)#4242420.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C6D

    #403C6D

    oklch(38.4% 0.082 285.6)

  • #4A4600

    #4A4600

    oklch(38.6% 0.082 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C6D

    #403C6D

    oklch(38.4% 0.082 285.6)

  • #24446E

    #24446E

    oklch(38.4% 0.081 255.9)

  • #543561

    #543561

    oklch(38.5% 0.081 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #403C6D

    #403C6D

    oklch(38.4% 0.082 285.6)

  • #5C3C00

    #5C3C00

    oklch(38.4% 0.081 75.2)

  • #2F4D1E

    #2F4D1E

    oklch(38.4% 0.081 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C6D

    #403C6D

    oklch(38.4% 0.082 285.6)

  • #66341A

    #66341A

    oklch(38.4% 0.081 46.5)

  • #005139

    #005139

    oklch(38.5% 0.081 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C6D

    #403C6D

    oklch(38.4% 0.082 285.6)

  • #682F35

    #682F35

    oklch(38.4% 0.082 15.2)

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

Similar named colors

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

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