#3F3A71

Closest named color: Dark Slate Blue (#483D8B). oklch(38.2% 0.091 285.3), rgb(63, 58, 113).

Aa

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

About this color

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

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

Values

HEX#3F3A71
RGBrgb(63, 58, 113)
HSLhsl(245, 32%, 34%)
OKLCHoklch(38.2% 0.091 285.3)

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 #3F3A71 10.21:1 AAA Lc -97.7 Preferred for body text
Black text on #3F3A71 2.05:1 Fails Lc 10.3 Not readable
#3F3A71 text on white 10.21:1 AAA Lc 93.6 Preferred for body text
#3F3A71 text on black 2.05:1 Fails Lc -8.9 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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBEC

    oklch(80.9% 0.069 285.7)

  5. Step 400

    400

    #9A96E2

    oklch(70.6% 0.11 285.6)

  6. Step 500

    500

    #827BDA

    oklch(63.1% 0.14 285)

  7. Step 600

    600

    #6D62C7

    oklch(55.6% 0.152 285.3)

  8. Step 700

    700

    #5B50AC

    oklch(49% 0.142 285.3)

  9. Step 800

    800

    #4A428C

    oklch(42.6% 0.119 285.1)

  10. Step 900

    900 (this color)

    #3F3A71

    oklch(38.2% 0.091 285.3)

  11. Step 950

    950

    #242241

    oklch(27.1% 0.057 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#3F3A71 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)#2543730.041
Deuteranopia (no green cones)#233F700.040
Tritanopia (no blue cones)#3045500.077
Achromatopsia (no color)#4141410.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3A71

    #3F3A71

    oklch(38.2% 0.091 285.3)

  • #494500

    #494500

    oklch(38.2% 0.081 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3A71

    #3F3A71

    oklch(38.2% 0.091 285.3)

  • #1E4372

    #1E4372

    oklch(38.1% 0.091 255.6)

  • #553264

    #553264

    oklch(38.2% 0.092 315)

Open the analogous palette in the generator

Split complementary

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

  • #3F3A71

    #3F3A71

    oklch(38.2% 0.091 285.3)

  • #5B3C00

    #5B3C00

    oklch(38.2% 0.08 76.2)

  • #2C4D16

    #2C4D16

    oklch(38.2% 0.091 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3A71

    #3F3A71

    oklch(38.2% 0.091 285.3)

  • #693013

    #693013

    oklch(38.1% 0.091 45.1)

  • #005038

    #005038

    oklch(38.2% 0.08 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3A71

    #3F3A71

    oklch(38.2% 0.091 285.3)

  • #6B2B33

    #6B2B33

    oklch(38.2% 0.092 14.9)

  • #494500

    #494500

    oklch(38.2% 0.081 105.9)

  • #004D4E

    #004D4E

    oklch(38.1% 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 #3F3A71, closest first.

Similar named colors

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

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