#52498d color: Moonlight Sonata
#52498d is rgb(82, 73, 141) in RGB and oklch(44.795% 0.10851 287.243) 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
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #52498d
#52498d is a soft dark violet color. In OKLCH it has 44.8% lightness, 0.109 chroma and a hue of 287°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.79:1 contrast and black text 2.7:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.
Lighter: #52498d mixed with white
Darker: #52498d mixed with black
Calmer: #52498d with less saturation
Similar named colors
Colors that go with #52498d
Questions about #52498d
What color is #52498d?
#52498d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 73, 141), in HSL hsl(247.94, 31.78%, 41.96%) and in OKLCH oklch(44.795% 0.10851 287.243).
What colors go well with #52498d?
The complementary color of #52498d is #5c5800. For a calmer combination use the analogous colors #2a5490 and #6d3f7c. The triadic partners are #843e16 and #006748.
Is white or black text more readable on #52498d?
White text reads better on #52498d: white gives a contrast ratio of 7.79:1 and black gives 2.7:1. WCAG AA asks for at least 4.5:1 for body text.
Is #52498d a warm or cool color?
#52498d is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.8% and its chroma 0.109.