#6E04A8
Closest named color: Grape (#7209B7). oklch(42.6% 0.217 306.7), rgb(110, 4, 168).
Aa
White text reads best on this color (9.35:1).
About this color
#6E04A8 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.217 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape (#7209B7), ΔE 0.026 away. White text reads best on it, at 9.35:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.217) |
| Temperature | in between |
| Nearest name | Grape (#7209B7) |
| Black text | 2.24:1 |
| White text | 9.35:1 |
Values
| HEX | #6E04A8 |
| RGB | rgb(110, 4, 168) |
| HSL | hsl(279, 95%, 34%) |
| OKLCH | oklch(42.6% 0.217 306.7) |
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 #6E04A8 | 9.35:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #6E04A8 | 2.24:1 | Fails | Lc 14.5 | Not readable |
| #6E04A8 text on white | 9.35:1 | AAA | Lc 89.5 | Fine for body text |
| #6E04A8 text on black | 2.24:1 | Fails | Lc -12.7 | 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
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#F0E4FE
oklch(93.6% 0.037 306.4)
-
Step 200
200
#E5CEFE
oklch(88.6% 0.069 306.7)
-
Step 300
300
#D5ABFF
oklch(80.8% 0.123 306.7)
-
Step 400
400
#C179FF
oklch(70.8% 0.197 306.9)
-
Step 500
500
#B249FF
oklch(63.1% 0.257 306.7)
-
Step 600
600
#9F0CEF
oklch(55.6% 0.281 306.8)
-
Step 700
700
#8700CD
oklch(49.2% 0.253 306.7)
-
Step 800
800 (this color)
#6E04A8
oklch(42.6% 0.217 306.7)
-
Step 900
900
#591885
oklch(37.7% 0.168 306.7)
-
Step 950
950
#34114E
oklch(26.9% 0.107 306.7)
#6E04A8 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) | #0044AC | 0.159 |
| Deuteranopia (no green cones) | #0047A5 | 0.161 |
| Tritanopia (no blue cones) | #633D61 | 0.150 |
| Achromatopsia (no color) | #474747 | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6E04A8
#6E04A8
oklch(42.6% 0.217 306.7)
- #3F5900
#3F5900
oklch(42.7% 0.11 126.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 #6E04A8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape #7209B7 ΔE 0.026
- Chrysanthemum #560BAD ΔE 0.053
- Rebecca Purple #663399 ΔE 0.059
- Purple #800080 ΔE 0.081
- Imperial Purple #480CA8 ΔE 0.081
- Purple Blue #5D21D0 ΔE 0.082
- Dark Magenta #8B008B ΔE 0.083
- Violet Blue #510AC9 ΔE 0.086
Use #6E04A8 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.