Color Reference · Cosmic Dusk

#6E2A97

oklch(43.8% 0.172 310)

HEX
#6E2A97
OKLCH
oklch(43.8% 0.172 310)
RGB
rgb(110, 42, 151)
HSL
hsl(277deg 56% 38%)
Relative Luminance
Y = 0.0721

Using #6E2A97 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 8.6:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 2.08:1
Fail

Using #6E2A97 as Button / Surface Fill

White ink (#FFFFFF) on #6E2A97
Contrast ratio 8.6:1
AAA
Dark ink (#0F172A) on #6E2A97
Contrast ratio 2.08:1
Fail

Recommended accessible ink on #6E2A97: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #6E2A97