#4b428a color: Moonlight Sonata
#4b428a is rgb(75, 66, 138) in RGB and oklch(42.591% 0.11552 286.112) 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 46%
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 #4b428a
#4b428a is a soft dark violet color. In OKLCH it has 42.6% lightness, 0.116 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.59:1 contrast and black text 2.45:1, so white text reads better.
The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is blue-900.
Lighter: #4b428a mixed with white
Darker: #4b428a mixed with black
Calmer: #4b428a with less saturation
Similar named colors
Colors that go with #4b428a
Questions about #4b428a
What color is #4b428a?
#4b428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 66, 138), in HSL hsl(247.5, 35.29%, 40%) and in OKLCH oklch(42.591% 0.11552 286.112).
What colors go well with #4b428a?
The complementary color of #4b428a is #575100. For a calmer combination use the analogous colors #1d4e8c and #673778. The triadic partners are #7f3506 and #006140.
Is white or black text more readable on #4b428a?
White text reads better on #4b428a: white gives a contrast ratio of 8.59:1 and black gives 2.45:1. WCAG AA asks for at least 4.5:1 for body text.
Is #4b428a a warm or cool color?
#4b428a is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.6% and its chroma 0.116.