#9E3591

Closest named color: Warm Purple (#952E8F). oklch(51.4% 0.175 333.1), rgb(158, 53, 145).

Aa

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

About this color

#9E3591 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.175 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.024 away. White text reads best on it, at 6.22:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.37:1
White text6.22:1

Values

HEX#9E3591
RGBrgb(158, 53, 145)
HSLhsl(307, 50%, 41%)
OKLCHoklch(51.4% 0.175 333.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 #9E3591 6.22:1 AA Lc -85.4 Fine for body text
Black text on #9E3591 3.37:1 AA large text Lc 23.9 Dividers and decoration only
#9E3591 text on white 6.22:1 AA Lc 80.2 Fine for body text
#9E3591 text on black 3.37:1 AA large text Lc -21.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD8

    oklch(80.9% 0.084 333)

  5. Step 400

    400

    #D27FC4

    oklch(70.7% 0.135 333.3)

  6. Step 500

    500

    #C45BB5

    oklch(63.1% 0.172 333.2)

  7. Step 600

    600

    #AF3CA1

    oklch(55.5% 0.188 333)

  8. Step 700

    700 (this color)

    #9E3591

    oklch(51.4% 0.175 333.1)

  9. Step 800

    800

    #7A2770

    oklch(42.6% 0.145 333)

  10. Step 900

    900

    #63265B

    oklch(37.8% 0.113 332.9)

  11. Step 950

    950

    #3A1735

    oklch(27% 0.071 333.1)

Export this scale for Tailwind in the Tailwind colors tool

#9E3591 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)#3257940.185
Deuteranopia (no green cones)#55668E0.161
Tritanopia (no blue cones)#A53E5E0.091
Achromatopsia (no color)#6161610.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E3591

    #9E3591

    oklch(51.4% 0.175 333.1)

  • #007C41

    #007C41

    oklch(51.4% 0.132 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E3591

    #9E3591

    oklch(51.4% 0.175 333.1)

  • #7D45B8

    #7D45B8

    oklch(51.4% 0.176 303.1)

  • #B22A5D

    #B22A5D

    oklch(51.5% 0.175 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #9E3591

    #9E3591

    oklch(51.4% 0.175 333.1)

  • #5A7200

    #5A7200

    oklch(51.4% 0.126 123)

  • #00786C

    #00786C

    oklch(51.4% 0.092 182.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E3591

    #9E3591

    oklch(51.4% 0.175 333.1)

  • #7C6500

    #7C6500

    oklch(51.4% 0.105 93.2)

  • #007486

    #007486

    oklch(51.4% 0.09 213.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E3591

    #9E3591

    oklch(51.4% 0.175 333.1)

  • #955600

    #955600

    oklch(51.5% 0.117 63.6)

  • #007C41

    #007C41

    oklch(51.4% 0.132 153.3)

  • #006DA8

    #006DA8

    oklch(51.4% 0.124 243)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9E3591.

Similar named colors

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

Use #9E3591 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.