Color Values
- HEX
- #402D8A
- RGB
- rgb(64, 45, 138)
- HSL
- hsl(252, 51%, 36%)
- OKLCH
- oklch(37.8% 0.147 286.5)
- CMYK
- cmyk(54%, 67%, 0%, 46%)
- HWB
- hwb(252 18% 46%)
Tints & Shades
Color Harmonies
Accessibility
White Text
Aa
Sample text
Contrast10.71:1
AA ✓AAA ✓
Black Text
Aa
Sample text
Contrast1.96:1
AA ✗AAA ✗
Recommended text color: white
Color Blindness Simulation
Pantone Match
Violet C
89% match
Blue 072 C
85% match
Cool Gray 11 C
85% match
Color Psychology
Moods & Feelings
trustworthycalmprofessionalsecurepeaceful
Best for Industries
financehealthcaretechnologycorporatelegal
Tailwind CSS Palette
Full Tailwind config →50100200300400500600700800900950
Machine-readable color data: