#6A2871
Closest named color: Rich Purple (#720058). oklch(40.4% 0.135 323.8), rgb(106, 40, 113).
Aa
White text reads best on this color (9.74:1).
About this color
#6A2871 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.135 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.061 away. White text reads best on it, at 9.74:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Rich Purple (#720058) |
| Black text | 2.15:1 |
| White text | 9.74:1 |
Values
| HEX | #6A2871 |
| RGB | rgb(106, 40, 113) |
| HSL | hsl(294, 48%, 30%) |
| OKLCH | oklch(40.4% 0.135 323.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 #6A2871 | 9.74:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #6A2871 | 2.15:1 | Fails | Lc 12.0 | Not readable |
| #6A2871 text on white | 9.74:1 | AAA | Lc 92.0 | Preferred for body text |
| #6A2871 text on black | 2.15:1 | Fails | Lc -10.4 | 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 800.
-
Step 50
50
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F3
oklch(93.6% 0.023 323.6)
-
Step 200
200
#E8D0EA
oklch(88.5% 0.044 323.6)
-
Step 300
300
#DAB0DE
oklch(80.9% 0.078 323.4)
-
Step 400
400
#C784CD
oklch(70.6% 0.127 323.9)
-
Step 500
500
#B763C0
oklch(63.1% 0.161 323.6)
-
Step 600
600
#A347AC
oklch(55.7% 0.175 324)
-
Step 700
700
#8B3794
oklch(49.1% 0.164 323.7)
-
Step 800
800 (this color)
#6A2871
oklch(40.4% 0.135 323.8)
-
Step 900
900
#5C2B61
oklch(37.8% 0.105 323.8)
-
Step 950
950
#361A39
oklch(27.1% 0.066 323.6)
#6A2871 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) | #1A3F73 | 0.135 |
| Deuteranopia (no green cones) | #33476F | 0.118 |
| Tritanopia (no blue cones) | #6C3348 | 0.081 |
| Achromatopsia (no color) | #444444 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A2871
#6A2871
oklch(40.4% 0.135 323.8)
- #00590B
#00590B
oklch(40.3% 0.132 143.7)
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 #6A2871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Purple #720058 ΔE 0.061
- Purple #800080 ΔE 0.062
- Velvet #750851 ΔE 0.066
- Grape Purple #5D1451 ΔE 0.068
- Rebecca Purple #663399 ΔE 0.068
- Dark Magenta #8B008B ΔE 0.084
- Dark Slate Blue #483D8B ΔE 0.085
- Red Purple #820747 ΔE 0.088
Use #6A2871 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.