Color Reference · Royal Lavender

#6A37AE

oklch(46.6% 0.18 299)

HEX
#6A37AE
OKLCH
oklch(46.6% 0.18 299)
RGB
rgb(106, 55, 174)
HSL
hsl(266deg 52% 45%)
Relative Luminance
Y = 0.0885

Using #6A37AE as Text Foreground

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

Using #6A37AE as Button / Surface Fill

White ink (#FFFFFF) on #6A37AE
Contrast ratio 7.58:1
AAA
Dark ink (#0F172A) on #6A37AE
Contrast ratio 2.36:1
Fail

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