#40397b color: Sage Violet
#40397b is rgb(64, 57, 123) in RGB and oklch(38.774% 0.10825 284.983) 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 52%
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 #40397b
#40397b is a soft dark indigo color. In OKLCH it has 38.8% lightness, 0.108 chroma and a hue of 285°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.05: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: #40397b mixed with white
Darker: #40397b mixed with black
Calmer: #40397b with less saturation
Similar named colors
Colors that go with #40397b
Questions about #40397b
What color is #40397b?
#40397b is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 57, 123), in HSL hsl(246.36, 36.67%, 35.29%) and in OKLCH oklch(38.774% 0.10825 284.983).
What colors go well with #40397b?
The complementary color of #40397b is #4d4600. For a calmer combination use the analogous colors #14447c and #5a2f6b. The triadic partners are #712c03 and #005536.
Is white or black text more readable on #40397b?
White text reads better on #40397b: white gives a contrast ratio of 10.05:1 and black gives 2.09:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40397b a warm or cool color?
#40397b is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.8% and its chroma 0.108.