#840F57
Closest named color: Red Purple (#820747). oklch(41.1% 0.161 349.8), rgb(132, 15, 87).
Aa
White text reads best on this color (9.60:1).
About this color
#840F57 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.161 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.026 away. White text reads best on it, at 9.60:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.161) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.18:1 |
| White text | 9.60:1 |
Values
| HEX | #840F57 |
| RGB | rgb(132, 15, 87) |
| HSL | hsl(323, 80%, 29%) |
| OKLCH | oklch(41.1% 0.161 349.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 #840F57 | 9.60:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #840F57 | 2.18:1 | Fails | Lc 13.4 | Not readable |
| #840F57 text on white | 9.60:1 | AAA | Lc 90.6 | Preferred for body text |
| #840F57 text on black | 2.18:1 | Fails | Lc -11.7 | 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
#F9E3EC
oklch(93.6% 0.027 350.9)
-
Step 200
200
#F5CCDE
oklch(88.5% 0.052 350)
-
Step 300
300
#F0A8C9
oklch(81% 0.094 350.3)
-
Step 400
400
#E476AE
oklch(70.7% 0.15 349.8)
-
Step 500
500
#D94C9A
oklch(63.1% 0.192 349.8)
-
Step 600
600
#C42584
oklch(55.6% 0.209 350)
-
Step 700
700
#A91370
oklch(49.1% 0.195 349.9)
-
Step 800
800 (this color)
#840F57
oklch(41.1% 0.161 349.8)
-
Step 900
900
#6E1C4B
oklch(37.6% 0.125 349.6)
-
Step 950
950
#41122C
oklch(27% 0.08 349.5)
#840F57 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) | #273859 | 0.183 |
| Deuteranopia (no green cones) | #494C55 | 0.159 |
| Tritanopia (no blue cones) | #8E0133 | 0.062 |
| Achromatopsia (no color) | #454545 | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840F57
#840F57
oklch(41.1% 0.161 349.8)
- #005944
#005944
oklch(41.3% 0.082 169.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 #840F57, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.026
- Mulberry #920A4E ΔE 0.035
- Velvet #750851 ΔE 0.036
- Wine #80013F ΔE 0.040
- Rich Purple #720058 ΔE 0.047
- Berry #990F4B ΔE 0.053
- Purple Red #990147 ΔE 0.053
- Dark Fuchsia #9D0759 ΔE 0.053
Use #840F57 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.