#840857
Closest named color: Red Purple (#820747). oklch(40.8% 0.165 349.5), rgb(132, 8, 87).
Aa
White text reads best on this color (9.75:1).
About this color
#840857 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.165 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.027 away. White text reads best on it, at 9.75:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.165) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.15:1 |
| White text | 9.75:1 |
Values
| HEX | #840857 |
| RGB | rgb(132, 8, 87) |
| HSL | hsl(322, 89%, 27%) |
| OKLCH | oklch(40.8% 0.165 349.5) |
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 #840857 | 9.75:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #840857 | 2.15:1 | Fails | Lc 13.2 | Not readable |
| #840857 text on white | 9.75:1 | AAA | Lc 90.8 | Preferred for body text |
| #840857 text on black | 2.15:1 | Fails | Lc -11.6 | 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
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#F9E3ED
oklch(93.6% 0.027 348.3)
-
Step 200
200
#F6CBDE
oklch(88.4% 0.054 349.9)
-
Step 300
300
#F0A7CA
oklch(80.8% 0.096 349.2)
-
Step 400
400
#E574AF
oklch(70.6% 0.155 349.2)
-
Step 500
500
#DA499B
oklch(63% 0.197 349.4)
-
Step 600
600
#C52086
oklch(55.5% 0.214 349.2)
-
Step 700
700
#AA0C71
oklch(49.1% 0.199 349.5)
-
Step 800
800 (this color)
#840857
oklch(40.8% 0.165 349.5)
-
Step 900
900
#6F1A4C
oklch(37.6% 0.129 349)
-
Step 950
950
#42112C
oklch(27% 0.082 350)
#840857 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) | #253759 | 0.188 |
| Deuteranopia (no green cones) | #484B54 | 0.163 |
| Tritanopia (no blue cones) | #8E0032 | 0.065 |
| Achromatopsia (no color) | #444444 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840857
#840857
oklch(40.8% 0.165 349.5)
- #005843
#005843
oklch(40.9% 0.081 169.6)
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 #840857, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.027
- Velvet #750851 ΔE 0.034
- Mulberry #920A4E ΔE 0.037
- Wine #80013F ΔE 0.040
- Rich Purple #720058 ΔE 0.044
- Dark Fuchsia #9D0759 ΔE 0.055
- Purple Red #990147 ΔE 0.055
- Berry #990F4B ΔE 0.055
Use #840857 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.