Color Reference · Royal Lavender

#6B2EA5

oklch(44.9% 0.181 303)

HEX
#6B2EA5
OKLCH
oklch(44.9% 0.181 303)
RGB
rgb(107, 46, 165)
HSL
hsl(271deg 56% 41%)
Relative Luminance
Y = 0.078

Using #6B2EA5 as Text Foreground

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

Using #6B2EA5 as Button / Surface Fill

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

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