#472871
Closest named color: Royal Purple (#4B006E). oklch(35.7% 0.121 299.8), rgb(71, 40, 113).
Aa
White text reads best on this color (11.60:1).
About this color
#472871 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.121 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.060 away. White text reads best on it, at 11.60:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.121) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.80:1 |
| White text | 11.60:1 |
Values
| HEX | #472871 |
| RGB | rgb(71, 40, 113) |
| HSL | hsl(265, 48%, 30%) |
| OKLCH | oklch(35.7% 0.121 299.8) |
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 #472871 | 11.60:1 | AAA | Lc -100.0 | Preferred for body text |
| Black text on #472871 | 1.80:1 | Fails | Lc 7.6 | Not readable |
| #472871 text on white | 11.60:1 | AAA | Lc 96.3 | Preferred for body text |
| #472871 text on black | 1.80: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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6F9
oklch(93.5% 0.026 300.3)
-
Step 200
200
#DED2F6
oklch(88.5% 0.051 300.6)
-
Step 300
300
#C9B4F3
oklch(80.9% 0.09 299.7)
-
Step 400
400
#AF8AED
oklch(70.8% 0.145 299.9)
-
Step 500
500
#9C69E7
oklch(63.1% 0.185 299.8)
-
Step 600
600
#884CD5
oklch(55.7% 0.201 300)
-
Step 700
700
#733CB9
oklch(49.2% 0.187 299.6)
-
Step 800
800
#5E3296
oklch(42.7% 0.157 300)
-
Step 900
900 (this color)
#472871
oklch(35.7% 0.121 299.8)
-
Step 950
950
#2D1C46
oklch(27.1% 0.076 300)
#472871 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) | #003973 | 0.091 |
| Deuteranopia (no green cones) | #0C386F | 0.086 |
| Tritanopia (no blue cones) | #3E3848 | 0.093 |
| Achromatopsia (no color) | #393939 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #472871
#472871
oklch(35.7% 0.121 299.8)
- #374200
#374200
oklch(35.6% 0.084 119.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 #472871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.060
- Indigo #4B0082 ΔE 0.061
- Dark Slate Blue #483D8B ΔE 0.065
- Grape Purple #5D1451 ΔE 0.078
- Plum Purple #4E0550 ΔE 0.081
- Blueberry #464196 ΔE 0.083
- Prussian Blue #1D3557 ΔE 0.090
- Deep Violet #490648 ΔE 0.092
Use #472871 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.