#40397c color: Sage Violet
#40397c is rgb(64, 57, 124) in RGB and oklch(38.846% 0.10974 284.813) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Dark
- Soft
- Cool
- ≈ Charcoal
- indigo-900
- Black 51%
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 #40397c
#40397c is a soft dark indigo color. In OKLCH it has 38.8% lightness, 0.11 chroma and a hue of 285°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.03:1 contrast and black text 2.09:1, so white text reads better.
The closest named color is Sage Violet (#413c7b). In Tailwind CSS the closest color is indigo-900.
Lighter: #40397c mixed with white
Darker: #40397c mixed with black
Calmer: #40397c with less saturation
Similar named colors
Colors that go with #40397c
Questions about #40397c
What color is #40397c?
#40397c is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 57, 124), in HSL hsl(246.27, 37.02%, 35.49%) and in OKLCH oklch(38.846% 0.10974 284.813).
What colors go well with #40397c?
The complementary color of #40397c is #4e4600. For a calmer combination use the analogous colors #12447d and #5a2f6c. The triadic partners are #722c02 and #005536.
Is white or black text more readable on #40397c?
White text reads better on #40397c: white gives a contrast ratio of 10.03:1 and black gives 2.09:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40397c a warm or cool color?
#40397c is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.8% and its chroma 0.11.