# #40387d color: Sage Violet

#40387d is rgb(64, 56, 125) in RGB and oklch(38.722% 0.11277 285.113) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40387d |
| RGB | rgb(64, 56, 125) |
| HSL | hsl(246.96, 38.12%, 35.49%) |
| HSB / HSV | hsv(246.96 55.2% 49.02%) |
| HWB | hwb(246.96 21.96% 50.98%) |
| CMYK | cmyk(49% 55% 0% 51%) |
| Lab | lab(27.35 18.63 -38.81) |
| LCH | lch(27.35 43.05 295.64) |
| OKLab | oklab(38.722% 0.0294 -0.10887) |
| OKLCH | oklch(38.722% 0.11277 285.113) |
| Display P3 | color(display-p3 0.24574 0.22073 0.47366) |
| Rec. 2020 | color(rec2020 0.19647 0.16536 0.41888) |
| Adobe RGB | color(a98-rgb 0.25122 0.23019 0.47913) |
| ProPhoto RGB | color(prophoto-rgb 0.22646 0.17936 0.38928) |
| Linear sRGB | color(srgb-linear 0.05127 0.03955 0.20508) |
| XYZ D65 | color(xyz-d65 0.0723 0.05399 0.20064) |
| XYZ D50 | color(xyz-d50 0.06693 0.05219 0.151) |
| SwiftUI | Color(red: 0.251, green: 0.22, blue: 0.49) |
| UIKit | UIColor(red: 0.251, green: 0.22, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF40387D) |
| Android XML | #40387D |

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

## Tints

#40387d, #504b8a, #615e98, #7371a5, #8584b2, #9898bf, #acaccc, #c0c0d9, #d5d5e5, #eaeaf2

## Shades

#40387d, #362f6c, #2d275b, #241f4b, #1b173b, #130f2c, #0b081e, #050411, #010105, #000001

## Tones

#40387d, #403a78, #403c72, #403d6d, #413f67, #414061, #42415c, #424256, #434350, #43444a

## Harmonies

- Complementary: #40387d, #4d4600
- Split: #40387d, #633a00, #265101
- Analogous: #40387d, #10447f, #5a2e6d
- Triadic: #40387d, #732b00, #005536
- Tetradic: #40387d, #6c2652, #4d4600, #005536
- Square: #40387d, #742430, #4d4600, #005252
- Monochromatic: #40387d, #0d0035, #241659, #605aa3, #827ec9

## Questions about #40387d

### What color is #40387d?

#40387d is soft dark indigo. The closest named color is Sage Violet. In RGB it is rgb(64, 56, 125), in HSL hsl(246.96, 38.12%, 35.49%) and in OKLCH oklch(38.722% 0.11277 285.113).

### What colors go well with #40387d?

The complementary color of #40387d is #4d4600. For a calmer combination use the analogous colors #10447f and #5a2e6d. The triadic partners are #732b00 and #005536.

### Is white or black text more readable on #40387d?

White text reads better on #40387d: white gives a contrast ratio of 10.1:1 and black gives 2.08:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40387d a warm or cool color?

#40387d is a cool color. In OKLCH its hue is 285 degrees, its lightness 38.7% and its chroma 0.113.
