#781B6A
Closest named color: Rich Purple (#720058). oklch(40.8% 0.154 335), rgb(120, 27, 106).
Aa
White text reads best on this color (9.70:1).
About this color
#781B6A is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.154 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.041 away. White text reads best on it, at 9.70:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | vivid (0.154) |
| Temperature | in between |
| Nearest name | Rich Purple (#720058) |
| Black text | 2.16:1 |
| White text | 9.70:1 |
Values
| HEX | #781B6A |
| RGB | rgb(120, 27, 106) |
| HSL | hsl(309, 63%, 29%) |
| OKLCH | oklch(40.8% 0.154 335) |
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 #781B6A | 9.70:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #781B6A | 2.16:1 | Fails | Lc 12.6 | Not readable |
| #781B6A text on white | 9.70:1 | AAA | Lc 91.4 | Preferred for body text |
| #781B6A text on black | 2.16:1 | Fails | Lc -11.0 | 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
#FBF3F9
oklch(97.2% 0.012 334.1)
-
Step 100
100
#F6E4F1
oklch(93.7% 0.026 335.5)
-
Step 200
200
#EFCDE6
oklch(88.4% 0.05 335.4)
-
Step 300
300
#E6ABD8
oklch(81% 0.09 335.1)
-
Step 400
400
#D77BC4
oklch(70.7% 0.145 335.1)
-
Step 500
500
#CA55B5
oklch(63.1% 0.186 335.1)
-
Step 600
600
#B535A1
oklch(55.7% 0.201 334.9)
-
Step 700
700
#9B2589
oklch(49% 0.186 335.1)
-
Step 800
800 (this color)
#781B6A
oklch(40.8% 0.154 335)
-
Step 900
900
#66225A
oklch(37.7% 0.121 335.3)
-
Step 950
950
#3C1535
oklch(27% 0.077 335)
#781B6A 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) | #1A3B6C | 0.169 |
| Deuteranopia (no green cones) | #3C4968 | 0.144 |
| Tritanopia (no blue cones) | #7E2341 | 0.077 |
| Achromatopsia (no color) | #444444 | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #781B6A
#781B6A
oklch(40.8% 0.154 335)
- #005930
#005930
oklch(40.8% 0.101 154.9)
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 #781B6A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Purple #720058 ΔE 0.041
- Velvet #750851 ΔE 0.044
- Purple #800080 ΔE 0.046
- Red Purple #820747 ΔE 0.062
- Dark Magenta #8B008B ΔE 0.067
- Grape Purple #5D1451 ΔE 0.072
- Mulberry #920A4E ΔE 0.073
- Wine #80013F ΔE 0.074
Use #781B6A 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.