#512978 color: Mystic Nights
#512978 is rgb(81, 41, 120) in RGB and oklch(37.574% 0.13064 304.066) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Purple
- Dark
- Soft
- Neutral
- ≈ Indigo
- purple-900
- Black 53%
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 #512978
#512978 is a soft dark purple color. In OKLCH it has 37.6% lightness, 0.131 chroma and a hue of 304°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.83:1 contrast and black text 1.94:1, so white text reads better.
The closest named color is Mystic Nights (#4b2c74). In Tailwind CSS the closest color is purple-900.
Lighter: #512978 mixed with white
Darker: #512978 mixed with black
Calmer: #512978 with less saturation
Similar named colors
Colors that go with #512978
Questions about #512978
What color is #512978?
#512978 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(81, 41, 120), in HSL hsl(270.38, 49.07%, 31.57%) and in OKLCH oklch(37.574% 0.13064 304.066).
What colors go well with #512978?
The complementary color of #512978 is #354a00. For a calmer combination use the analogous colors #2e3685 and #671e5d. The triadic partners are #663100 and #004f46.
Is white or black text more readable on #512978?
White text reads better on #512978: white gives a contrast ratio of 10.83:1 and black gives 1.94:1. WCAG AA asks for at least 4.5:1 for body text.
Is #512978 a warm or cool color?
#512978 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 37.6% and its chroma 0.131.