# #31254c color: Elderberry

#31254c is rgb(49, 37, 76) in RGB and oklch(29.874% 0.06959 296.111) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #31254c |
| RGB | rgb(49, 37, 76) |
| HSL | hsl(258.46, 34.51%, 22.16%) |
| HSB / HSV | hsv(258.46 51.32% 29.8%) |
| HWB | hwb(258.46 14.51% 70.2%) |
| CMYK | cmyk(36% 51% 0% 70%) |
| Lab | lab(17.68 13.57 -22.45) |
| LCH | lch(17.68 26.23 301.15) |
| OKLab | oklab(29.874% 0.03063 -0.06249) |
| OKLCH | oklch(29.874% 0.06959 296.111) |
| Display P3 | color(display-p3 0.18473 0.14691 0.28849) |
| Rec. 2020 | color(rec2020 0.12239 0.08956 0.22612) |
| Adobe RGB | color(a98-rgb 0.19428 0.16296 0.29855) |
| ProPhoto RGB | color(prophoto-rgb 0.14909 0.11759 0.21949) |
| Linear sRGB | color(srgb-linear 0.03071 0.0185 0.07227) |
| XYZ D65 | color(xyz-d65 0.03233 0.02498 0.0715) |
| XYZ D50 | color(xyz-d50 0.03086 0.02448 0.05383) |
| SwiftUI | Color(red: 0.192, green: 0.145, blue: 0.298) |
| UIKit | UIColor(red: 0.192, green: 0.145, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF31254C) |
| Android XML | #31254C |

## Facts

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

## Tints

#31254c, #42385d, #554c6e, #68607f, #7c7591, #908ba2, #a6a1b4, #bbb8c7, #d1cfd9, #e8e7ec

## Shades

#31254c, #291f41, #221936, #1a132c, #130d22, #0c0818, #06040f, #030206, #010002, #000000

## Tones

#31254c, #312649, #302746, #302843, #2f2940, #2f2a3d, #2f2b3a, #2e2b37, #2e2c34, #2e2d31

## Harmonies

- Complementary: #31254c, #2c3100
- Split: #31254c, #3d2a00, #123617
- Analogous: #31254c, #1d2b50, #3f2040
- Triadic: #31254c, #472303, #00382c
- Tetradic: #31254c, #481d2e, #2c3100, #00382c
- Square: #31254c, #4b1d1a, #2c3100, #00373f
- Monochromatic: #31254c, #09001d, #15072c, #50446e, #726692

## Questions about #31254c

### What color is #31254c?

#31254c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(49, 37, 76), in HSL hsl(258.46, 34.51%, 22.16%) and in OKLCH oklch(29.874% 0.06959 296.111).

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

The complementary color of #31254c is #2c3100. For a calmer combination use the analogous colors #1d2b50 and #3f2040. The triadic partners are #472303 and #00382c.

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

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

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

#31254c is a cool color. In OKLCH its hue is 296 degrees, its lightness 29.9% and its chroma 0.07.
