#512663
Closest named color: Grape Purple (#5D1451). oklch(35.6% 0.11 314.8), rgb(81, 38, 99).
Aa
White text reads best on this color (11.61:1).
About this color
#512663 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.110 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.048 away. White text reads best on it, at 11.61:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.110) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.80:1 |
| White text | 11.61:1 |
Values
| HEX | #512663 |
| RGB | rgb(81, 38, 99) |
| HSL | hsl(282, 45%, 27%) |
| OKLCH | oklch(35.6% 0.11 314.8) |
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 #512663 | 11.61:1 | AAA | Lc -100.0 | Preferred for body text |
| Black text on #512663 | 1.80:1 | Fails | Lc 7.6 | Not readable |
| #512663 text on white | 11.61:1 | AAA | Lc 96.3 | Preferred for body text |
| #512663 text on black | 1.80: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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F5
oklch(93.5% 0.024 315.5)
-
Step 200
200
#E5D1EF
oklch(88.6% 0.046 314.6)
-
Step 300
300
#D5B1E6
oklch(80.9% 0.083 314.8)
-
Step 400
400
#BF86D9
oklch(70.7% 0.132 314.7)
-
Step 500
500
#AF65CF
oklch(63.2% 0.169 314.8)
-
Step 600
600
#9A49BC
oklch(55.7% 0.183 314.6)
-
Step 700
700
#8339A2
oklch(49.1% 0.171 314.4)
-
Step 800
800
#6B3083
oklch(42.7% 0.142 314.9)
-
Step 900
900 (this color)
#512663
oklch(35.6% 0.11 314.8)
-
Step 950
950
#331A3E
oklch(27% 0.071 314.6)
#512663 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) | #153665 | 0.100 |
| Deuteranopia (no green cones) | #253A61 | 0.088 |
| Tritanopia (no blue cones) | #503040 | 0.073 |
| Achromatopsia (no color) | #393939 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512663
#512663
oklch(35.6% 0.11 314.8)
- #224700
#224700
oklch(35.6% 0.103 134.7)
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 #512663, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.048
- Plum Purple #4E0550 ΔE 0.064
- Royal Purple #4B006E ΔE 0.065
- Deep Violet #490648 ΔE 0.075
- Indigo #4B0082 ΔE 0.078
- Rich Purple #720058 ΔE 0.080
- Dark Slate Blue #483D8B ΔE 0.084
- Velvet #750851 ΔE 0.086
Use #512663 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.