#9D3371

Closest named color: Red Violet (#9E0168). oklch(49.6% 0.155 348.1), rgb(157, 51, 113).

Aa

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

About this color

#9D3371 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.155 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.051 away. White text reads best on it, at 6.67:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.14:1
White text6.67:1

Values

HEX#9D3371
RGBrgb(157, 51, 113)
HSLhsl(325, 51%, 41%)
OKLCHoklch(49.6% 0.155 348.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 #9D3371 6.67:1 AA Lc -87.2 Fine for body text
Black text on #9D3371 3.14:1 AA large text Lc 21.9 Dividers and decoration only
#9D3371 text on white 6.67:1 AA Lc 82.1 Fine for body text
#9D3371 text on black 3.14:1 AA large text Lc -19.8 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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #EFCFDE

    oklch(88.6% 0.041 348)

  4. Step 300

    300

    #E6ADC9

    oklch(80.8% 0.076 347.9)

  5. Step 400

    400

    #D780AD

    oklch(70.6% 0.12 348.3)

  6. Step 500

    500

    #CA5E99

    oklch(63.1% 0.152 348.4)

  7. Step 600

    600

    #B54184

    oklch(55.6% 0.166 348.1)

  8. Step 700

    700 (this color)

    #9D3371

    oklch(49.6% 0.155 348.1)

  9. Step 800

    800

    #7E2A5B

    oklch(42.6% 0.128 347.9)

  10. Step 900

    900

    #66284B

    oklch(37.8% 0.099 347.9)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#9D3371 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)#4150730.170
Deuteranopia (no green cones)#5F636E0.152
Tritanopia (no blue cones)#A82F4D0.060
Achromatopsia (no color)#5C5C5C0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D3371

    #9D3371

    oklch(49.6% 0.155 348.1)

  • #007457

    #007457

    oklch(49.6% 0.101 167.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D3371

    #9D3371

    oklch(49.6% 0.155 348.1)

  • #853E9A

    #853E9A

    oklch(49.5% 0.156 317.9)

  • #A8303F

    #A8303F

    oklch(49.6% 0.155 18)

Open the analogous palette in the generator

Split complementary

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

  • #9D3371

    #9D3371

    oklch(49.6% 0.155 348.1)

  • #2C7500

    #2C7500

    oklch(49.6% 0.154 138.2)

  • #007073

    #007073

    oklch(49.5% 0.084 198)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D3371

    #9D3371

    oklch(49.6% 0.155 348.1)

  • #686600

    #686600

    oklch(49.6% 0.107 108.4)

  • #006C8D

    #006C8D

    oklch(49.6% 0.097 227.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D3371

    #9D3371

    oklch(49.6% 0.155 348.1)

  • #825900

    #825900

    oklch(49.6% 0.103 77.6)

  • #007457

    #007457

    oklch(49.6% 0.101 167.9)

  • #205FB8

    #205FB8

    oklch(49.7% 0.155 258.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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