Color Reference · Royal Lavender

#6F2CA2

oklch(45% 0.181 306)

HEX
#6F2CA2
OKLCH
oklch(45% 0.181 306)
RGB
rgb(111, 44, 162)
HSL
hsl(274deg 57% 40%)
Relative Luminance
Y = 0.0779

Using #6F2CA2 as Text Foreground

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

Using #6F2CA2 as Button / Surface Fill

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

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