#301f4c color: Elderberry
#301f4c is rgb(48, 31, 76) in RGB and oklch(28.539% 0.08054 298.615) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- indigo-950
- Black 70%
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 #301f4c
#301f4c is a soft very dark violet color. In OKLCH it has 28.5% lightness, 0.081 chroma and a hue of 299°.
Inside sRGB: displays the same on any screen.
White text on it reaches 14.73:1 contrast and black text 1.43:1, so white text reads better.
The closest named color is Elderberry (#2e2249). In Tailwind CSS the closest color is indigo-950.
Lighter: #301f4c mixed with white
Darker: #301f4c mixed with black
Calmer: #301f4c with less saturation
Similar named colors
Colors that go with #301f4c
Questions about #301f4c
What color is #301f4c?
#301f4c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(48, 31, 76), in HSL hsl(262.67, 42.06%, 20.98%) and in OKLCH oklch(28.539% 0.08054 298.615).
What colors go well with #301f4c?
The complementary color of #301f4c is #272f00. For a calmer combination use the analogous colors #1a2652 and #3f193e. The triadic partners are #461d00 and #00352b.
Is white or black text more readable on #301f4c?
White text reads better on #301f4c: white gives a contrast ratio of 14.73:1 and black gives 1.43:1. WCAG AA asks for at least 4.5:1 for body text.
Is #301f4c a warm or cool color?
#301f4c is a cool color. In OKLCH its hue is 299 degrees, its lightness 28.5% and its chroma 0.081.