# #311e4f color: Elderberry

#311e4f is rgb(49, 30, 79) in RGB and oklch(28.695% 0.08695 298.679) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/311e4f

## Formats

| Format | Value |
| --- | --- |
| HEX | #311e4f |
| RGB | rgb(49, 30, 79) |
| HSL | hsl(263.27, 44.95%, 21.37%) |
| HSB / HSV | hsv(263.27 62.03% 30.98%) |
| HWB | hwb(263.27 11.76% 69.02%) |
| CMYK | cmyk(38% 62% 0% 69%) |
| Lab | lab(15.94 18.84 -27.24) |
| LCH | lch(15.94 33.12 304.66) |
| OKLab | oklab(28.695% 0.04173 -0.07628) |
| OKLCH | oklch(28.695% 0.08695 298.679) |
| Display P3 | color(display-p3 0.18127 0.12087 0.29882) |
| Rec. 2020 | color(rec2020 0.11684 0.06727 0.23645) |
| Adobe RGB | color(a98-rgb 0.1891 0.13872 0.30889) |
| ProPhoto RGB | color(prophoto-rgb 0.14655 0.10248 0.22772) |
| Linear sRGB | color(srgb-linear 0.03071 0.01298 0.07819) |
| XYZ D65 | color(xyz-d65 0.03142 0.02146 0.07646) |
| XYZ D50 | color(xyz-d50 0.02958 0.02088 0.05752) |
| SwiftUI | Color(red: 0.192, green: 0.118, blue: 0.31) |
| UIKit | UIColor(red: 0.192, green: 0.118, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF311E4F) |
| Android XML | #311E4F |

## Facts

- Closest name: Elderberry
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.69:1
- Contrast with black: 1.43:1

## Tints

#311e4f, #423260, #554771, #685c82, #7c7293, #9088a5, #a59fb6, #bbb6c8, #d1ceda, #e8e6ed

## Shades

#311e4f, #291944, #221338, #1a0e2e, #130923, #0c0519, #060310, #030107, #010002, #000000

## Tones

#311e4f, #30204b, #2f2248, #2f2344, #2e2441, #2d263d, #2d273a, #2c2836, #2c2932, #2b2a2e

## Harmonies

- Complementary: #311e4f, #273000
- Split: #311e4f, #3a2700, #00360f
- Analogous: #311e4f, #192655, #41173f
- Triadic: #311e4f, #481c00, #00362b
- Tetradic: #311e4f, #4a132a, #273000, #00362b
- Square: #311e4f, #4d140f, #273000, #00333d
- Monochromatic: #311e4f, #0c0022, #15012e, #503e72, #725f96

## Questions about #311e4f

### What color is #311e4f?

#311e4f is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 30, 79), in HSL hsl(263.27, 44.95%, 21.37%) and in OKLCH oklch(28.695% 0.08695 298.679).

### What colors go well with #311e4f?

The complementary color of #311e4f is #273000. For a calmer combination use the analogous colors #192655 and #41173f. The triadic partners are #481c00 and #00362b.

### Is white or black text more readable on #311e4f?

White text reads better on #311e4f: white gives a contrast ratio of 14.69:1 and black gives 1.43:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #311e4f a warm or cool color?

#311e4f is a cool color. In OKLCH its hue is 299 degrees, its lightness 28.7% and its chroma 0.087.
