#515166
Closest named color: Dusty Grape (#545775). oklch(44.3% 0.034 284.9), rgb(81, 81, 102).
Aa
White text reads best on this color (7.72:1).
About this color
#515166 is a dark, muted purple. In OKLCH its lightness is 44%, its chroma 0.034 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.027 away. White text reads best on it, at 7.72:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | muted (0.034) |
| Temperature | cool |
| Nearest name | Dusty Grape (#545775) |
| Black text | 2.71:1 |
| White text | 7.72:1 |
Values
| HEX | #515166 |
| RGB | rgb(81, 81, 102) |
| HSL | hsl(240, 11%, 36%) |
| OKLCH | oklch(44.3% 0.034 284.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 #515166 | 7.72:1 | AAA | Lc -91.6 | Preferred for body text |
| Black text on #515166 | 2.71:1 | Fails | Lc 17.2 | Dividers and decoration only |
| #515166 text on white | 7.72:1 | AAA | Lc 86.8 | Fine for body text |
| #515166 text on black | 2.71:1 | Fails | Lc -15.3 | Dividers and decoration only |
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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E9E9EE
oklch(93.5% 0.007 286.3)
-
Step 200
200
#D8D8E0
oklch(88.5% 0.011 286.2)
-
Step 300
300
#BFBFCD
oklch(80.9% 0.02 286)
-
Step 400
400
#9E9EB4
oklch(70.6% 0.032 285.6)
-
Step 500
500
#8686A2
oklch(63% 0.042 285.1)
-
Step 600
600
#70708D
oklch(55.6% 0.045 284.9)
-
Step 700
700
#5E5E78
oklch(49.2% 0.041 284.8)
-
Step 800
800 (this color)
#515166
oklch(44.3% 0.034 284.9)
-
Step 900
900
#404050
oklch(37.8% 0.027 285)
-
Step 950
950
#25252F
oklch(26.9% 0.018 285.1)
#515166 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) | #4C5367 | 0.009 |
| Deuteranopia (no green cones) | #4B5265 | 0.010 |
| Tritanopia (no blue cones) | #4D5558 | 0.031 |
| Achromatopsia (no color) | #535353 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #515166
#515166
oklch(44.3% 0.034 284.9)
- #56553F
#56553F
oklch(44.4% 0.034 105.5)
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 #515166, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Grape #545775 ΔE 0.027
- YInMn Blue #415A77 ΔE 0.037
- Dusk #4E5481 ΔE 0.044
- Slate #516572 ΔE 0.059
- Twilight #4E518B ΔE 0.062
- Dark Slate Gray #2F4F4F ΔE 0.065
- Light Navy Blue #2E5A88 ΔE 0.066
- Dark Grey Blue #29465B ΔE 0.071
Use #515166 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.