#511F48
Closest named color: Grape Purple (#5D1451). oklch(33% 0.094 335), rgb(81, 31, 72).
Aa
White text reads best on this color (12.80:1).
About this color
#511F48 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.094 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.035 away. White text reads best on it, at 12.80:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.63:1 |
| White text | 12.80:1 |
Values
| HEX | #511F48 |
| RGB | rgb(81, 31, 72) |
| HSL | hsl(311, 45%, 22%) |
| OKLCH | oklch(33% 0.094 335) |
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 #511F48 | 12.80:1 | AAA | Lc -101.9 | Preferred for body text |
| Black text on #511F48 | 1.63:1 | Fails | Lc 0.0 | Not readable |
| #511F48 text on white | 12.80:1 | AAA | Lc 98.5 | Preferred for body text |
| #511F48 text on black | 1.63: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
#EAD0E3
oklch(88.5% 0.038 335.4)
-
Step 300
300
#DEB0D3
oklch(80.9% 0.07 334.8)
-
Step 400
400
#CC85BC
oklch(70.7% 0.112 335.3)
-
Step 500
500
#BD64AC
oklch(63% 0.145 334.7)
-
Step 600
600
#A84997
oklch(55.5% 0.157 334.9)
-
Step 700
700
#903A81
oklch(49.1% 0.145 334.9)
-
Step 800
800
#753169
oklch(42.8% 0.12 334.8)
-
Step 900
900 (this color)
#511F48
oklch(33% 0.094 335)
-
Step 950
950
#381A32
oklch(27% 0.06 335)
#511F48 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) | #1F2D49 | 0.097 |
| Deuteranopia (no green cones) | #2E3547 | 0.086 |
| Tritanopia (no blue cones) | #552230 | 0.047 |
| Achromatopsia (no color) | #323232 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #511F48
#511F48
oklch(33% 0.094 335)
- #004122
#004122
oklch(33% 0.081 155.2)
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 #511F48, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.035
- Plum Purple #4E0550 ΔE 0.050
- Deep Violet #490648 ΔE 0.052
- Eggplant Purple #430541 ΔE 0.062
- Burgundy #610023 ΔE 0.074
- Aubergine #3D0734 ΔE 0.076
- Merlot #730039 ΔE 0.079
- Velvet #750851 ΔE 0.080
Use #511F48 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.