#513A7F
Closest named color: Dark Slate Blue (#483D8B). oklch(40.9% 0.113 296.5), rgb(81, 58, 127).
Aa
White text reads best on this color (9.28:1).
About this color
#513A7F is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.113 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.025 away. White text reads best on it, at 9.28:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.26:1 |
| White text | 9.28:1 |
Values
| HEX | #513A7F |
| RGB | rgb(81, 58, 127) |
| HSL | hsl(260, 37%, 36%) |
| OKLCH | oklch(40.9% 0.113 296.5) |
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 #513A7F | 9.28:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #513A7F | 2.26:1 | Fails | Lc 12.8 | Not readable |
| #513A7F text on white | 9.28:1 | AAA | Lc 91.2 | Preferred for body text |
| #513A7F text on black | 2.26:1 | Fails | Lc -11.1 | 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 800.
-
Step 50
50
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#EBE7F5
oklch(93.5% 0.019 299.1)
-
Step 200
200
#DBD5EF
oklch(88.6% 0.036 296.2)
-
Step 300
300
#C4B8E7
oklch(80.8% 0.067 296.6)
-
Step 400
400
#A793DB
oklch(70.8% 0.105 296.4)
-
Step 500
500
#9276D1
oklch(63.1% 0.135 296.5)
-
Step 600
600
#7D5DBE
oklch(55.6% 0.147 296.5)
-
Step 700
700
#694CA4
oklch(49% 0.137 296.2)
-
Step 800
800 (this color)
#513A7F
oklch(40.9% 0.113 296.5)
-
Step 900
900
#47366A
oklch(37.7% 0.088 297.1)
-
Step 950
950
#29203E
oklch(27% 0.055 296.3)
#513A7F 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) | #1F4781 | 0.073 |
| Deuteranopia (no green cones) | #25467D | 0.068 |
| Tritanopia (no blue cones) | #464856 | 0.090 |
| Achromatopsia (no color) | #474747 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #513A7F
#513A7F
oklch(40.9% 0.113 296.5)
- #485000
#485000
oklch(41% 0.094 116.2)
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 #513A7F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.025
- Blueberry #464196 ΔE 0.043
- Rebecca Purple #663399 ΔE 0.059
- Twilight #4E518B ΔE 0.062
- Dusk #4E5481 ΔE 0.071
- Cobalt #1E488F ΔE 0.076
- Dusk Blue #26538D ΔE 0.083
- Twilight Blue #0A437A ΔE 0.087
Use #513A7F 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.