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

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40387c |
| RGB | rgb(64, 56, 124) |
| HSL | hsl(247.06, 37.78%, 35.29%) |
| HSB / HSV | hsv(247.06 54.84% 48.63%) |
| HWB | hwb(247.06 21.96% 51.37%) |
| CMYK | cmyk(48% 55% 0% 51%) |
| Lab | lab(27.29 18.37 -38.28) |
| LCH | lch(27.29 42.46 295.64) |
| OKLab | oklab(38.649% 0.02935 -0.10735) |
| OKLCH | oklch(38.649% 0.11129 285.289) |
| Display P3 | color(display-p3 0.24574 0.22073 0.46993) |
| Rec. 2020 | color(rec2020 0.19609 0.16524 0.41494) |
| Adobe RGB | color(a98-rgb 0.25122 0.23019 0.4754) |
| ProPhoto RGB | color(prophoto-rgb 0.22555 0.17914 0.38566) |
| Linear sRGB | color(srgb-linear 0.05127 0.03955 0.20156) |
| XYZ D65 | color(xyz-d65 0.07166 0.05373 0.19729) |
| XYZ D50 | color(xyz-d50 0.06643 0.05198 0.14848) |
| SwiftUI | Color(red: 0.251, green: 0.22, blue: 0.486) |
| UIKit | UIColor(red: 0.251, green: 0.22, blue: 0.486, alpha: 1) |
| Flutter / Compose | Color(0xFF40387C) |
| Android XML | #40387C |

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

## Tints

#40387c, #504b89, #615e97, #7371a4, #8584b1, #9898be, #acaccb, #c0c0d8, #d5d5e5, #eaeaf2

## Shades

#40387c, #362f6b, #2d275a, #241f4a, #1b173b, #130f2c, #0b081e, #050411, #010105, #000001

## Tones

#40387c, #403a77, #403c71, #403d6c, #413f66, #414061, #41415b, #424256, #434350, #43434a

## Harmonies

- Complementary: #40387c, #4d4600
- Split: #40387c, #623a00, #265003
- Analogous: #40387c, #12437e, #5a2e6c
- Triadic: #40387c, #722b00, #005536
- Tetradic: #40387c, #6b2651, #4d4600, #005536
- Square: #40387c, #742430, #4d4600, #005152
- Monochromatic: #40387c, #0d0034, #241658, #605aa2, #827ec8

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