#831B81
Closest named color: Purple (#800080). oklch(44% 0.178 329), rgb(131, 27, 129).
Aa
White text reads best on this color (8.61:1).
About this color
#831B81 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.178 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.024 away. White text reads best on it, at 8.61:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Purple (#800080) |
| Black text | 2.43:1 |
| White text | 8.61:1 |
Values
| HEX | #831B81 |
| RGB | rgb(131, 27, 129) |
| HSL | hsl(301, 66%, 31%) |
| OKLCH | oklch(44% 0.178 329) |
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 #831B81 | 8.61:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #831B81 | 2.43:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #831B81 text on white | 8.61:1 | AAA | Lc 88.3 | Fine for body text |
| #831B81 text on black | 2.43:1 | Fails | Lc -13.9 | 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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F6E3F4
oklch(93.6% 0.03 329.1)
-
Step 200
200
#EFCCEC
oklch(88.4% 0.057 328.8)
-
Step 300
300
#E6A8E2
oklch(80.8% 0.105 328.7)
-
Step 400
400
#D876D3
oklch(70.7% 0.168 329.1)
-
Step 500
500
#CB4CC7
oklch(63.1% 0.213 329)
-
Step 600
600
#B624B3
oklch(55.6% 0.231 329.1)
-
Step 700
700
#9C129A
oklch(49% 0.214 329)
-
Step 800
800 (this color)
#831B81
oklch(44% 0.178 329)
-
Step 900
900
#671C65
oklch(37.8% 0.139 329)
-
Step 950
950
#3C123B
oklch(26.9% 0.088 328.6)
#831B81 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) | #044384 | 0.194 |
| Deuteranopia (no green cones) | #3A517F | 0.163 |
| Tritanopia (no blue cones) | #882C4E | 0.097 |
| Achromatopsia (no color) | #4C4C4C | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #831B81
#831B81
oklch(44% 0.178 329)
- #006428
#006428
oklch(43.9% 0.124 149)
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 #831B81, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple #800080 ΔE 0.024
- Dark Magenta #8B008B ΔE 0.028
- Warm Purple #952E8F ΔE 0.053
- Red Violet #9E0168 ΔE 0.071
- Rebecca Purple #663399 ΔE 0.077
- Light Eggplant #894585 ΔE 0.079
- Rich Purple #720058 ΔE 0.079
- Velvet #750851 ΔE 0.085
Use #831B81 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.