#6A1E78
Closest named color: Purple (#800080). oklch(39.7% 0.155 320.9), rgb(106, 30, 120).
Aa
White text reads best on this color (10.14:1).
About this color
#6A1E78 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.155 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.050 away. White text reads best on it, at 10.14:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Purple (#800080) |
| Black text | 2.06:1 |
| White text | 10.14:1 |
Values
| HEX | #6A1E78 |
| RGB | rgb(106, 30, 120) |
| HSL | hsl(291, 60%, 29%) |
| OKLCH | oklch(39.7% 0.155 320.9) |
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 #6A1E78 | 10.14:1 | AAA | Lc -96.8 | Preferred for body text |
| Black text on #6A1E78 | 2.06:1 | Fails | Lc 11.3 | Not readable |
| #6A1E78 text on white | 10.14:1 | AAA | Lc 92.6 | Preferred for body text |
| #6A1E78 text on black | 2.06:1 | Fails | Lc -9.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 900.
-
Step 50
50
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F5E3F8
oklch(93.6% 0.034 321.4)
-
Step 200
200
#EDCCF4
oklch(88.5% 0.065 320.3)
-
Step 300
300
#E3A8EE
oklch(81% 0.115 321.1)
-
Step 400
400
#D374E6
oklch(70.7% 0.186 320.7)
-
Step 500
500
#C645DE
oklch(63% 0.238 320.9)
-
Step 600
600
#B210CC
oklch(55.7% 0.259 320.9)
-
Step 700
700
#9700AE
oklch(49% 0.234 320.9)
-
Step 800
800
#7C078F
oklch(42.7% 0.2 320.8)
-
Step 900
900 (this color)
#6A1E78
oklch(39.7% 0.155 320.9)
-
Step 950
950
#3B1043
oklch(27% 0.099 321)
#6A1E78 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) | #003C7B | 0.156 |
| Deuteranopia (no green cones) | #284476 | 0.135 |
| Tritanopia (no blue cones) | #6B2F49 | 0.095 |
| Achromatopsia (no color) | #414141 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A1E78
#6A1E78
oklch(39.7% 0.155 320.9)
- #0F5700
#0F5700
oklch(39.8% 0.131 141)
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 #6A1E78, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple #800080 ΔE 0.050
- Rich Purple #720058 ΔE 0.062
- Rebecca Purple #663399 ΔE 0.065
- Grape Purple #5D1451 ΔE 0.072
- Velvet #750851 ΔE 0.072
- Dark Magenta #8B008B ΔE 0.074
- Indigo #4B0082 ΔE 0.084
- Royal Purple #4B006E ΔE 0.084
Use #6A1E78 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.