#512878 color: Mystic Nights
#512878 is rgb(81, 40, 120) in RGB and oklch(37.426% 0.13215 304.29) 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 #512878
#512878 is a soft dark purple color. In OKLCH it has 37.4% lightness, 0.132 chroma and a hue of 304°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.91:1 contrast and black text 1.92:1, so white text reads better.
The closest named color is Mystic Nights (#4b2c74). In Tailwind CSS the closest color is purple-900.
Lighter: #512878 mixed with white
Darker: #512878 mixed with black
Calmer: #512878 with less saturation
Similar named colors
Colors that go with #512878
Questions about #512878
What color is #512878?
#512878 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(81, 40, 120), in HSL hsl(270.75, 50%, 31.37%) and in OKLCH oklch(37.426% 0.13215 304.29).
What colors go well with #512878?
The complementary color of #512878 is #344a00. For a calmer combination use the analogous colors #2e3585 and #681c5d. The triadic partners are #653100 and #004f46.
Is white or black text more readable on #512878?
White text reads better on #512878: white gives a contrast ratio of 10.91:1 and black gives 1.92:1. WCAG AA asks for at least 4.5:1 for body text.
Is #512878 a warm or cool color?
#512878 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 37.4% and its chroma 0.132.