# #40397c color: Sage Violet

#40397c is rgb(64, 57, 124) in RGB and oklch(38.846% 0.10974 284.813) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40397c |
| RGB | rgb(64, 57, 124) |
| HSL | hsl(246.27, 37.02%, 35.49%) |
| HSB / HSV | hsv(246.27 54.03% 48.63%) |
| HWB | hwb(246.27 22.35% 51.37%) |
| CMYK | cmyk(48% 54% 0% 51%) |
| Lab | lab(27.56 17.74 -37.84) |
| LCH | lch(27.56 41.8 295.12) |
| OKLab | oklab(38.846% 0.02806 -0.1061) |
| OKLCH | oklch(38.846% 0.10974 284.813) |
| Display P3 | color(display-p3 0.24636 0.2245 0.47005) |
| Rec. 2020 | color(rec2020 0.1972 0.16877 0.41509) |
| Adobe RGB | color(a98-rgb 0.25215 0.23378 0.47546) |
| ProPhoto RGB | color(prophoto-rgb 0.22638 0.18175 0.38585) |
| Linear sRGB | color(srgb-linear 0.05127 0.04092 0.20156) |
| XYZ D65 | color(xyz-d65 0.07215 0.05471 0.19745) |
| XYZ D50 | color(xyz-d50 0.06695 0.05296 0.14862) |
| SwiftUI | Color(red: 0.251, green: 0.224, blue: 0.486) |
| UIKit | UIColor(red: 0.251, green: 0.224, blue: 0.486, alpha: 1) |
| Flutter / Compose | Color(0xFF40397C) |
| Android XML | #40397C |

## 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.03:1
- Contrast with black: 2.09:1

## Tints

#40397c, #504c89, #615f97, #7372a4, #8585b1, #9898be, #acaccb, #c0c1d8, #d5d5e5, #eaeaf2

## Shades

#40397c, #36306b, #2d285a, #241f4a, #1b173b, #13102c, #0b091e, #050411, #010105, #000001

## Tones

#40397c, #403b77, #403c71, #413e6c, #413f66, #414061, #42415b, #424256, #434350, #44444a

## Harmonies

- Complementary: #40397c, #4e4600
- Split: #40397c, #633a00, #285104
- Analogous: #40397c, #12447d, #5a2f6c
- Triadic: #40397c, #722c02, #005536
- Tetradic: #40397c, #6b2852, #4e4600, #005536
- Square: #40397c, #742531, #4e4600, #005253
- Monochromatic: #40397c, #0d0035, #241858, #605ba1, #827fc8

## Questions about #40397c

### What color is #40397c?

#40397c is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 57, 124), in HSL hsl(246.27, 37.02%, 35.49%) and in OKLCH oklch(38.846% 0.10974 284.813).

### What colors go well with #40397c?

The complementary color of #40397c is #4e4600. For a calmer combination use the analogous colors #12447d and #5a2f6c. The triadic partners are #722c02 and #005536.

### Is white or black text more readable on #40397c?

White text reads better on #40397c: white gives a contrast ratio of 10.03:1 and black gives 2.09:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40397c a warm or cool color?

#40397c is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.8% and its chroma 0.11.
