#3D3781

Closest named color: Dark Slate Blue (#483D8B). oklch(38.6% 0.121 282.8), rgb(61, 55, 129).

Aa

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

About this color

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

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

Values

HEX#3D3781
RGBrgb(61, 55, 129)
HSLhsl(245, 40%, 36%)
OKLCHoklch(38.6% 0.121 282.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 #3D3781 10.18:1 AAA Lc -97.5 Preferred for body text
Black text on #3D3781 2.06:1 Fails Lc 10.6 Not readable
#3D3781 text on white 10.18:1 AAA Lc 93.4 Preferred for body text
#3D3781 text on black 2.06:1 Fails Lc -9.1 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6FA

    oklch(88.6% 0.049 282.8)

  4. Step 300

    300

    #B8BAFA

    oklch(81% 0.09 282.8)

  5. Step 400

    400

    #9593F7

    oklch(70.7% 0.144 283)

  6. Step 500

    500

    #7D74F4

    oklch(63.1% 0.186 282.9)

  7. Step 600

    600

    #6859E2

    oklch(55.6% 0.2 282.7)

  8. Step 700

    700

    #5748C5

    oklch(49.2% 0.187 282.5)

  9. Step 800

    800

    #473C9F

    oklch(42.7% 0.154 282.7)

  10. Step 900

    900 (this color)

    #3D3781

    oklch(38.6% 0.121 282.8)

  11. Step 950

    950

    #221F4A

    oklch(26.9% 0.077 283)

Export this scale for Tailwind in the Tailwind colors tool

#3D3781 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)#0844840.058
Deuteranopia (no green cones)#003F7F0.060
Tritanopia (no blue cones)#2348560.103
Achromatopsia (no color)#4141410.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D3781

    #3D3781

    oklch(38.6% 0.121 282.8)

  • #4C4500

    #4C4500

    oklch(38.5% 0.081 102.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D3781

    #3D3781

    oklch(38.6% 0.121 282.8)

  • #004480

    #004480

    oklch(38.6% 0.118 252.6)

  • #5A2C71

    #5A2C71

    oklch(38.7% 0.12 312.9)

Open the analogous palette in the generator

Split complementary

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

  • #3D3781

    #3D3781

    oklch(38.6% 0.121 282.8)

  • #5E3C00

    #5E3C00

    oklch(38.7% 0.082 73.4)

  • #2B4F00

    #2B4F00

    oklch(38.5% 0.109 132.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D3781

    #3D3781

    oklch(38.6% 0.121 282.8)

  • #732900

    #732900

    oklch(38.6% 0.114 43.1)

  • #005137

    #005137

    oklch(38.5% 0.083 163.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D3781

    #3D3781

    oklch(38.6% 0.121 282.8)

  • #761F31

    #761F31

    oklch(38.5% 0.12 12.9)

  • #4C4500

    #4C4500

    oklch(38.5% 0.081 102.9)

  • #004F4D

    #004F4D

    oklch(38.6% 0.066 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3D3781 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.