#5a51a0 color: Coronation Blue
#5a51a0 is rgb(90, 81, 160) in RGB and oklch(48.292% 0.12337 286.01) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Dark
- Soft
- Cool
- ≈ Denim
- slate-600
- Black 37%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #5a51a0
#5a51a0 is a soft dark violet color. In OKLCH it has 48.3% lightness, 0.123 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 6.73:1 contrast and black text 3.12:1, so white text reads better.
The closest named color is Coronation Blue (#59529c). In Tailwind CSS the closest color is slate-600.
Lighter: #5a51a0 mixed with white
Darker: #5a51a0 mixed with black
Calmer: #5a51a0 with less saturation
Similar named colors
Colors that go with #5a51a0
Questions about #5a51a0
What color is #5a51a0?
#5a51a0 is soft dark violet. The closest named color is Coronation Blue. In RGB it is rgb(90, 81, 160), in HSL hsl(246.84, 32.78%, 47.25%) and in OKLCH oklch(48.292% 0.12337 286.01).
What colors go well with #5a51a0?
The complementary color of #5a51a0 is #686100. For a calmer combination use the analogous colors #295ea2 and #79458d. The triadic partners are #954314 and #00734e.
Is white or black text more readable on #5a51a0?
White text reads better on #5a51a0: white gives a contrast ratio of 6.73:1 and black gives 3.12:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5a51a0 a warm or cool color?
#5a51a0 is a cool color. In OKLCH its hue is 286 degrees, its lightness 48.3% and its chroma 0.123.