#51438e color: Moonlight Sonata
#51438e is rgb(81, 67, 142) in RGB and oklch(43.606% 0.11945 289.056) 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
- blue-900
- Black 44%
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 #51438e
#51438e is a soft dark violet color. In OKLCH it has 43.6% lightness, 0.119 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.26:1 contrast and black text 2.54:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is blue-900.
Lighter: #51438e mixed with white
Darker: #51438e mixed with black
Calmer: #51438e with less saturation
Similar named colors
Colors that go with #51438e
Questions about #51438e
What color is #51438e?
#51438e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 67, 142), in HSL hsl(251.2, 35.89%, 40.98%) and in OKLCH oklch(43.606% 0.11945 289.056).
What colors go well with #51438e?
The complementary color of #51438e is #575500. For a calmer combination use the analogous colors #255092 and #6d387a. The triadic partners are #833800 and #006447.
Is white or black text more readable on #51438e?
White text reads better on #51438e: white gives a contrast ratio of 8.26:1 and black gives 2.54:1. WCAG AA asks for at least 4.5:1 for body text.
Is #51438e a warm or cool color?
#51438e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.6% and its chroma 0.119.