# #2b1f4c color: Elderberry

#2b1f4c is rgb(43, 31, 76) in RGB and oklch(27.964% 0.07998 292.779) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2b1f4c |
| RGB | rgb(43, 31, 76) |
| HSL | hsl(256, 42.06%, 20.98%) |
| HSB / HSV | hsv(256 59.21% 29.8%) |
| HWB | hwb(256 12.16% 70.2%) |
| CMYK | cmyk(43% 59% 0% 70%) |
| Lab | lab(15.26 15.46 -26.33) |
| LCH | lch(15.26 30.54 300.42) |
| OKLab | oklab(27.964% 0.03096 -0.07374) |
| OKLCH | oklch(27.964% 0.07998 292.779) |
| Display P3 | color(display-p3 0.1613 0.12342 0.28752) |
| Rec. 2020 | color(rec2020 0.10123 0.06791 0.22495) |
| Adobe RGB | color(a98-rgb 0.17329 0.14216 0.29817) |
| ProPhoto RGB | color(prophoto-rgb 0.13573 0.10185 0.21822) |
| Linear sRGB | color(srgb-linear 0.02416 0.0137 0.07227) |
| XYZ D65 | color(xyz-d65 0.02791 0.02015 0.0708) |
| XYZ D50 | color(xyz-d50 0.02615 0.01958 0.05328) |
| SwiftUI | Color(red: 0.169, green: 0.122, blue: 0.298) |
| UIKit | UIColor(red: 0.169, green: 0.122, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF2B1F4C) |
| Android XML | #2B1F4C |

## 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.97:1
- Contrast with black: 1.4:1

## Tints

#2b1f4c, #3d335d, #4f476e, #635c7f, #777291, #8c88a3, #a29fb5, #b9b6c7, #d0ceda, #e7e6ec

## Shades

#2b1f4c, #241941, #1d1436, #160f2c, #100a22, #0a0618, #05030f, #020106, #010002, #000000

## Tones

#2b1f4c, #2b2049, #2a2245, #2a2342, #2a243e, #29253b, #292637, #292734, #292730, #29282c

## Harmonies

- Complementary: #2b1f4c, #2a2c00
- Split: #2b1f4c, #3b2400, #0a3209
- Analogous: #2b1f4c, #122650, #3b193f
- Triadic: #2b1f4c, #461a00, #003425
- Tetradic: #2b1f4c, #45142c, #2a2c00, #003425
- Square: #2b1f4c, #491415, #2a2c00, #003237
- Monochromatic: #2b1f4c, #090021, #10022b, #493f6f, #6a6093

## Questions about #2b1f4c

### What color is #2b1f4c?

#2b1f4c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(43, 31, 76), in HSL hsl(256, 42.06%, 20.98%) and in OKLCH oklch(27.964% 0.07998 292.779).

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

The complementary color of #2b1f4c is #2a2c00. For a calmer combination use the analogous colors #122650 and #3b193f. The triadic partners are #461a00 and #003425.

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

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

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

#2b1f4c is a cool color. In OKLCH its hue is 293 degrees, its lightness 28% and its chroma 0.08.
