#40397a color: Sage Violet
#40397a is rgb(64, 57, 122) in RGB and oklch(38.702% 0.10675 285.155) 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 #40397a
#40397a is a soft dark indigo color. In OKLCH it has 38.7% lightness, 0.107 chroma and a hue of 285°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.08:1 contrast and black text 2.08:1, so white text reads better.
The closest named color is Sage Violet (#413c7b). In Tailwind CSS the closest color is indigo-900.
Lighter: #40397a mixed with white
Darker: #40397a mixed with black
Calmer: #40397a with less saturation
Similar named colors
Colors that go with #40397a
Questions about #40397a
What color is #40397a?
#40397a is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 57, 122), in HSL hsl(246.46, 36.31%, 35.1%) and in OKLCH oklch(38.702% 0.10675 285.155).
What colors go well with #40397a?
The complementary color of #40397a is #4d4600. For a calmer combination use the analogous colors #15447c and #592f6b. The triadic partners are #702d04 and #005536.
Is white or black text more readable on #40397a?
White text reads better on #40397a: white gives a contrast ratio of 10.08:1 and black gives 2.08:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40397a a warm or cool color?
#40397a is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.7% and its chroma 0.107.