#840047
Closest named color: Red Purple (#820747). oklch(39.9% 0.162 357.9), rgb(132, 0, 71).
Aa
White text reads best on this color (10.13:1).
About this color
#840047 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.162 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.005 away. White text reads best on it, at 10.13:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.162) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.07:1 |
| White text | 10.13:1 |
Values
| HEX | #840047 |
| RGB | rgb(132, 0, 71) |
| HSL | hsl(328, 100%, 26%) |
| OKLCH | oklch(39.9% 0.162 357.9) |
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 #840047 | 10.13:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #840047 | 2.07:1 | Fails | Lc 12.6 | Not readable |
| #840047 text on white | 10.13:1 | AAA | Lc 91.3 | Preferred for body text |
| #840047 text on black | 2.07: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 900.
-
Step 50
50
#FFF1F5
oklch(97% 0.016 358)
-
Step 100
100
#FFE1EA
oklch(93.7% 0.035 357.7)
-
Step 200
200
#FFC7D9
oklch(88.4% 0.067 357.4)
-
Step 300
300
#FF9FC0
oklch(80.8% 0.12 358)
-
Step 400
400
#FB62A0
oklch(70.8% 0.195 358.1)
-
Step 500
500
#F31789
oklch(63.2% 0.249 358)
-
Step 600
600
#CF0073
oklch(55.5% 0.226 357.8)
-
Step 700
700
#AF0060
oklch(49% 0.2 357.9)
-
Step 800
800
#91004F
oklch(42.7% 0.174 357.7)
-
Step 900
900 (this color)
#840047
oklch(39.9% 0.162 357.9)
-
Step 950
950
#4A0526
oklch(27.1% 0.102 358.4)
#840047 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) | #293348 | 0.186 |
| Deuteranopia (no green cones) | #4B4A44 | 0.165 |
| Tritanopia (no blue cones) | #900027 | 0.059 |
| Achromatopsia (no color) | #414141 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840047
#840047
oklch(39.9% 0.162 357.9)
- #005447
#005447
oklch(39.9% 0.074 177.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 #840047, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.005
- Wine #80013F ΔE 0.015
- Mulberry #920A4E ΔE 0.034
- Red Wine #8C0034 ΔE 0.038
- Velvet #750851 ΔE 0.038
- Merlot #730039 ΔE 0.043
- Bordeaux #7B002C ΔE 0.047
- Purple Red #990147 ΔE 0.048
Use #840047 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.