#513160
Closest named color: Grape Purple (#5D1451). oklch(37.3% 0.086 314.2), rgb(81, 49, 96).
Aa
White text reads best on this color (10.72:1).
About this color
#513160 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.086 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 10.72:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.95:1 |
| White text | 10.72:1 |
Values
| HEX | #513160 |
| RGB | rgb(81, 49, 96) |
| HSL | hsl(281, 32%, 28%) |
| OKLCH | oklch(37.3% 0.086 314.2) |
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 #513160 | 10.72:1 | AAA | Lc -98.6 | Preferred for body text |
| Black text on #513160 | 1.95:1 | Fails | Lc 9.2 | Not readable |
| #513160 text on white | 10.72:1 | AAA | Lc 94.7 | Preferred for body text |
| #513160 text on black | 1.95:1 | Fails | Lc -7.9 | 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
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EEE6F3
oklch(93.5% 0.019 312.8)
-
Step 200
200
#E2D3EA
oklch(88.6% 0.035 314.1)
-
Step 300
300
#D0B5DE
oklch(80.9% 0.064 314.1)
-
Step 400
400
#B88DCE
oklch(70.7% 0.104 313.9)
-
Step 500
500
#A66FC1
oklch(63% 0.133 313.9)
-
Step 600
600
#9256AD
oklch(55.7% 0.143 314.4)
-
Step 700
700
#7C4595
oklch(49.1% 0.135 314.2)
-
Step 800
800
#653A79
oklch(42.8% 0.111 314.1)
-
Step 900
900 (this color)
#513160
oklch(37.3% 0.086 314.2)
-
Step 950
950
#301E39
oklch(27.1% 0.054 313.8)
#513160 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) | #283C62 | 0.072 |
| Deuteranopia (no green cones) | #303F5F | 0.066 |
| Tritanopia (no blue cones) | #503844 | 0.058 |
| Achromatopsia (no color) | #3E3E3E | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #513160
#513160
oklch(37.3% 0.086 314.2)
- #2C4A16
#2C4A16
oklch(37.3% 0.086 134.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 #513160, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.064
- Dark Slate Blue #483D8B ΔE 0.076
- Purple Brown #673A3F ΔE 0.083
- Onyx #343A40 ΔE 0.086
- Dark Grey Blue #29465B ΔE 0.087
- Prussian Blue #1D3557 ΔE 0.088
- Plum Purple #4E0550 ΔE 0.088
- Charcoal Grey #3C4142 ΔE 0.088
Use #513160 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.