#462871
Closest named color: Royal Purple (#4B006E). oklch(35.6% 0.121 299.1), rgb(70, 40, 113).
Aa
White text reads best on this color (11.65:1).
About this color
#462871 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.121 and its hue 299°. 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.65: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.65:1 |
Values
| HEX | #462871 |
| RGB | rgb(70, 40, 113) |
| HSL | hsl(265, 48%, 30%) |
| OKLCH | oklch(35.6% 0.121 299.1) |
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 #462871 | 11.65:1 | AAA | Lc -100.1 | Preferred for body text |
| Black text on #462871 | 1.80:1 | Fails | Lc 7.5 | Not readable |
| #462871 text on white | 11.65:1 | AAA | Lc 96.4 | Preferred for body text |
| #462871 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
#DDD2F7
oklch(88.4% 0.052 298.9)
-
Step 300
300
#C8B4F4
oklch(80.9% 0.091 298.7)
-
Step 400
400
#AE8AEE
oklch(70.7% 0.146 299.2)
-
Step 500
500
#9B69E8
oklch(63.1% 0.186 299.2)
-
Step 600
600
#864CD6
oklch(55.5% 0.202 299)
-
Step 700
700
#723CB9
oklch(49% 0.187 299.2)
-
Step 800
800
#5D3396
oklch(42.7% 0.155 299.2)
-
Step 900
900 (this color)
#462871
oklch(35.6% 0.121 299.1)
-
Step 950
950
#2C1C46
oklch(27% 0.076 298.8)
#462871 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) | #003873 | 0.089 |
| Deuteranopia (no green cones) | #0A386F | 0.085 |
| Tritanopia (no blue cones) | #3C3848 | 0.093 |
| Achromatopsia (no color) | #383838 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #462871
#462871
oklch(35.6% 0.121 299.1)
- #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 #462871, 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.079
- Plum Purple #4E0550 ΔE 0.082
- Blueberry #464196 ΔE 0.084
- Prussian Blue #1D3557 ΔE 0.088
- Marine Blue #01386A ΔE 0.091
Use #462871 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.