Color Reference · Cosmic Dusk

#51369E

oklch(42.6% 0.16 290)

HEX
#51369E
OKLCH
oklch(42.6% 0.16 290)
RGB
rgb(81, 54, 158)
HSL
hsl(256deg 49% 42%)
Relative Luminance
Y = 0.0686

Using #51369E as Text Foreground

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

Using #51369E as Button / Surface Fill

White ink (#FFFFFF) on #51369E
Contrast ratio 8.86:1
AAA
Dark ink (#0F172A) on #51369E
Contrast ratio 2.02:1
Fail

Recommended accessible ink on #51369E: #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 #51369E