Color Reference · Cosmic Dusk

#57339B

oklch(42.5% 0.16 294)

HEX
#57339B
OKLCH
oklch(42.5% 0.16 294)
RGB
rgb(87, 51, 155)
HSL
hsl(261deg 50% 40%)
Relative Luminance
Y = 0.0676

Using #57339B as Text Foreground

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

Using #57339B as Button / Surface Fill

White ink (#FFFFFF) on #57339B
Contrast ratio 8.93:1
AAA
Dark ink (#0F172A) on #57339B
Contrast ratio 2:1
Fail

Recommended accessible ink on #57339B: #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 #57339B