# #31224d color: Elderberry

#31224d is rgb(49, 34, 77) in RGB and oklch(29.323% 0.07674 297.569) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #31224d |
| RGB | rgb(49, 34, 77) |
| HSL | hsl(260.93, 38.74%, 21.76%) |
| HSB / HSV | hsv(260.93 55.84% 30.2%) |
| HWB | hwb(260.93 13.33% 69.8%) |
| CMYK | cmyk(36% 56% 0% 70%) |
| Lab | lab(16.89 15.78 -24.37) |
| LCH | lch(16.89 29.03 302.92) |
| OKLab | oklab(29.323% 0.03552 -0.06803) |
| OKLCH | oklch(29.323% 0.07674 297.569) |
| Display P3 | color(display-p3 0.18317 0.13571 0.29182) |
| Rec. 2020 | color(rec2020 0.11978 0.07954 0.22942) |
| Adobe RGB | color(a98-rgb 0.19195 0.15253 0.30194) |
| ProPhoto RGB | color(prophoto-rgb 0.14767 0.11087 0.22207) |
| Linear sRGB | color(srgb-linear 0.03071 0.016 0.07421) |
| XYZ D65 | color(xyz-d65 0.03178 0.02333 0.07304) |
| XYZ D50 | color(xyz-d50 0.03017 0.0228 0.05498) |
| SwiftUI | Color(red: 0.192, green: 0.133, blue: 0.302) |
| UIKit | UIColor(red: 0.192, green: 0.133, blue: 0.302, alpha: 1) |
| Flutter / Compose | Color(0xFF31224D) |
| Android XML | #31224D |

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

## Tints

#31224d, #42365e, #554a6f, #685e80, #7c7491, #908aa3, #a6a0b5, #bbb7c7, #d1cfda, #e8e7ec

## Shades

#31224d, #291c42, #221637, #1a112c, #130b22, #0c0718, #06030f, #030107, #010002, #000000

## Tones

#31224d, #30234a, #302547, #2f2643, #2f2740, #2e283d, #2e293a, #2d2a36, #2d2b33, #2c2b30

## Harmonies

- Complementary: #31224d, #293000
- Split: #31224d, #3c2800, #083614
- Analogous: #31224d, #1b2952, #401c3f
- Triadic: #31224d, #472000, #00382c
- Tetradic: #31224d, #49192c, #293000, #00382c
- Square: #31224d, #4c1a16, #293000, #00353e
- Monochromatic: #31224d, #0a001f, #15042c, #504270, #726394

## Questions about #31224d

### What color is #31224d?

#31224d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 34, 77), in HSL hsl(260.93, 38.74%, 21.76%) and in OKLCH oklch(29.323% 0.07674 297.569).

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

The complementary color of #31224d is #293000. For a calmer combination use the analogous colors #1b2952 and #401c3f. The triadic partners are #472000 and #00382c.

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

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

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

#31224d is a cool color. In OKLCH its hue is 298 degrees, its lightness 29.3% and its chroma 0.077.
