#40387a color: Sage Violet
#40387a is rgb(64, 56, 122) in RGB and oklch(38.503% 0.10831 285.65) 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
- ≈ Indigo
- 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 #40387a
#40387a is a soft dark indigo color. In OKLCH it has 38.5% lightness, 0.108 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.17:1 contrast and black text 2.06:1, so white text reads better.
The closest named color is Sage Violet (#413c7b). In Tailwind CSS the closest color is indigo-900.
Lighter: #40387a mixed with white
Darker: #40387a mixed with black
Calmer: #40387a with less saturation
Similar named colors
Colors that go with #40387a
Questions about #40387a
What color is #40387a?
#40387a is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 56, 122), in HSL hsl(247.27, 37.08%, 34.9%) and in OKLCH oklch(38.503% 0.10831 285.65).
What colors go well with #40387a?
The complementary color of #40387a is #4c4600. For a calmer combination use the analogous colors #15437c and #592e6a. The triadic partners are #702c01 and #005436.
Is white or black text more readable on #40387a?
White text reads better on #40387a: white gives a contrast ratio of 10.17:1 and black gives 2.06:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40387a a warm or cool color?
#40387a is a cool color. In OKLCH its hue is 286 degrees, its lightness 38.5% and its chroma 0.108.