#9F3371

Closest named color: Red Violet (#9E0168). oklch(49.9% 0.156 348.8), rgb(159, 51, 113).

Aa

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

About this color

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

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

Values

HEX#9F3371
RGBrgb(159, 51, 113)
HSLhsl(326, 51%, 41%)
OKLCHoklch(49.9% 0.156 348.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 #9F3371 6.59:1 AA Lc -86.8 Fine for body text
Black text on #9F3371 3.18:1 AA large text Lc 22.3 Dividers and decoration only
#9F3371 text on white 6.59:1 AA Lc 81.7 Fine for body text
#9F3371 text on black 3.18:1 AA large text Lc -20.2 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

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E7ADC8

    oklch(80.9% 0.076 349.4)

  5. Step 400

    400

    #D880AD

    oklch(70.7% 0.121 348.7)

  6. Step 500

    500

    #CB5D98

    oklch(63.1% 0.154 349.1)

  7. Step 600

    600

    #B64083

    oklch(55.6% 0.168 348.8)

  8. Step 700

    700 (this color)

    #9F3371

    oklch(49.9% 0.156 348.8)

  9. Step 800

    800

    #7F2A5A

    oklch(42.7% 0.129 349)

  10. Step 900

    900

    #67274A

    oklch(37.7% 0.101 349.1)

  11. Step 950

    950

    #3C182B

    oklch(27% 0.063 349.2)

Export this scale for Tailwind in the Tailwind colors tool

#9F3371 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)#4251730.172
Deuteranopia (no green cones)#60646E0.155
Tritanopia (no blue cones)#AA2F4D0.060
Achromatopsia (no color)#5D5D5D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F3371

    #9F3371

    oklch(49.9% 0.156 348.8)

  • #007559

    #007559

    oklch(50% 0.1 168.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F3371

    #9F3371

    oklch(49.9% 0.156 348.8)

  • #873F9A

    #873F9A

    oklch(49.9% 0.155 318.8)

  • #AA313E

    #AA313E

    oklch(50% 0.156 19)

Open the analogous palette in the generator

Split complementary

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

  • #9F3371

    #9F3371

    oklch(49.9% 0.156 348.8)

  • #297601

    #297601

    oklch(49.8% 0.156 138.9)

  • #007175

    #007175

    oklch(49.8% 0.085 199.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F3371

    #9F3371

    oklch(49.9% 0.156 348.8)

  • #686700

    #686700

    oklch(49.8% 0.108 109.1)

  • #006D8F

    #006D8F

    oklch(50% 0.098 228.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F3371

    #9F3371

    oklch(49.9% 0.156 348.8)

  • #825A00

    #825A00

    oklch(49.8% 0.104 78.6)

  • #007559

    #007559

    oklch(50% 0.1 168.8)

  • #235FBA

    #235FBA

    oklch(49.9% 0.156 259)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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