# #31224c color: Elderberry

#31224c is rgb(49, 34, 76) in RGB and oklch(29.252% 0.0752 298.091) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #31224c |
| RGB | rgb(49, 34, 76) |
| HSL | hsl(261.43, 38.18%, 21.57%) |
| HSB / HSV | hsv(261.43 55.26% 29.8%) |
| HWB | hwb(261.43 13.33% 70.2%) |
| CMYK | cmyk(36% 55% 0% 70%) |
| Lab | lab(16.84 15.54 -23.78) |
| LCH | lch(16.84 28.4 303.16) |
| OKLab | oklab(29.252% 0.03541 -0.06634) |
| OKLCH | oklch(29.252% 0.0752 298.091) |
| Display P3 | color(display-p3 0.18317 0.13571 0.28811) |
| Rec. 2020 | color(rec2020 0.11948 0.07944 0.22563) |
| Adobe RGB | color(a98-rgb 0.19195 0.15253 0.29835) |
| ProPhoto RGB | color(prophoto-rgb 0.14697 0.11069 0.21894) |
| Linear sRGB | color(srgb-linear 0.03071 0.016 0.07227) |
| XYZ D65 | color(xyz-d65 0.03143 0.02319 0.0712) |
| XYZ D50 | color(xyz-d50 0.02989 0.02268 0.05359) |
| SwiftUI | Color(red: 0.192, green: 0.133, blue: 0.298) |
| UIKit | UIColor(red: 0.192, green: 0.133, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF31224C) |
| Android XML | #31224C |

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

## Tints

#31224c, #42365d, #554a6e, #685e7f, #7c7491, #908aa2, #a6a0b5, #bbb7c7, #d1cfd9, #e8e7ec

## Shades

#31224c, #291c41, #221636, #1a112c, #130b22, #0c0718, #06030f, #030106, #010002, #000000

## Tones

#31224c, #302349, #302546, #2f2643, #2f2740, #2e283c, #2e2939, #2d2a36, #2d2a33, #2c2b2f

## Harmonies

- Complementary: #31224c, #293000
- Split: #31224c, #3b2900, #093614
- Analogous: #31224c, #1c2951, #3f1c3f
- Triadic: #31224c, #472000, #00372c
- Tetradic: #31224c, #48192c, #293000, #00372c
- Square: #31224c, #4b1a15, #293000, #00353e
- Monochromatic: #31224c, #0a001e, #15052b, #50416e, #726393

## Questions about #31224c

### What color is #31224c?

#31224c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 34, 76), in HSL hsl(261.43, 38.18%, 21.57%) and in OKLCH oklch(29.252% 0.0752 298.091).

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

The complementary color of #31224c is #293000. For a calmer combination use the analogous colors #1c2951 and #3f1c3f. The triadic partners are #472000 and #00372c.

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

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

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

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