#403C6C

Closest named color: Dark Slate Blue (#483D8B). oklch(38.4% 0.08 285.8), rgb(64, 60, 108).

Aa

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

About this color

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

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

Values

HEX#403C6C
RGBrgb(64, 60, 108)
HSLhsl(245, 29%, 33%)
OKLCHoklch(38.4% 0.08 285.8)

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 #403C6C 10.09:1 AAA Lc -97.4 Preferred for body text
Black text on #403C6C 2.08:1 Fails Lc 10.6 Not readable
#403C6C text on white 10.09:1 AAA Lc 93.3 Preferred for body text
#403C6C 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

    #E8E8F5

    oklch(93.5% 0.017 286.1)

  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

    #9B98DA

    oklch(70.7% 0.096 285.8)

  6. Step 500

    500

    #837DD0

    oklch(63% 0.123 285.6)

  7. Step 600

    600

    #6E65BD

    oklch(55.6% 0.133 285.9)

  8. Step 700

    700

    #5C53A3

    oklch(49% 0.125 286)

  9. Step 800

    800

    #4B4584

    oklch(42.8% 0.102 285.6)

  10. Step 900

    900 (this color)

    #403C6C

    oklch(38.4% 0.08 285.8)

  11. Step 950

    950

    #24223E

    oklch(26.9% 0.051 285.7)

Export this scale for Tailwind in the Tailwind colors tool

#403C6C 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)#2B436E0.034
Deuteranopia (no green cones)#2A406B0.033
Tritanopia (no blue cones)#34454E0.068
Achromatopsia (no color)#4242420.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C6C

    #403C6C

    oklch(38.4% 0.08 285.8)

  • #494502

    #494502

    oklch(38.2% 0.08 105.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C6C

    #403C6C

    oklch(38.4% 0.08 285.8)

  • #24446D

    #24446D

    oklch(38.3% 0.08 255.4)

  • #543560

    #543560

    oklch(38.4% 0.08 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #403C6C

    #403C6C

    oklch(38.4% 0.08 285.8)

  • #5C3C01

    #5C3C01

    oklch(38.4% 0.08 75)

  • #2F4D1F

    #2F4D1F

    oklch(38.5% 0.08 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C6C

    #403C6C

    oklch(38.4% 0.08 285.8)

  • #66341B

    #66341B

    oklch(38.5% 0.081 45.8)

  • #005039

    #005039

    oklch(38.2% 0.079 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C6C

    #403C6C

    oklch(38.4% 0.08 285.8)

  • #672F35

    #672F35

    oklch(38.3% 0.081 15)

  • #494502

    #494502

    oklch(38.2% 0.08 105.8)

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

Similar named colors

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

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