#A51579
Closest named color: Red Violet (#9E0168). oklch(48.9% 0.196 344.9), rgb(165, 21, 121).
Aa
White text reads best on this color (7.03:1).
About this color
#A51579 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.196 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.032 away. White text reads best on it, at 7.03:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.196) |
| Temperature | warm |
| Nearest name | Red Violet (#9E0168) |
| Black text | 2.98:1 |
| White text | 7.03:1 |
Values
| HEX | #A51579 |
| RGB | rgb(165, 21, 121) |
| HSL | hsl(318, 77%, 36%) |
| OKLCH | oklch(48.9% 0.196 344.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 #A51579 | 7.03:1 | AAA | Lc -87.7 | Fine for body text |
| Black text on #A51579 | 2.98:1 | Fails | Lc 21.4 | Dividers and decoration only |
| #A51579 text on white | 7.03:1 | AAA | Lc 82.7 | Fine for body text |
| #A51579 text on black | 2.98:1 | Fails | Lc -19.3 | Dividers and decoration only |
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 700.
-
Step 50
50
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F8E3EE
oklch(93.6% 0.027 344.6)
-
Step 200
200
#F4CCE1
oklch(88.5% 0.052 345.3)
-
Step 300
300
#EDA8CF
oklch(80.9% 0.095 344.5)
-
Step 400
400
#E176B6
oklch(70.6% 0.152 344.9)
-
Step 500
500
#D54DA4
oklch(63% 0.193 344.7)
-
Step 600
600
#C1278F
oklch(55.7% 0.211 345)
-
Step 700
700 (this color)
#A51579
oklch(48.9% 0.196 344.9)
-
Step 800
800
#871863
oklch(42.8% 0.162 345)
-
Step 900
900
#6C1D51
oklch(37.7% 0.126 344.4)
-
Step 950
950
#40132F
oklch(27.1% 0.079 345.4)
#A51579 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) | #2D4A7B | 0.221 |
| Deuteranopia (no green cones) | #5A6176 | 0.189 |
| Tritanopia (no blue cones) | #B11148 | 0.084 |
| Achromatopsia (no color) | #595959 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A51579
#A51579
oklch(48.9% 0.196 344.9)
- #007251
#007251
oklch(48.9% 0.103 164.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 #A51579, closest first.
No curated palette has a color within ΔE 0.04 of #A51579.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Violet #9E0168 ΔE 0.032
- Deep Magenta #A0025C ΔE 0.047
- Warm Purple #952E8F ΔE 0.051
- Dark Fuchsia #9D0759 ΔE 0.053
- Violet Red #A50055 ΔE 0.057
- Medium Violet Red #C71585 ΔE 0.072
- Dark Magenta #8B008B ΔE 0.072
- Berry #990F4B ΔE 0.076
Use #A51579 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.