#513258
Closest named color: Grape Purple (#5D1451). oklch(37% 0.074 320.1), rgb(81, 50, 88).
Aa
White text reads best on this color (10.78:1).
About this color
#513258 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.074 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.066 away. White text reads best on it, at 10.78:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.074) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.94:1 |
| White text | 10.78:1 |
Values
| HEX | #513258 |
| RGB | rgb(81, 50, 88) |
| HSL | hsl(289, 28%, 27%) |
| OKLCH | oklch(37% 0.074 320.1) |
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 #513258 | 10.78:1 | AAA | Lc -98.8 | Preferred for body text |
| Black text on #513258 | 1.94:1 | Fails | Lc 9.1 | Not readable |
| #513258 text on white | 10.78:1 | AAA | Lc 94.8 | Preferred for body text |
| #513258 text on black | 1.94:1 | Fails | Lc -7.8 | 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
#EFE7F1
oklch(93.7% 0.016 319.4)
-
Step 200
200
#E3D3E6
oklch(88.5% 0.031 320.9)
-
Step 300
300
#D1B6D7
oklch(81% 0.054 320.1)
-
Step 400
400
#BA8FC3
oklch(70.8% 0.088 320.5)
-
Step 500
500
#A872B4
oklch(63.2% 0.113 320.2)
-
Step 600
600
#9359A0
oklch(55.6% 0.124 320.1)
-
Step 700
700
#7D4989
oklch(49.2% 0.115 319.9)
-
Step 800
800
#663C6F
oklch(42.7% 0.095 320.4)
-
Step 900
900 (this color)
#513258
oklch(37% 0.074 320.1)
-
Step 950
950
#311F35
oklch(27.2% 0.047 320.2)
#513258 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) | #2D3B59 | 0.065 |
| Deuteranopia (no green cones) | #353F57 | 0.059 |
| Tritanopia (no blue cones) | #523741 | 0.047 |
| Achromatopsia (no color) | #3D3D3D | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #513258
#513258
oklch(37% 0.074 320.1)
- #294922
#294922
oklch(37% 0.074 140.1)
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 #513258, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.066
- Purple Brown #673A3F ΔE 0.071
- Onyx #343A40 ΔE 0.075
- Charcoal Grey #3C4142 ΔE 0.077
- Dark Grey Blue #29465B ΔE 0.082
- Space Cadet #2B2D42 ΔE 0.083
- Gunmetal #293241 ΔE 0.085
- Prussian Blue #1D3557 ΔE 0.086
Use #513258 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.