#40397f color: Sage Violet
#40397f is rgb(64, 57, 127) in RGB and oklch(39.066% 0.1142 284.318) 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
- ≈ Cobalt
- indigo-900
- Black 50%
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 #40397f
#40397f is a soft dark indigo color. In OKLCH it has 39.1% lightness, 0.114 chroma and a hue of 284°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.95:1 contrast and black text 2.11:1, so white text reads better.
The closest named color is Sage Violet (#413c7b). In Tailwind CSS the closest color is indigo-900.
Lighter: #40397f mixed with white
Darker: #40397f mixed with black
Calmer: #40397f with less saturation
Similar named colors
Colors that go with #40397f
Questions about #40397f
What color is #40397f?
#40397f is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 57, 127), in HSL hsl(246, 38.04%, 36.08%) and in OKLCH oklch(39.066% 0.1142 284.318).
What colors go well with #40397f?
The complementary color of #40397f is #4f4700. For a calmer combination use the analogous colors #0d4580 and #5b2e6f. The triadic partners are #742b00 and #005636.
Is white or black text more readable on #40397f?
White text reads better on #40397f: white gives a contrast ratio of 9.95:1 and black gives 2.11:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40397f a warm or cool color?
#40397f is a cool color. In OKLCH its hue is 284 degrees, its lightness 39.1% and its chroma 0.114.