#52276A
Closest named color: Grape Purple (#5D1451). oklch(36.4% 0.117 311.6), rgb(82, 39, 106).
Aa
White text reads best on this color (11.30:1).
About this color
#52276A is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.117 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.056 away. White text reads best on it, at 11.30:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.85:1 |
| White text | 11.30:1 |
Values
| HEX | #52276A |
| RGB | rgb(82, 39, 106) |
| HSL | hsl(279, 46%, 28%) |
| OKLCH | oklch(36.4% 0.117 311.6) |
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 #52276A | 11.30:1 | AAA | Lc -99.5 | Preferred for body text |
| Black text on #52276A | 1.85:1 | Fails | Lc 8.2 | Not readable |
| #52276A text on white | 11.30:1 | AAA | Lc 95.7 | Preferred for body text |
| #52276A text on black | 1.85: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
#EFE5F7
oklch(93.5% 0.026 310.4)
-
Step 200
200
#E4D1F1
oklch(88.6% 0.048 311.7)
-
Step 300
300
#D3B1EA
oklch(80.9% 0.087 311.4)
-
Step 400
400
#BD85E0
oklch(70.6% 0.141 311.5)
-
Step 500
500
#AD63D7
oklch(63.1% 0.18 311.8)
-
Step 600
600
#9846C4
oklch(55.6% 0.195 311.7)
-
Step 700
700
#8236AA
oklch(49.1% 0.183 311.6)
-
Step 800
800
#692E89
oklch(42.6% 0.15 311.5)
-
Step 900
900 (this color)
#52276A
oklch(36.4% 0.117 311.6)
-
Step 950
950
#321A40
oklch(27% 0.073 311.6)
#52276A 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) | #0F386C | 0.104 |
| Deuteranopia (no green cones) | #213B68 | 0.092 |
| Tritanopia (no blue cones) | #4F3344 | 0.080 |
| Achromatopsia (no color) | #3A3A3A | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #52276A
#52276A
oklch(36.4% 0.117 311.6)
- #2A4800
#2A4800
oklch(36.4% 0.1 131.3)
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 #52276A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.056
- Royal Purple #4B006E ΔE 0.063
- Indigo #4B0082 ΔE 0.071
- Plum Purple #4E0550 ΔE 0.072
- Dark Slate Blue #483D8B ΔE 0.074
- Rich Purple #720058 ΔE 0.083
- Deep Violet #490648 ΔE 0.084
- Velvet #750851 ΔE 0.090
Use #52276A 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.