#6A3271
Closest named color: Rebecca Purple (#663399). oklch(41.8% 0.118 323.1), rgb(106, 50, 113).
Aa
White text reads best on this color (9.10:1).
About this color
#6A3271 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.118 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.067 away. White text reads best on it, at 9.10:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.30:1 |
| White text | 9.10:1 |
Values
| HEX | #6A3271 |
| RGB | rgb(106, 50, 113) |
| HSL | hsl(293, 39%, 32%) |
| OKLCH | oklch(41.8% 0.118 323.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 #6A3271 | 9.10:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #6A3271 | 2.30:1 | Fails | Lc 13.4 | Not readable |
| #6A3271 text on white | 9.10:1 | AAA | Lc 90.5 | Preferred for body text |
| #6A3271 text on black | 2.30:1 | Fails | Lc -11.8 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F1E6F2
oklch(93.7% 0.02 323.2)
-
Step 200
200
#E6D1E8
oklch(88.5% 0.038 323.2)
-
Step 300
300
#D7B2DB
oklch(80.9% 0.07 323)
-
Step 400
400
#C289C9
oklch(70.8% 0.111 322.9)
-
Step 500
500
#B269BA
oklch(63.1% 0.142 323.4)
-
Step 600
600
#9D4FA6
oklch(55.6% 0.153 323.4)
-
Step 700
700
#863F8F
oklch(49.1% 0.144 323)
-
Step 800
800 (this color)
#6A3271
oklch(41.8% 0.118 323.1)
-
Step 900
900
#582F5E
oklch(37.7% 0.092 322.3)
-
Step 950
950
#341C37
oklch(27.1% 0.058 322.9)
#6A3271 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) | #284473 | 0.114 |
| Deuteranopia (no green cones) | #3A4B6F | 0.101 |
| Tritanopia (no blue cones) | #6C3A4C | 0.071 |
| Achromatopsia (no color) | #484848 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A3271
#6A3271
oklch(41.8% 0.118 323.1)
- #1A5C1A
#1A5C1A
oklch(41.8% 0.119 143.1)
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 #6A3271, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.067
- Rich Purple #720058 ΔE 0.076
- Purple #800080 ΔE 0.076
- Velvet #750851 ΔE 0.077
- Dark Slate Blue #483D8B ΔE 0.078
- Grape Purple #5D1451 ΔE 0.081
- Light Eggplant #894585 ΔE 0.083
- Brownish Purple #76424E ΔE 0.086
Use #6A3271 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.