#68227B
Closest named color: Purple (#800080). oklch(40% 0.152 318.2), rgb(104, 34, 123).
Aa
White text reads best on this color (9.98:1).
About this color
#68227B is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.152 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.055 away. White text reads best on it, at 9.98:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Purple (#800080) |
| Black text | 2.10:1 |
| White text | 9.98:1 |
Values
| HEX | #68227B |
| RGB | rgb(104, 34, 123) |
| HSL | hsl(287, 57%, 31%) |
| OKLCH | oklch(40% 0.152 318.2) |
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 #68227B | 9.98:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #68227B | 2.10:1 | Fails | Lc 11.6 | Not readable |
| #68227B text on white | 9.98:1 | AAA | Lc 92.4 | Preferred for body text |
| #68227B text on black | 2.10:1 | Fails | Lc -10.1 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F9
oklch(93.6% 0.034 318.5)
-
Step 200
200
#EBCDF5
oklch(88.6% 0.063 317.6)
-
Step 300
300
#E0A9F0
oklch(80.9% 0.114 318.5)
-
Step 400
400
#CF76E9
oklch(70.7% 0.184 318.2)
-
Step 500
500
#C14AE2
oklch(63.1% 0.234 318.1)
-
Step 600
600
#AD1DCF
oklch(55.7% 0.253 318.4)
-
Step 700
700
#9404B3
oklch(49.1% 0.235 318.3)
-
Step 800
800
#781091
oklch(42.6% 0.195 318.2)
-
Step 900
900 (this color)
#68227B
oklch(40% 0.152 318.2)
-
Step 950
950
#391244
oklch(27% 0.096 318)
#68227B 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) | #003E7E | 0.149 |
| Deuteranopia (no green cones) | #264579 | 0.130 |
| Tritanopia (no blue cones) | #68334C | 0.095 |
| Achromatopsia (no color) | #424242 | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #68227B
#68227B
oklch(40% 0.152 318.2)
- #1E5600
#1E5600
oklch(40% 0.124 138.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 #68227B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple #800080 ΔE 0.055
- Rebecca Purple #663399 ΔE 0.057
- Rich Purple #720058 ΔE 0.069
- Grape Purple #5D1451 ΔE 0.077
- Dark Magenta #8B008B ΔE 0.077
- Velvet #750851 ΔE 0.079
- Indigo #4B0082 ΔE 0.082
- Dark Slate Blue #483D8B ΔE 0.082
Use #68227B 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.