Color Reference · Cosmic Dusk

#742E7A

oklch(43.1% 0.14 324)

HEX
#742E7A
OKLCH
oklch(43.1% 0.14 324)
RGB
rgb(116, 46, 122)
HSL
hsl(295deg 45% 33%)
Relative Luminance
Y = 0.0707

Using #742E7A as Text Foreground

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

Using #742E7A as Button / Surface Fill

White ink (#FFFFFF) on #742E7A
Contrast ratio 8.7:1
AAA
Dark ink (#0F172A) on #742E7A
Contrast ratio 2.05:1
Fail

Recommended accessible ink on #742E7A: #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 #742E7A