#51418f color: Moonlight Sonata
#51418f is rgb(81, 65, 143) in RGB and oklch(43.301% 0.12399 289.643) 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
- ≈ Cobalt
- indigo-900
- 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 #51418f
#51418f is a soft dark violet color. In OKLCH it has 43.3% lightness, 0.124 chroma and a hue of 290°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.39:1 contrast and black text 2.5:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is indigo-900.
Lighter: #51418f mixed with white
Darker: #51418f mixed with black
Calmer: #51418f with less saturation
Similar named colors
Colors that go with #51418f
Questions about #51418f
What color is #51418f?
#51418f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 65, 143), in HSL hsl(252.31, 37.5%, 40.78%) and in OKLCH oklch(43.301% 0.12399 289.643).
What colors go well with #51418f?
The complementary color of #51418f is #565500. For a calmer combination use the analogous colors #234e93 and #6d367a. The triadic partners are #843600 and #006347.
Is white or black text more readable on #51418f?
White text reads better on #51418f: white gives a contrast ratio of 8.39:1 and black gives 2.5:1. WCAG AA asks for at least 4.5:1 for body text.
Is #51418f a warm or cool color?
#51418f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.3% and its chroma 0.124.