Color Reference · Royal Lavender

#6E2DA3

oklch(45% 0.181 305)

HEX
#6E2DA3
OKLCH
oklch(45% 0.181 305)
RGB
rgb(110, 45, 163)
HSL
hsl(273deg 57% 41%)
Relative Luminance
Y = 0.0784

Using #6E2DA3 as Text Foreground

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

Using #6E2DA3 as Button / Surface Fill

White ink (#FFFFFF) on #6E2DA3
Contrast ratio 8.18:1
AAA
Dark ink (#0F172A) on #6E2DA3
Contrast ratio 2.18:1
Fail

Recommended accessible ink on #6E2DA3: #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 #6E2DA3