Color Reference · Cosmic Dusk

#4B2D71

oklch(37% 0.114 301)

HEX
#4B2D71
OKLCH
oklch(37% 0.114 301)
RGB
rgb(75, 45, 113)
HSL
hsl(266deg 43% 31%)
Relative Luminance
Y = 0.0456

Using #4B2D71 as Text Foreground

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

Using #4B2D71 as Button / Surface Fill

White ink (#FFFFFF) on #4B2D71
Contrast ratio 10.98:1
AAA
Dark ink (#0F172A) on #4B2D71
Contrast ratio 1.63:1
Fail

Recommended accessible ink on #4B2D71: #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 #4B2D71