#7B2161
Closest named color: Velvet (#750851). oklch(41.4% 0.143 341.7), rgb(123, 33, 97).
Aa
White text reads best on this color (9.40:1).
About this color
#7B2161 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.143 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.040 away. White text reads best on it, at 9.40:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | vivid (0.143) |
| Temperature | warm |
| Nearest name | Velvet (#750851) |
| Black text | 2.23:1 |
| White text | 9.40:1 |
Values
| HEX | #7B2161 |
| RGB | rgb(123, 33, 97) |
| HSL | hsl(317, 58%, 31%) |
| OKLCH | oklch(41.4% 0.143 341.7) |
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 #7B2161 | 9.40:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #7B2161 | 2.23:1 | Fails | Lc 13.2 | Not readable |
| #7B2161 text on white | 9.40:1 | AAA | Lc 90.8 | Preferred for body text |
| #7B2161 text on black | 2.23:1 | Fails | Lc -11.5 | 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 800.
-
Step 50
50
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F6E4EE
oklch(93.6% 0.024 342.9)
-
Step 200
200
#F0CEE2
oklch(88.6% 0.046 341.9)
-
Step 300
300
#E7ACD0
oklch(81% 0.083 341.9)
-
Step 400
400
#D87DB8
oklch(70.6% 0.134 341.7)
-
Step 500
500
#CB59A6
oklch(63.1% 0.169 341.9)
-
Step 600
600
#B63A92
oklch(55.6% 0.185 341.4)
-
Step 700
700
#9D2A7C
oklch(49.1% 0.173 341.8)
-
Step 800
800 (this color)
#7B2161
oklch(41.4% 0.143 341.7)
-
Step 900
900
#672452
oklch(37.7% 0.112 341.9)
-
Step 950
950
#3C1630
oklch(26.9% 0.07 341.3)
#7B2161 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) | #283D63 | 0.157 |
| Deuteranopia (no green cones) | #444C5F | 0.138 |
| Tritanopia (no blue cones) | #83223E | 0.063 |
| Achromatopsia (no color) | #464646 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B2161
#7B2161
oklch(41.4% 0.143 341.7)
- #005A3B
#005A3B
oklch(41.3% 0.091 161.5)
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 #7B2161, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Velvet #750851 ΔE 0.040
- Rich Purple #720058 ΔE 0.046
- Red Purple #820747 ΔE 0.047
- Mulberry #920A4E ΔE 0.057
- Wine #80013F ΔE 0.059
- Purple #800080 ΔE 0.064
- Dark Fuchsia #9D0759 ΔE 0.071
- Merlot #730039 ΔE 0.072
Use #7B2161 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.