#511E48
Closest named color: Grape Purple (#5D1451). oklch(32.8% 0.096 334.9), rgb(81, 30, 72).
Aa
White text reads best on this color (12.89:1).
About this color
#511E48 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.096 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.034 away. White text reads best on it, at 12.89:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.62:1 |
| White text | 12.89:1 |
Values
| HEX | #511E48 |
| RGB | rgb(81, 30, 72) |
| HSL | hsl(311, 46%, 22%) |
| OKLCH | oklch(32.8% 0.096 334.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 #511E48 | 12.89:1 | AAA | Lc -102.0 | Preferred for body text |
| Black text on #511E48 | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #511E48 text on white | 12.89:1 | AAA | Lc 98.6 | Preferred for body text |
| #511E48 text on black | 1.62: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
#F3E5EF
oklch(93.6% 0.02 335.7)
-
Step 200
200
#EBD0E4
oklch(88.6% 0.04 335)
-
Step 300
300
#DEB0D3
oklch(80.9% 0.07 334.8)
-
Step 400
400
#CD84BD
oklch(70.7% 0.116 335.1)
-
Step 500
500
#BE64AC
oklch(63.2% 0.146 335.2)
-
Step 600
600
#A94898
oklch(55.6% 0.16 334.8)
-
Step 700
700
#913981
oklch(49.1% 0.148 335.3)
-
Step 800
800
#763069
oklch(42.8% 0.122 335.3)
-
Step 900
900 (this color)
#511E48
oklch(32.8% 0.096 334.9)
-
Step 950
950
#381A32
oklch(27% 0.06 335)
#511E48 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) | #1E2D49 | 0.100 |
| Deuteranopia (no green cones) | #2D3447 | 0.087 |
| Tritanopia (no blue cones) | #552130 | 0.047 |
| Achromatopsia (no color) | #323232 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #511E48
#511E48
oklch(32.8% 0.096 334.9)
- #004121
#004121
oklch(32.9% 0.082 154.5)
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 #511E48, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.034
- Plum Purple #4E0550 ΔE 0.048
- Deep Violet #490648 ΔE 0.050
- Eggplant Purple #430541 ΔE 0.061
- Burgundy #610023 ΔE 0.073
- Aubergine #3D0734 ΔE 0.074
- Merlot #730039 ΔE 0.079
- Rich Purple #720058 ΔE 0.079
Use #511E48 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.