#403C83

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.116 282.4), rgb(64, 60, 131).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.19:1
White text9.57:1

Values

HEX#403C83
RGBrgb(64, 60, 131)
HSLhsl(243, 37%, 37%)
OKLCHoklch(40% 0.116 282.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 #403C83 9.57:1 AAA Lc -96.2 Preferred for body text
Black text on #403C83 2.19:1 Fails Lc 12.0 Not readable
#403C83 text on white 9.57:1 AAA Lc 92.0 Preferred for body text
#403C83 text on black 2.19:1 Fails Lc -10.4 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6F9

    oklch(88.6% 0.048 282.8)

  4. Step 300

    300

    #B7BAF8

    oklch(80.8% 0.087 282.1)

  5. Step 400

    400

    #9494F4

    oklch(70.7% 0.139 282.3)

  6. Step 500

    500

    #7C76F0

    oklch(63.1% 0.178 282.2)

  7. Step 600

    600

    #675BDE

    oklch(55.5% 0.193 282.3)

  8. Step 700

    700

    #564AC1

    oklch(49.1% 0.179 282.1)

  9. Step 800

    800

    #463D9C

    oklch(42.6% 0.149 282.3)

  10. Step 900

    900 (this color)

    #403C83

    oklch(40% 0.116 282.4)

  11. Step 950

    950

    #222049

    oklch(27% 0.074 282.5)

Export this scale for Tailwind in the Tailwind colors tool

#403C83 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)#1848850.052
Deuteranopia (no green cones)#1243810.053
Tritanopia (no blue cones)#274C590.100
Achromatopsia (no color)#4545450.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C83

    #403C83

    oklch(40% 0.116 282.4)

  • #514900

    #514900

    oklch(40.1% 0.084 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C83

    #403C83

    oklch(40% 0.116 282.4)

  • #074883

    #074883

    oklch(39.9% 0.115 252.3)

  • #5C3173

    #5C3173

    oklch(39.9% 0.115 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #403C83

    #403C83

    oklch(40% 0.116 282.4)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #2F5300

    #2F5300

    oklch(39.9% 0.111 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C83

    #403C83

    oklch(40% 0.116 282.4)

  • #782C05

    #782C05

    oklch(39.9% 0.116 42.3)

  • #005639

    #005639

    oklch(40.1% 0.088 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C83

    #403C83

    oklch(40% 0.116 282.4)

  • #792636

    #792636

    oklch(40% 0.115 12.6)

  • #514900

    #514900

    oklch(40.1% 0.084 102.3)

  • #005351

    #005351

    oklch(40% 0.069 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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