#51175B
Closest named color: Plum Purple (#4E0550). oklch(33.1% 0.125 321.4), rgb(81, 23, 91).
Aa
White text reads best on this color (12.93:1).
About this color
#51175B is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.125 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.032 away. White text reads best on it, at 12.93:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Plum Purple (#4E0550) |
| Black text | 1.62:1 |
| White text | 12.93:1 |
Values
| HEX | #51175B |
| RGB | rgb(81, 23, 91) |
| HSL | hsl(291, 60%, 22%) |
| OKLCH | oklch(33.1% 0.125 321.4) |
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 #51175B | 12.93:1 | AAA | Lc -101.8 | Preferred for body text |
| Black text on #51175B | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #51175B text on white | 12.93:1 | AAA | Lc 98.4 | Preferred for body text |
| #51175B text on black | 1.62:1 | Fails | Lc 0.0 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EACEEE
oklch(88.4% 0.053 322)
-
Step 300
300
#DDADE5
oklch(80.9% 0.093 321.6)
-
Step 400
400
#CB7FD8
oklch(70.8% 0.149 321.6)
-
Step 500
500
#BC5ACE
oklch(63.2% 0.191 321.2)
-
Step 600
600
#A73ABA
oklch(55.6% 0.207 321.3)
-
Step 700
700
#8F2AA1
oklch(49.1% 0.194 321.1)
-
Step 800
800
#742582
oklch(42.6% 0.16 321.2)
-
Step 900
900 (this color)
#51175B
oklch(33.1% 0.125 321.4)
-
Step 950
950
#37173D
oklch(27% 0.078 321.1)
#51175B 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) | #002D5D | 0.128 |
| Deuteranopia (no green cones) | #1F3459 | 0.109 |
| Tritanopia (no blue cones) | #522337 | 0.075 |
| Achromatopsia (no color) | #313131 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51175B
#51175B
oklch(33.1% 0.125 321.4)
- #074200
#074200
oklch(33% 0.109 141.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 #51175B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum Purple #4E0550 ΔE 0.032
- Grape Purple #5D1451 ΔE 0.033
- Deep Violet #490648 ΔE 0.045
- Royal Purple #4B006E ΔE 0.048
- Eggplant Purple #430541 ΔE 0.062
- Rich Purple #720058 ΔE 0.073
- Indigo #4B0082 ΔE 0.075
- Velvet #750851 ΔE 0.082
Use #51175B 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.