#51438d color: Moonlight Sonata
#51438d is rgb(81, 67, 141) in RGB and oklch(43.538% 0.11801 289.259) 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 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 #51438d
#51438d is a soft dark violet color. In OKLCH it has 43.5% lightness, 0.118 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.28: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: #51438d mixed with white
Darker: #51438d mixed with black
Calmer: #51438d with less saturation
Similar named colors
Colors that go with #51438d
Questions about #51438d
What color is #51438d?
#51438d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 67, 141), in HSL hsl(251.35, 35.58%, 40.78%) and in OKLCH oklch(43.538% 0.11801 289.259).
What colors go well with #51438d?
The complementary color of #51438d is #575500. For a calmer combination use the analogous colors #264f91 and #6c387a. The triadic partners are #823800 and #006447.
Is white or black text more readable on #51438d?
White text reads better on #51438d: white gives a contrast ratio of 8.28:1 and black gives 2.54:1. WCAG AA asks for at least 4.5:1 for body text.
Is #51438d a warm or cool color?
#51438d is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.5% and its chroma 0.118.