Color Reference · Cosmic Dusk

#642D92

oklch(42.5% 0.16 306)

HEX
#642D92
OKLCH
oklch(42.5% 0.16 306)
RGB
rgb(100, 45, 146)
HSL
hsl(273deg 53% 37%)
Relative Luminance
Y = 0.0666

Using #642D92 as Text Foreground

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

Using #642D92 as Button / Surface Fill

White ink (#FFFFFF) on #642D92
Contrast ratio 9:1
AAA
Dark ink (#0F172A) on #642D92
Contrast ratio 1.98:1
Fail

Recommended accessible ink on #642D92: #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 #642D92