#40387c color: Sage Violet
#40387c is rgb(64, 56, 124) in RGB and oklch(38.649% 0.11129 285.289) 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 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 #40387c
#40387c is a soft dark indigo color. In OKLCH it has 38.6% lightness, 0.111 chroma and a hue of 285°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.12:1 contrast and black text 2.07:1, so white text reads better.
The closest named color is Sage Violet (#413c7b). In Tailwind CSS the closest color is indigo-900.
Lighter: #40387c mixed with white
Darker: #40387c mixed with black
Calmer: #40387c with less saturation
Similar named colors
Colors that go with #40387c
Questions about #40387c
What color is #40387c?
#40387c is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 56, 124), in HSL hsl(247.06, 37.78%, 35.29%) and in OKLCH oklch(38.649% 0.11129 285.289).
What colors go well with #40387c?
The complementary color of #40387c is #4d4600. For a calmer combination use the analogous colors #12437e and #5a2e6c. The triadic partners are #722b00 and #005536.
Is white or black text more readable on #40387c?
White text reads better on #40387c: white gives a contrast ratio of 10.12:1 and black gives 2.07:1. WCAG AA asks for at least 4.5:1 for body text.
Is #40387c a warm or cool color?
#40387c is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.6% and its chroma 0.111.