#51428e color: Moonlight Sonata
#51428e is rgb(81, 66, 142) in RGB and oklch(43.418% 0.12101 289.461) 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
- blue-900
- Black 44%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #51428e
#51428e is a soft dark violet color. In OKLCH it has 43.4% lightness, 0.121 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.33:1 contrast and black text 2.52:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is blue-900.
Lighter: #51428e mixed with white
Darker: #51428e mixed with black
Calmer: #51428e with less saturation
Similar named colors
Colors that go with #51428e
Questions about #51428e
What color is #51428e?
#51428e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 66, 142), in HSL hsl(251.84, 36.54%, 40.78%) and in OKLCH oklch(43.418% 0.12101 289.461).
What colors go well with #51428e?
The complementary color of #51428e is #565500. For a calmer combination use the analogous colors #244f92 and #6d377a. The triadic partners are #833700 and #006347.
Is white or black text more readable on #51428e?
White text reads better on #51428e: white gives a contrast ratio of 8.33:1 and black gives 2.52:1. WCAG AA asks for at least 4.5:1 for body text.
Is #51428e a warm or cool color?
#51428e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.4% and its chroma 0.121.