Color Reference · Cosmic Dusk

#3B276F

oklch(34% 0.119 292)

HEX
#3B276F
OKLCH
oklch(34% 0.119 292)
RGB
rgb(59, 39, 111)
HSL
hsl(257deg 48% 29%)
Relative Luminance
Y = 0.0353

Using #3B276F as Text Foreground

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

Using #3B276F as Button / Surface Fill

White ink (#FFFFFF) on #3B276F
Contrast ratio 12.31:1
AAA
Dark ink (#0F172A) on #3B276F
Contrast ratio 1.45:1
Fail

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