Color Reference · Cosmic Dusk

#3D315E

oklch(34.9% 0.077 294)

HEX
#3D315E
OKLCH
oklch(34.9% 0.077 294)
RGB
rgb(61, 49, 94)
HSL
hsl(256deg 31% 28%)
Relative Luminance
Y = 0.04

Using #3D315E as Text Foreground

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

Using #3D315E as Button / Surface Fill

White ink (#FFFFFF) on #3D315E
Contrast ratio 11.67:1
AAA
Dark ink (#0F172A) on #3D315E
Contrast ratio 1.53:1
Fail

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