#504a8e color: Moonlight Sonata
#504a8e is rgb(80, 74, 142) in RGB and oklch(44.882% 0.10859 285.152) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Dark
- Soft
- Cool
- ≈ Cobalt
- slate-600
- Black 44%
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 #504a8e
#504a8e is a soft dark indigo color. In OKLCH it has 44.9% lightness, 0.109 chroma and a hue of 285°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.75:1 contrast and black text 2.71:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.
Lighter: #504a8e mixed with white
Darker: #504a8e mixed with black
Calmer: #504a8e with less saturation
Similar named colors
Colors that go with #504a8e
Questions about #504a8e
What color is #504a8e?
#504a8e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 74, 142), in HSL hsl(245.29, 31.48%, 42.35%) and in OKLCH oklch(44.882% 0.10859 285.152).
What colors go well with #504a8e?
The complementary color of #504a8e is #5e5700. For a calmer combination use the analogous colors #265590 and #6b407e. The triadic partners are #843e19 and #006746.
Is white or black text more readable on #504a8e?
White text reads better on #504a8e: white gives a contrast ratio of 7.75:1 and black gives 2.71:1. WCAG AA asks for at least 4.5:1 for body text.
Is #504a8e a warm or cool color?
#504a8e is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.9% and its chroma 0.109.