#52478b color: Moonlight Sonata
#52478b is rgb(82, 71, 139) in RGB and oklch(44.271% 0.10873 288.578) 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 #52478b
#52478b is a soft dark violet color. In OKLCH it has 44.3% lightness, 0.109 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.98:1 contrast and black text 2.63:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.
Lighter: #52478b mixed with white
Darker: #52478b mixed with black
Calmer: #52478b with less saturation
Similar named colors
Colors that go with #52478b
Questions about #52478b
What color is #52478b?
#52478b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 71, 139), in HSL hsl(249.71, 32.38%, 41.18%) and in OKLCH oklch(44.271% 0.10873 288.578).
What colors go well with #52478b?
The complementary color of #52478b is #595700. For a calmer combination use the analogous colors #2b528e and #6c3d79. The triadic partners are #823d11 and #006648.
Is white or black text more readable on #52478b?
White text reads better on #52478b: white gives a contrast ratio of 7.98:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.
Is #52478b a warm or cool color?
#52478b is a cool color. In OKLCH its hue is 289 degrees, its lightness 44.3% and its chroma 0.109.