#52185C
Closest named color: Grape Purple (#5D1451). oklch(33.4% 0.125 321.4), rgb(82, 24, 92).
Aa
White text reads best on this color (12.77:1).
About this color
#52185C is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.125 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.032 away. White text reads best on it, at 12.77:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.64:1 |
| White text | 12.77:1 |
Values
| HEX | #52185C |
| RGB | rgb(82, 24, 92) |
| HSL | hsl(291, 59%, 23%) |
| OKLCH | oklch(33.4% 0.125 321.4) |
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 #52185C | 12.77:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #52185C | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #52185C text on white | 12.77:1 | AAA | Lc 98.1 | Preferred for body text |
| #52185C text on black | 1.64: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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EACEEE
oklch(88.4% 0.053 322)
-
Step 300
300
#DDADE5
oklch(80.9% 0.093 321.6)
-
Step 400
400
#CB7FD8
oklch(70.8% 0.149 321.6)
-
Step 500
500
#BC5ACE
oklch(63.2% 0.191 321.2)
-
Step 600
600
#A73ABA
oklch(55.6% 0.207 321.3)
-
Step 700
700
#8F2AA1
oklch(49.1% 0.194 321.1)
-
Step 800
800
#752582
oklch(42.7% 0.161 321.7)
-
Step 900
900 (this color)
#52185C
oklch(33.4% 0.125 321.4)
-
Step 950
950
#37173D
oklch(27% 0.078 321.1)
#52185C 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) | #022E5E | 0.128 |
| Deuteranopia (no green cones) | #20345A | 0.108 |
| Tritanopia (no blue cones) | #532438 | 0.075 |
| Achromatopsia (no color) | #323232 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #52185C
#52185C
oklch(33.4% 0.125 321.4)
- #074300
#074300
oklch(33.3% 0.111 141.4)
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 #52185C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.032
- Plum Purple #4E0550 ΔE 0.035
- Deep Violet #490648 ΔE 0.048
- Royal Purple #4B006E ΔE 0.049
- Eggplant Purple #430541 ΔE 0.066
- Rich Purple #720058 ΔE 0.071
- Indigo #4B0082 ΔE 0.075
- Velvet #750851 ΔE 0.080
Use #52185C 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.