# #2e1f4d color: Elderberry

#2e1f4d is rgb(46, 31, 77) in RGB and oklch(28.38% 0.08176 295.796) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2e1f4d |
| RGB | rgb(46, 31, 77) |
| HSL | hsl(259.57, 42.59%, 21.18%) |
| HSB / HSV | hsv(259.57 59.74% 30.2%) |
| HWB | hwb(259.57 12.16% 69.8%) |
| CMYK | cmyk(40% 60% 0% 70%) |
| Lab | lab(15.7 16.71 -26.3) |
| LCH | lch(15.7 31.16 302.43) |
| OKLab | oklab(28.38% 0.03558 -0.07362) |
| OKLCH | oklch(28.38% 0.08176 295.796) |
| Display P3 | color(display-p3 0.17148 0.12397 0.29136) |
| Rec. 2020 | color(rec2020 0.10922 0.06899 0.22886) |
| Adobe RGB | color(a98-rgb 0.18148 0.14216 0.30176) |
| ProPhoto RGB | color(prophoto-rgb 0.141 0.10311 0.22146) |
| Linear sRGB | color(srgb-linear 0.02732 0.0137 0.07421) |
| XYZ D65 | color(xyz-d65 0.02956 0.02097 0.0727) |
| XYZ D50 | color(xyz-d50 0.02781 0.0204 0.05471) |
| SwiftUI | Color(red: 0.18, green: 0.122, blue: 0.302) |
| UIKit | UIColor(red: 0.18, green: 0.122, blue: 0.302, alpha: 1) |
| Flutter / Compose | Color(0xFF2E1F4D) |
| Android XML | #2E1F4D |

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

## Tints

#2e1f4d, #3f335e, #52476f, #655c80, #7a7292, #8e88a3, #a49fb5, #bab6c7, #d0ceda, #e7e6ec

## Shades

#2e1f4d, #271942, #1f1437, #180f2c, #120a22, #0b0618, #06030f, #020107, #010002, #000000

## Tones

#2e1f4d, #2d214a, #2d2246, #2c2343, #2c243f, #2b263c, #2b2738, #2b2735, #2a2831, #2a292d

## Harmonies

- Complementary: #2e1f4d, #292e00
- Split: #2e1f4d, #3b2600, #04340d
- Analogous: #2e1f4d, #162752, #3d193f
- Triadic: #2e1f4d, #471c00, #003528
- Tetradic: #2e1f4d, #47142b, #292e00, #003528
- Square: #2e1f4d, #4a1513, #292e00, #00333a
- Monochromatic: #2e1f4d, #0a0021, #13022c, #4d3f70, #6e6094

## Questions about #2e1f4d

### What color is #2e1f4d?

#2e1f4d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(46, 31, 77), in HSL hsl(259.57, 42.59%, 21.18%) and in OKLCH oklch(28.38% 0.08176 295.796).

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

The complementary color of #2e1f4d is #292e00. For a calmer combination use the analogous colors #162752 and #3d193f. The triadic partners are #471c00 and #003528.

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

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

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

#2e1f4d is a cool color. In OKLCH its hue is 296 degrees, its lightness 28.4% and its chroma 0.082.
