#403E86

Closest named color: Dark Slate Blue (#483D8B). oklch(40.6% 0.117 281.1), rgb(64, 62, 134).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.25:1
White text9.32:1

Values

HEX#403E86
RGBrgb(64, 62, 134)
HSLhsl(242, 37%, 38%)
OKLCHoklch(40.6% 0.117 281.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 #403E86 9.32:1 AAA Lc -95.6 Preferred for body text
Black text on #403E86 2.25:1 Fails Lc 12.6 Not readable
#403E86 text on white 9.32:1 AAA Lc 91.3 Preferred for body text
#403E86 text on black 2.25:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B8BCED

    oklch(80.9% 0.069 281.1)

  5. Step 400

    400

    #9598E3

    oklch(70.7% 0.109 281.5)

  6. Step 500

    500

    #7C7DDB

    oklch(63.1% 0.139 281.2)

  7. Step 600

    600

    #6664C9

    oklch(55.6% 0.152 281.1)

  8. Step 700

    700

    #5553AE

    oklch(49.2% 0.141 280.9)

  9. Step 800

    800 (this color)

    #403E86

    oklch(40.6% 0.117 281.1)

  10. Step 900

    900

    #3A3A70

    oklch(37.7% 0.091 281.1)

  11. Step 950

    950

    #222242

    oklch(27% 0.059 281.7)

Export this scale for Tailwind in the Tailwind colors tool

#403E86 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)#1949890.049
Deuteranopia (no green cones)#1244840.052
Tritanopia (no blue cones)#244E5C0.101
Achromatopsia (no color)#4747470.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E86

    #403E86

    oklch(40.6% 0.117 281.1)

  • #534A00

    #534A00

    oklch(40.5% 0.085 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E86

    #403E86

    oklch(40.6% 0.117 281.1)

  • #024A85

    #024A85

    oklch(40.5% 0.117 251.1)

  • #5D3377

    #5D3377

    oklch(40.6% 0.117 310.7)

Open the analogous palette in the generator

Split complementary

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

  • #403E86

    #403E86

    oklch(40.6% 0.117 281.1)

  • #664000

    #664000

    oklch(40.6% 0.087 71.6)

  • #335400

    #335400

    oklch(40.5% 0.11 130.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E86

    #403E86

    oklch(40.6% 0.117 281.1)

  • #7B2D09

    #7B2D09

    oklch(40.6% 0.117 41.1)

  • #005839

    #005839

    oklch(40.7% 0.09 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E86

    #403E86

    oklch(40.6% 0.117 281.1)

  • #7B2739

    #7B2739

    oklch(40.5% 0.117 11.2)

  • #534A00

    #534A00

    oklch(40.5% 0.085 101.4)

  • #005552

    #005552

    oklch(40.6% 0.07 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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