#4d4187 color: Moonlight Sonata
#4d4187 is rgb(77, 65, 135) in RGB and oklch(42.373% 0.11255 288.526) 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
- indigo-900
- Black 47%
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 #4d4187
#4d4187 is a soft dark violet color. In OKLCH it has 42.4% lightness, 0.113 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.67:1 contrast and black text 2.42:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is indigo-900.
Lighter: #4d4187 mixed with white
Darker: #4d4187 mixed with black
Calmer: #4d4187 with less saturation
Similar named colors
Colors that go with #4d4187
Questions about #4d4187
What color is #4d4187?
#4d4187 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 65, 135), in HSL hsl(250.29, 35%, 39.22%) and in OKLCH oklch(42.373% 0.11255 288.526).
What colors go well with #4d4187?
The complementary color of #4d4187 is #545200. For a calmer combination use the analogous colors #244d8a and #673775. The triadic partners are #7d3703 and #006043.
Is white or black text more readable on #4d4187?
White text reads better on #4d4187: white gives a contrast ratio of 8.67:1 and black gives 2.42:1. WCAG AA asks for at least 4.5:1 for body text.
Is #4d4187 a warm or cool color?
#4d4187 is a cool color. In OKLCH its hue is 289 degrees, its lightness 42.4% and its chroma 0.113.