# #2e1f4b color: Elderberry

#2e1f4b is rgb(46, 31, 75) in RGB and oklch(28.229% 0.07871 296.781) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2e1f4b |
| RGB | rgb(46, 31, 75) |
| HSL | hsl(260.45, 41.51%, 20.78%) |
| HSB / HSV | hsv(260.45 58.67% 29.41%) |
| HWB | hwb(260.45 12.16% 70.59%) |
| CMYK | cmyk(39% 59% 0% 71%) |
| Lab | lab(15.57 16.21 -25.13) |
| LCH | lch(15.57 29.91 302.83) |
| OKLab | oklab(28.229% 0.03547 -0.07027) |
| OKLCH | oklch(28.229% 0.07871 296.781) |
| Display P3 | color(display-p3 0.17148 0.12397 0.28391) |
| Rec. 2020 | color(rec2020 0.10859 0.06879 0.22127) |
| Adobe RGB | color(a98-rgb 0.18148 0.14216 0.29459) |
| ProPhoto RGB | color(prophoto-rgb 0.13955 0.10273 0.2152) |
| Linear sRGB | color(srgb-linear 0.02732 0.0137 0.07036) |
| XYZ D65 | color(xyz-d65 0.02887 0.02069 0.06904) |
| XYZ D50 | color(xyz-d50 0.02726 0.02017 0.05195) |
| SwiftUI | Color(red: 0.18, green: 0.122, blue: 0.294) |
| UIKit | UIColor(red: 0.18, green: 0.122, blue: 0.294, alpha: 1) |
| Flutter / Compose | Color(0xFF2E1F4B) |
| Android XML | #2E1F4B |

## 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.85:1
- Contrast with black: 1.41:1

## Tints

#2e1f4b, #40335c, #52476d, #655c7f, #7a7290, #8f88a2, #a49fb4, #bab6c7, #d1ced9, #e8e6ec

## Shades

#2e1f4b, #271940, #1f1435, #180f2b, #120a21, #0b0617, #06030e, #020106, #010002, #000000

## Tones

#2e1f4b, #2d2048, #2d2245, #2c2341, #2c243e, #2b253b, #2b2637, #2a2734, #2a2830, #2a292d

## Harmonies

- Complementary: #2e1f4b, #272e00
- Split: #2e1f4b, #3a2600, #05330f
- Analogous: #2e1f4b, #182650, #3d193d
- Triadic: #2e1f4b, #451c00, #003429
- Tetradic: #2e1f4b, #46152a, #272e00, #003429
- Square: #2e1f4b, #491613, #272e00, #00323a
- Monochromatic: #2e1f4b, #0a001f, #13022a, #4d3e6d, #6e6092

## Questions about #2e1f4b

### What color is #2e1f4b?

#2e1f4b is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(46, 31, 75), in HSL hsl(260.45, 41.51%, 20.78%) and in OKLCH oklch(28.229% 0.07871 296.781).

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

The complementary color of #2e1f4b is #272e00. For a calmer combination use the analogous colors #182650 and #3d193d. The triadic partners are #451c00 and #003429.

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

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

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

#2e1f4b is a cool color. In OKLCH its hue is 297 degrees, its lightness 28.2% and its chroma 0.079.
