# #2c1f4f color: Elderberry

#2c1f4f is rgb(44, 31, 79) in RGB and oklch(28.309% 0.08466 292.653) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2c1f4f

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c1f4f |
| RGB | rgb(44, 31, 79) |
| HSL | hsl(256.25, 43.64%, 21.57%) |
| HSB / HSV | hsv(256.25 60.76% 30.98%) |
| HWB | hwb(256.25 12.16% 69.02%) |
| CMYK | cmyk(44% 61% 0% 69%) |
| Lab | lab(15.57 16.57 -27.87) |
| LCH | lch(15.57 32.42 300.73) |
| OKLab | oklab(28.309% 0.03261 -0.07813) |
| OKLCH | oklch(28.309% 0.08466 292.653) |
| Display P3 | color(display-p3 0.16468 0.1236 0.29873) |
| Rec. 2020 | color(rec2020 0.10476 0.06853 0.2364) |
| Adobe RGB | color(a98-rgb 0.176 0.14216 0.30895) |
| ProPhoto RGB | color(prophoto-rgb 0.13947 0.10277 0.2277) |
| Linear sRGB | color(srgb-linear 0.02519 0.0137 0.07819) |
| XYZ D65 | color(xyz-d65 0.0294 0.0208 0.07644) |
| XYZ D50 | color(xyz-d50 0.02745 0.02017 0.05751) |
| SwiftUI | Color(red: 0.173, green: 0.122, blue: 0.31) |
| UIKit | UIColor(red: 0.173, green: 0.122, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF2C1F4F) |
| Android XML | #2C1F4F |

## 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.83:1
- Contrast with black: 1.42:1

## Tints

#2c1f4f, #3d3360, #504871, #645d82, #787293, #8d88a5, #a39fb6, #b9b6c8, #d0ceda, #e7e6ed

## Shades

#2c1f4f, #251944, #1e1438, #170f2e, #110a23, #0a0619, #050310, #020107, #010002, #000000

## Tones

#2c1f4f, #2c214b, #2b2248, #2b2344, #2a2540, #2a263d, #2a2739, #2a2735, #2a2831, #2a292e

## Harmonies

- Complementary: #2c1f4f, #2b2d00
- Split: #2c1f4f, #3c2400, #083307
- Analogous: #2c1f4f, #122753, #3d1842
- Triadic: #2c1f4f, #481a00, #003526
- Tetradic: #2c1f4f, #47132d, #2b2d00, #003526
- Square: #2c1f4f, #4b1315, #2b2d00, #003338
- Monochromatic: #2c1f4f, #090023, #11022e, #4a3f72, #6b6096

## Questions about #2c1f4f

### What color is #2c1f4f?

#2c1f4f is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(44, 31, 79), in HSL hsl(256.25, 43.64%, 21.57%) and in OKLCH oklch(28.309% 0.08466 292.653).

### What colors go well with #2c1f4f?

The complementary color of #2c1f4f is #2b2d00. For a calmer combination use the analogous colors #122753 and #3d1842. The triadic partners are #481a00 and #003526.

### Is white or black text more readable on #2c1f4f?

White text reads better on #2c1f4f: white gives a contrast ratio of 14.83:1 and black gives 1.42:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2c1f4f a warm or cool color?

#2c1f4f is a cool color. In OKLCH its hue is 293 degrees, its lightness 28.3% and its chroma 0.085.
