#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 family | Reds |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.156) |
| Temperature | warm |
| Nearest name | Red Violet (#9E0168) |
| Black text | 3.18:1 |
| White text | 6.59:1 |
Values
| HEX | #9F3371 |
| RGB | rgb(159, 51, 113) |
| HSL | hsl(326, 51%, 41%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#FBF3F6
oklch(97.1% 0.009 352.4)
-
Step 100
100
#F6E4EC
oklch(93.6% 0.022 348.8)
-
Step 200
200
#F0CEDE
oklch(88.5% 0.043 348)
-
Step 300
300
#E7ADC8
oklch(80.9% 0.076 349.4)
-
Step 400
400
#D880AD
oklch(70.7% 0.121 348.7)
-
Step 500
500
#CB5D98
oklch(63.1% 0.154 349.1)
-
Step 600
600
#B64083
oklch(55.6% 0.168 348.8)
-
Step 700
700 (this color)
#9F3371
oklch(49.9% 0.156 348.8)
-
Step 800
800
#7F2A5A
oklch(42.7% 0.129 349)
-
Step 900
900
#67274A
oklch(37.7% 0.101 349.1)
-
Step 950
950
#3C182B
oklch(27% 0.063 349.2)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #425173 | 0.172 |
| Deuteranopia (no green cones) | #60646E | 0.155 |
| Tritanopia (no blue cones) | #AA2F4D | 0.060 |
| Achromatopsia (no color) | #5D5D5D | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Red Violet #9E0168 ΔE 0.052
- Deep Magenta #A0025C ΔE 0.053
- Dark Fuchsia #9D0759 ΔE 0.055
- Light Eggplant #894585 ΔE 0.056
- Light Burgundy #A8415B ΔE 0.057
- Violet Red #A50055 ΔE 0.057
- Warm Purple #952E8F ΔE 0.058
- Berry #990F4B ΔE 0.068
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.