# #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.

Source: https://pickshade.com/color/40387a

## Formats

| Format | Value |
| --- | --- |
| HEX | #40387a |
| RGB | rgb(64, 56, 122) |
| HSL | hsl(247.27, 37.08%, 34.9%) |
| HSB / HSV | hsv(247.27 54.1% 47.84%) |
| HWB | hwb(247.27 21.96% 52.16%) |
| CMYK | cmyk(48% 54% 0% 52%) |
| Lab | lab(27.17 17.85 -37.21) |
| LCH | lch(27.17 41.27 295.63) |
| OKLab | oklab(38.503% 0.02922 -0.10429) |
| OKLCH | oklch(38.503% 0.10831 285.65) |
| Display P3 | color(display-p3 0.24574 0.22073 0.46248) |
| Rec. 2020 | color(rec2020 0.19535 0.16502 0.40709) |
| Adobe RGB | color(a98-rgb 0.25122 0.23019 0.46795) |
| ProPhoto RGB | color(prophoto-rgb 0.22376 0.17871 0.37846) |
| Linear sRGB | color(srgb-linear 0.05127 0.03955 0.19462) |
| XYZ D65 | color(xyz-d65 0.07041 0.05323 0.1907) |
| XYZ D50 | color(xyz-d50 0.06543 0.05155 0.14353) |
| SwiftUI | Color(red: 0.251, green: 0.22, blue: 0.478) |
| UIKit | UIColor(red: 0.251, green: 0.22, blue: 0.478, alpha: 1) |
| Flutter / Compose | Color(0xFF40387A) |
| Android XML | #40387A |

## Facts

- Closest name: Sage Violet
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.17:1
- Contrast with black: 2.06:1

## Tints

#40387a, #504b88, #615e95, #7371a2, #8584b0, #9898bd, #acacca, #c0c0d7, #d5d5e5, #eaeaf2

## Shades

#40387a, #362f69, #2d2759, #241f49, #1b173a, #130f2b, #0b081d, #050410, #010105, #000001

## Tones

#40387a, #403a75, #403b6f, #403d6a, #413e65, #413f60, #41405a, #424155, #42424f, #434349

## Harmonies

- Complementary: #40387a, #4c4600
- Split: #40387a, #623a00, #265007
- Analogous: #40387a, #15437c, #592e6a
- Triadic: #40387a, #702c01, #005436
- Tetradic: #40387a, #6a2750, #4c4600, #005436
- Square: #40387a, #722530, #4c4600, #005152
- Monochromatic: #40387a, #0c0033, #241756, #605a9f, #827dc6

## 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.
