#51315F
Closest named color: Grape Purple (#5D1451). oklch(37.2% 0.085 314.9), rgb(81, 49, 95).
Aa
White text reads best on this color (10.74:1).
About this color
#51315F is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.085 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 10.74:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.95:1 |
| White text | 10.74:1 |
Values
| HEX | #51315F |
| RGB | rgb(81, 49, 95) |
| HSL | hsl(282, 32%, 28%) |
| OKLCH | oklch(37.2% 0.085 314.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 #51315F | 10.74:1 | AAA | Lc -98.7 | Preferred for body text |
| Black text on #51315F | 1.95:1 | Fails | Lc 9.2 | Not readable |
| #51315F text on white | 10.74:1 | AAA | Lc 94.7 | Preferred for body text |
| #51315F text on black | 1.95:1 | Fails | Lc -7.9 | 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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE6F3
oklch(93.6% 0.02 315.7)
-
Step 200
200
#E2D3EA
oklch(88.6% 0.035 314.1)
-
Step 300
300
#D0B5DD
oklch(80.9% 0.063 314.8)
-
Step 400
400
#B98DCD
oklch(70.8% 0.103 315)
-
Step 500
500
#A76FBF
oklch(63.1% 0.131 315.2)
-
Step 600
600
#9256AC
oklch(55.7% 0.142 314.8)
-
Step 700
700
#7C4693
oklch(49.1% 0.131 314.9)
-
Step 800
800
#653A77
oklch(42.7% 0.108 315.2)
-
Step 900
900 (this color)
#51315F
oklch(37.2% 0.085 314.9)
-
Step 950
950
#301E38
oklch(27% 0.053 314.9)
#51315F 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) | #283C61 | 0.072 |
| Deuteranopia (no green cones) | #313F5E | 0.065 |
| Tritanopia (no blue cones) | #503843 | 0.058 |
| Achromatopsia (no color) | #3E3E3E | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51315F
#51315F
oklch(37.2% 0.085 314.9)
- #2C4A18
#2C4A18
oklch(37.3% 0.084 134.8)
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 #51315F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.064
- Dark Slate Blue #483D8B ΔE 0.077
- Purple Brown #673A3F ΔE 0.082
- Onyx #343A40 ΔE 0.085
- Dark Grey Blue #29465B ΔE 0.086
- Charcoal Grey #3C4142 ΔE 0.087
- Prussian Blue #1D3557 ΔE 0.087
- Plum Purple #4E0550 ΔE 0.088
Use #51315F 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.