#511B48
Closest named color: Grape Purple (#5D1451). oklch(32.4% 0.101 334.7), rgb(81, 27, 72).
Aa
White text reads best on this color (13.12:1).
About this color
#511B48 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.101 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.032 away. White text reads best on it, at 13.12:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.101) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.60:1 |
| White text | 13.12:1 |
Values
| HEX | #511B48 |
| RGB | rgb(81, 27, 72) |
| HSL | hsl(310, 50%, 21%) |
| OKLCH | oklch(32.4% 0.101 334.7) |
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 #511B48 | 13.12:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #511B48 | 1.60:1 | Fails | Lc 0.0 | Not readable |
| #511B48 text on white | 13.12:1 | AAA | Lc 98.9 | Preferred for body text |
| #511B48 text on black | 1.60:1 | Fails | Lc 0.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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E5F0
oklch(93.7% 0.022 334.9)
-
Step 200
200
#EBCFE4
oklch(88.4% 0.042 334.7)
-
Step 300
300
#E0AFD4
oklch(81% 0.075 335.1)
-
Step 400
400
#CF83BF
oklch(70.8% 0.121 334.8)
-
Step 500
500
#C061AE
oklch(63.1% 0.154 334.9)
-
Step 600
600
#AB459A
oklch(55.6% 0.167 334.6)
-
Step 700
700
#933683
oklch(49.2% 0.155 335)
-
Step 800
800
#772D6B
oklch(42.6% 0.13 334.4)
-
Step 900
900 (this color)
#511B48
oklch(32.4% 0.101 334.7)
-
Step 950
950
#391933
oklch(27% 0.064 334.7)
#511B48 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) | #1B2B49 | 0.106 |
| Deuteranopia (no green cones) | #2C3347 | 0.092 |
| Tritanopia (no blue cones) | #551E2E | 0.051 |
| Achromatopsia (no color) | #303030 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #511B48
#511B48
oklch(32.4% 0.101 334.7)
- #003F20
#003F20
oklch(32.3% 0.08 154.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 #511B48, closest first.
No curated palette has a color within ΔE 0.04 of #511B48.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.032
- Plum Purple #4E0550 ΔE 0.042
- Deep Violet #490648 ΔE 0.043
- Eggplant Purple #430541 ΔE 0.055
- Aubergine #3D0734 ΔE 0.070
- Burgundy #610023 ΔE 0.073
- Rich Purple #720058 ΔE 0.078
- Eggplant #380835 ΔE 0.078
Use #511B48 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.