#514a8c color: Moonlight Sonata
#514a8c is rgb(81, 74, 140) in RGB and oklch(44.842% 0.10552 286.168) 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 45%
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 #514a8c
#514a8c is a soft dark violet color. In OKLCH it has 44.8% lightness, 0.106 chroma and a hue of 286°.
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: #514a8c mixed with white
Darker: #514a8c mixed with black
Calmer: #514a8c with less saturation
Similar named colors
Colors that go with #514a8c
Questions about #514a8c
What color is #514a8c?
#514a8c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 74, 140), in HSL hsl(246.36, 30.84%, 41.96%) and in OKLCH oklch(44.842% 0.10552 286.168).
What colors go well with #514a8c?
The complementary color of #514a8c is #5d5800. For a calmer combination use the analogous colors #2a558e and #6b407c. The triadic partners are #833f1a and #006747.
Is white or black text more readable on #514a8c?
White text reads better on #514a8c: 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 #514a8c a warm or cool color?
#514a8c is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.8% and its chroma 0.106.