#51498e color: Moonlight Sonata
#51498e is rgb(81, 73, 142) in RGB and oklch(44.77% 0.11006 286.362) 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
- slate-600
- 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 #51498e
#51498e is a soft dark violet color. In OKLCH it has 44.8% lightness, 0.11 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.8:1 contrast and black text 2.69:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.
Lighter: #51498e mixed with white
Darker: #51498e mixed with black
Calmer: #51498e with less saturation
Similar named colors
Colors that go with #51498e
Questions about #51498e
What color is #51498e?
#51498e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 73, 142), in HSL hsl(246.96, 32.09%, 42.16%) and in OKLCH oklch(44.77% 0.11006 286.362).
What colors go well with #51498e?
The complementary color of #51498e is #5d5700. For a calmer combination use the analogous colors #275590 and #6c3f7d. The triadic partners are #843d15 and #006747.
Is white or black text more readable on #51498e?
White text reads better on #51498e: white gives a contrast ratio of 7.8:1 and black gives 2.69:1. WCAG AA asks for at least 4.5:1 for body text.
Is #51498e a warm or cool color?
#51498e is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.8% and its chroma 0.11.