#513A9D
Closest named color: Blueberry (#464196). oklch(43.1% 0.153 289), rgb(81, 58, 157).
Aa
White text reads best on this color (8.59:1).
About this color
#513A9D is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.153 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.026 away. White text reads best on it, at 8.59:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.153) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.44:1 |
| White text | 8.59:1 |
Values
| HEX | #513A9D |
| RGB | rgb(81, 58, 157) |
| HSL | hsl(254, 46%, 42%) |
| OKLCH | oklch(43.1% 0.153 289) |
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 #513A9D | 8.59:1 | AAA | Lc -93.7 | Preferred for body text |
| Black text on #513A9D | 2.44:1 | Fails | Lc 14.9 | Not readable |
| #513A9D text on white | 8.59:1 | AAA | Lc 89.1 | Fine for body text |
| #513A9D text on black | 2.44:1 | Fails | Lc -13.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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FB
oklch(93.5% 0.027 290.5)
-
Step 200
200
#D7D4F9
oklch(88.4% 0.051 289)
-
Step 300
300
#BEB8F7
oklch(81% 0.088 288.6)
-
Step 400
400
#9F90F4
oklch(70.8% 0.144 289.1)
-
Step 500
500
#8970EF
oklch(63% 0.183 289.1)
-
Step 600
600
#7555DE
oklch(55.7% 0.199 289)
-
Step 700
700
#6244C0
oklch(49.1% 0.184 288.9)
-
Step 800
800 (this color)
#513A9D
oklch(43.1% 0.153 289)
-
Step 900
900
#42327C
oklch(37.7% 0.12 289.3)
-
Step 950
950
#261E48
oklch(26.9% 0.075 289.1)
#513A9D 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) | #004EA0 | 0.086 |
| Deuteranopia (no green cones) | #00499B | 0.084 |
| Tritanopia (no blue cones) | #385166 | 0.125 |
| Achromatopsia (no color) | #4C4C4C | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #513A9D
#513A9D
oklch(43.1% 0.153 289)
- #555400
#555400
oklch(43.3% 0.094 109)
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 #513A9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.026
- Dark Slate Blue #483D8B ΔE 0.034
- Rebecca Purple #663399 ΔE 0.041
- Blue With A Hint Of Purple #533CC6 ΔE 0.066
- Twilight #4E518B ΔE 0.069
- Chrysanthemum #560BAD ΔE 0.070
- Sapphire #2138AB ΔE 0.073
- Imperial Purple #480CA8 ΔE 0.075
Use #513A9D 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.