#7F1C58
Closest named color: Red Purple (#820747). oklch(41.2% 0.146 348.4), rgb(127, 28, 88).
Aa
White text reads best on this color (9.50:1).
About this color
#7F1C58 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.146 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.031 away. White text reads best on it, at 9.50:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.146) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.20:1 |
| White text | 9.50:1 |
Values
| HEX | #7F1C58 |
| RGB | rgb(127, 28, 88) |
| HSL | hsl(324, 64%, 30%) |
| OKLCH | oklch(41.2% 0.146 348.4) |
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 #7F1C58 | 9.50:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #7F1C58 | 2.20:1 | Fails | Lc 13.1 | Not readable |
| #7F1C58 text on white | 9.50:1 | AAA | Lc 90.8 | Preferred for body text |
| #7F1C58 text on black | 2.20:1 | Fails | Lc -11.5 | 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
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F7E4ED
oklch(93.7% 0.024 347.2)
-
Step 200
200
#F2CDDE
oklch(88.5% 0.047 348.7)
-
Step 300
300
#EBAACA
oklch(80.8% 0.086 348.2)
-
Step 400
400
#DE7BAF
oklch(70.7% 0.137 348.4)
-
Step 500
500
#D2559B
oklch(63.2% 0.174 348.5)
-
Step 600
600
#BD3486
oklch(55.6% 0.19 348.3)
-
Step 700
700
#A22571
oklch(49% 0.176 348.4)
-
Step 800
800 (this color)
#7F1C58
oklch(41.2% 0.146 348.4)
-
Step 900
900
#6A224C
oklch(37.7% 0.114 347.9)
-
Step 950
950
#3F152C
oklch(27% 0.072 349)
#7F1C58 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) | #2B3B5A | 0.164 |
| Deuteranopia (no green cones) | #484C56 | 0.144 |
| Tritanopia (no blue cones) | #881737 | 0.057 |
| Achromatopsia (no color) | #464646 | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F1C58
#7F1C58
oklch(41.2% 0.146 348.4)
- #005942
#005942
oklch(41.2% 0.084 167.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 #7F1C58, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.031
- Velvet #750851 ΔE 0.035
- Wine #80013F ΔE 0.043
- Mulberry #920A4E ΔE 0.043
- Rich Purple #720058 ΔE 0.047
- Berry #990F4B ΔE 0.059
- Purple Red #990147 ΔE 0.061
- Merlot #730039 ΔE 0.061
Use #7F1C58 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.