#513366
Closest named color: Dark Slate Blue (#483D8B). oklch(38% 0.09 309.9), rgb(81, 51, 102).
Aa
White text reads best on this color (10.42:1).
About this color
#513366 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.090 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.065 away. White text reads best on it, at 10.42:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.090) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.01:1 |
| White text | 10.42:1 |
Values
| HEX | #513366 |
| RGB | rgb(81, 51, 102) |
| HSL | hsl(275, 33%, 30%) |
| OKLCH | oklch(38% 0.09 309.9) |
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 #513366 | 10.42:1 | AAA | Lc -98.0 | Preferred for body text |
| Black text on #513366 | 2.01:1 | Fails | Lc 9.9 | Not readable |
| #513366 text on white | 10.42:1 | AAA | Lc 94.0 | Preferred for body text |
| #513366 text on black | 2.01:1 | Fails | Lc -8.5 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EEE6F4
oklch(93.5% 0.021 311.1)
-
Step 200
200
#E1D3EC
oklch(88.6% 0.037 310.5)
-
Step 300
300
#CEB5E2
oklch(80.9% 0.068 309.9)
-
Step 400
400
#B58DD3
oklch(70.6% 0.108 309.9)
-
Step 500
500
#A36FC8
oklch(63.1% 0.14 309.9)
-
Step 600
600
#8E56B4
oklch(55.6% 0.15 309.9)
-
Step 700
700
#79459B
oklch(49.1% 0.141 310.1)
-
Step 800
800
#623A7E
oklch(42.8% 0.116 309.5)
-
Step 900
900 (this color)
#513366
oklch(38% 0.09 309.9)
-
Step 950
950
#2F1E3B
oklch(27.1% 0.056 310.1)
#513366 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) | #273E68 | 0.071 |
| Deuteranopia (no green cones) | #2F4065 | 0.065 |
| Tritanopia (no blue cones) | #4E3B47 | 0.065 |
| Achromatopsia (no color) | #404040 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #513366
#513366
oklch(38% 0.09 309.9)
- #324B0F
#324B0F
oklch(37.9% 0.09 129.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 #513366, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.065
- Grape Purple #5D1451 ΔE 0.071
- Blueberry #464196 ΔE 0.085
- Dark Grey Blue #29465B ΔE 0.086
- Purple Brown #673A3F ΔE 0.088
- Prussian Blue #1D3557 ΔE 0.090
- Onyx #343A40 ΔE 0.092
- Charcoal Grey #3C4142 ΔE 0.092
Use #513366 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.