Color Reference · Cosmic Dusk

#3D2771

oklch(34.4% 0.122 293)

HEX
#3D2771
OKLCH
oklch(34.4% 0.122 293)
RGB
rgb(61, 39, 113)
HSL
hsl(258deg 49% 30%)
Relative Luminance
Y = 0.0364

Using #3D2771 as Text Foreground

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

Using #3D2771 as Button / Surface Fill

White ink (#FFFFFF) on #3D2771
Contrast ratio 12.16:1
AAA
Dark ink (#0F172A) on #3D2771
Contrast ratio 1.47:1
Fail

Recommended accessible ink on #3D2771: #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 #3D2771