#514792 color: Moonlight Sonata
#514792 is rgb(81, 71, 146) in RGB and oklch(44.643% 0.11904 286.64) 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 43%
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 #514792
#514792 is a soft dark violet color. In OKLCH it has 44.6% lightness, 0.119 chroma and a hue of 287°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.88:1 contrast and black text 2.67:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.
Lighter: #514792 mixed with white
Darker: #514792 mixed with black
Calmer: #514792 with less saturation
Similar named colors
Colors that go with #514792
Questions about #514792
What color is #514792?
#514792 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 71, 146), in HSL hsl(248, 34.56%, 42.55%) and in OKLCH oklch(44.643% 0.11904 286.64).
What colors go well with #514792?
The complementary color of #514792 is #5d5700. For a calmer combination use the analogous colors #235495 and #6e3c7f. The triadic partners are #873a08 and #006746.
Is white or black text more readable on #514792?
White text reads better on #514792: white gives a contrast ratio of 7.88:1 and black gives 2.67:1. WCAG AA asks for at least 4.5:1 for body text.
Is #514792 a warm or cool color?
#514792 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.6% and its chroma 0.119.