#51527D
Closest named color: Dusk (#4E5481). oklch(45.7% 0.07 282.2), rgb(81, 82, 125).
Aa
White text reads best on this color (7.36:1).
About this color
#51527D is a medium-dark, muted purple. In OKLCH its lightness is 46%, its chroma 0.070 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.008 away. White text reads best on it, at 7.36:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.070) |
| Temperature | cool |
| Nearest name | Dusk (#4E5481) |
| Black text | 2.85:1 |
| White text | 7.36:1 |
Values
| HEX | #51527D |
| RGB | rgb(81, 82, 125) |
| HSL | hsl(239, 21%, 40%) |
| OKLCH | oklch(45.7% 0.07 282.2) |
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 #51527D | 7.36:1 | AAA | Lc -90.4 | Preferred for body text |
| Black text on #51527D | 2.85:1 | Fails | Lc 18.5 | Dividers and decoration only |
| #51527D text on white | 7.36:1 | AAA | Lc 85.5 | Fine for body text |
| #51527D text on black | 2.85:1 | Fails | Lc -16.5 | 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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E8E9F2
oklch(93.6% 0.012 281.1)
-
Step 200
200
#D6D8E8
oklch(88.5% 0.022 280.3)
-
Step 300
300
#BCBEDB
oklch(80.9% 0.041 282.3)
-
Step 400
400
#9A9CC9
oklch(70.7% 0.066 282.6)
-
Step 500
500
#8183BB
oklch(63% 0.084 282.1)
-
Step 600
600
#6B6CA7
oklch(55.5% 0.091 282.3)
-
Step 700
700
#595A8F
oklch(49% 0.084 282)
-
Step 800
800 (this color)
#51527D
oklch(45.7% 0.07 282.2)
-
Step 900
900
#3D3E5E
oklch(37.7% 0.054 282.1)
-
Step 950
950
#242437
oklch(26.9% 0.035 283.8)
#51527D 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) | #45577F | 0.021 |
| Deuteranopia (no green cones) | #43547C | 0.021 |
| Tritanopia (no blue cones) | #455A62 | 0.060 |
| Achromatopsia (no color) | #565656 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51527D
#51527D
oklch(45.7% 0.07 282.2)
- #5F5827
#5F5827
oklch(45.6% 0.069 101.3)
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 #51527D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk #4E5481 ΔE 0.008
- Dusty Grape #545775 ΔE 0.023
- Twilight #4E518B ΔE 0.024
- YInMn Blue #415A77 ΔE 0.035
- Denim Blue #3B5B92 ΔE 0.045
- Dusky Blue #475F94 ΔE 0.047
- Light Navy Blue #2E5A88 ΔE 0.047
- Denim #3B638C ΔE 0.053
Use #51527D 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.