#512C55
Closest named color: Grape Purple (#5D1451). oklch(35.8% 0.082 323.5), rgb(81, 44, 85).
Aa
White text reads best on this color (11.40:1).
About this color
#512C55 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.082 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.052 away. White text reads best on it, at 11.40:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.84:1 |
| White text | 11.40:1 |
Values
| HEX | #512C55 |
| RGB | rgb(81, 44, 85) |
| HSL | hsl(294, 32%, 25%) |
| OKLCH | oklch(35.8% 0.082 323.5) |
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 #512C55 | 11.40:1 | AAA | Lc -99.8 | Preferred for body text |
| Black text on #512C55 | 1.84:1 | Fails | Lc 7.8 | Not readable |
| #512C55 text on white | 11.40:1 | AAA | Lc 96.1 | Preferred for body text |
| #512C55 text on black | 1.84: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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#F0E6F1
oklch(93.6% 0.018 323)
-
Step 200
200
#E5D2E6
oklch(88.5% 0.034 324.3)
-
Step 300
300
#D5B4D8
oklch(81% 0.062 323.5)
-
Step 400
400
#BF8BC4
oklch(70.6% 0.1 323.6)
-
Step 500
500
#AE6DB5
oklch(63% 0.127 323.4)
-
Step 600
600
#9954A1
oklch(55.6% 0.137 323.3)
-
Step 700
700
#83448A
oklch(49.2% 0.128 323.5)
-
Step 800
800
#6A3870
oklch(42.6% 0.107 323.2)
-
Step 900
900 (this color)
#512C55
oklch(35.8% 0.082 323.5)
-
Step 950
950
#331D35
oklch(27% 0.053 323.9)
#512C55 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) | #273756 | 0.077 |
| Deuteranopia (no green cones) | #313B54 | 0.069 |
| Tritanopia (no blue cones) | #52313C | 0.050 |
| Achromatopsia (no color) | #3A3A3A | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512C55
#512C55
oklch(35.8% 0.082 323.5)
- #1E471E
#1E471E
oklch(35.7% 0.082 143.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 #512C55, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.052
- Plum Purple #4E0550 ΔE 0.075
- Purple Brown #673A3F ΔE 0.079
- Space Cadet #2B2D42 ΔE 0.081
- Deep Violet #490648 ΔE 0.081
- Onyx #343A40 ΔE 0.081
- Gunmetal #293241 ΔE 0.085
- Velvet #750851 ΔE 0.086
Use #512C55 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.