#3B3171

Closest named color: Dark Slate Blue (#483D8B). oklch(36% 0.106 287), rgb(59, 49, 113).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.86:1
White text11.26:1

Values

HEX#3B3171
RGBrgb(59, 49, 113)
HSLhsl(249, 40%, 32%)
OKLCHoklch(36% 0.106 287)

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 #3B3171 11.26:1 AAA Lc -99.6 Preferred for body text
Black text on #3B3171 1.86:1 Fails Lc 8.1 Not readable
#3B3171 text on white 11.26:1 AAA Lc 95.8 Preferred for body text
#3B3171 text on black 1.86:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F6

    oklch(88.4% 0.045 286.8)

  4. Step 300

    300

    #BCB9F2

    oklch(80.8% 0.08 286.9)

  5. Step 400

    400

    #9C93EC

    oklch(70.7% 0.128 287.3)

  6. Step 500

    500

    #8576E6

    oklch(63.2% 0.163 286.9)

  7. Step 600

    600

    #705CD4

    oklch(55.7% 0.177 286.8)

  8. Step 700

    700

    #5E4AB7

    oklch(49% 0.165 287.1)

  9. Step 800

    800

    #4D3E94

    oklch(42.7% 0.136 287.2)

  10. Step 900

    900 (this color)

    #3B3171

    oklch(36% 0.106 287)

  11. Step 950

    950

    #252045

    oklch(27% 0.067 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#3B3171 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)#103C730.056
Deuteranopia (no green cones)#0F39700.056
Tritanopia (no blue cones)#2A3F4C0.089
Achromatopsia (no color)#3B3B3B0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B3171

    #3B3171

    oklch(36% 0.106 287)

  • #423F00

    #423F00

    oklch(35.9% 0.077 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B3171

    #3B3171

    oklch(36% 0.106 287)

  • #123C73

    #123C73

    oklch(36% 0.105 256.8)

  • #532861

    #532861

    oklch(36.1% 0.105 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #3B3171

    #3B3171

    oklch(36% 0.106 287)

  • #533700

    #533700

    oklch(36% 0.075 77.1)

  • #1E4903

    #1E4903

    oklch(36% 0.106 137)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B3171

    #3B3171

    oklch(36% 0.106 287)

  • #652800

    #652800

    oklch(35.9% 0.1 46.9)

  • #004935

    #004935

    oklch(36% 0.073 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B3171

    #3B3171

    oklch(36% 0.106 287)

  • #6A1F28

    #6A1F28

    oklch(36.1% 0.106 17.4)

  • #423F00

    #423F00

    oklch(35.9% 0.077 106.7)

  • #004748

    #004748

    oklch(36.1% 0.061 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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