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

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40397a |
| RGB | rgb(64, 57, 122) |
| HSL | hsl(246.46, 36.31%, 35.1%) |
| HSB / HSV | hsv(246.46 53.28% 47.84%) |
| HWB | hwb(246.46 22.35% 52.16%) |
| CMYK | cmyk(48% 53% 0% 52%) |
| Lab | lab(27.45 17.22 -36.77) |
| LCH | lch(27.45 40.61 295.09) |
| OKLab | oklab(38.702% 0.02791 -0.10303) |
| OKLCH | oklch(38.702% 0.10675 285.155) |
| Display P3 | color(display-p3 0.24636 0.2245 0.4626) |
| Rec. 2020 | color(rec2020 0.19646 0.16855 0.40724) |
| Adobe RGB | color(a98-rgb 0.25215 0.23378 0.46802) |
| ProPhoto RGB | color(prophoto-rgb 0.22459 0.18133 0.37865) |
| Linear sRGB | color(srgb-linear 0.05127 0.04092 0.19462) |
| XYZ D65 | color(xyz-d65 0.0709 0.05421 0.19086) |
| XYZ D50 | color(xyz-d50 0.06596 0.05254 0.14366) |
| SwiftUI | Color(red: 0.251, green: 0.224, blue: 0.478) |
| UIKit | UIColor(red: 0.251, green: 0.224, blue: 0.478, alpha: 1) |
| Flutter / Compose | Color(0xFF40397A) |
| Android XML | #40397A |

## 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.08:1
- Contrast with black: 2.08:1

## Tints

#40397a, #504c87, #615e95, #7371a2, #8585b0, #9898bd, #acacca, #c0c0d7, #d5d5e5, #eaeaf2

## Shades

#40397a, #363069, #2d2859, #241f49, #1b173a, #13102b, #0b091d, #050410, #010105, #000001

## Tones

#40397a, #403b75, #403c70, #403e6a, #413f65, #414060, #42415a, #424255, #43434f, #43434a

## Harmonies

- Complementary: #40397a, #4d4600
- Split: #40397a, #633a00, #285008
- Analogous: #40397a, #15447c, #592f6b
- Triadic: #40397a, #702d04, #005536
- Tetradic: #40397a, #6a2851, #4d4600, #005536
- Square: #40397a, #722631, #4d4600, #005252
- Monochromatic: #40397a, #0d0034, #231856, #605b9f, #827ec6

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