# #2e1f4c color: Elderberry

#2e1f4c is rgb(46, 31, 76) in RGB and oklch(28.304% 0.08024 296.281) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2e1f4c |
| RGB | rgb(46, 31, 76) |
| HSL | hsl(260, 42.06%, 20.98%) |
| HSB / HSV | hsv(260 59.21% 29.8%) |
| HWB | hwb(260 12.16% 70.2%) |
| CMYK | cmyk(39% 59% 0% 70%) |
| Lab | lab(15.63 16.46 -25.72) |
| LCH | lch(15.63 30.53 302.63) |
| OKLab | oklab(28.304% 0.03553 -0.07195) |
| OKLCH | oklch(28.304% 0.08024 296.281) |
| Display P3 | color(display-p3 0.17148 0.12397 0.28763) |
| Rec. 2020 | color(rec2020 0.10891 0.06889 0.22507) |
| Adobe RGB | color(a98-rgb 0.18148 0.14216 0.29817) |
| ProPhoto RGB | color(prophoto-rgb 0.14027 0.10292 0.21832) |
| Linear sRGB | color(srgb-linear 0.02732 0.0137 0.07227) |
| XYZ D65 | color(xyz-d65 0.02921 0.02083 0.07086) |
| XYZ D50 | color(xyz-d50 0.02753 0.02028 0.05332) |
| SwiftUI | Color(red: 0.18, green: 0.122, blue: 0.298) |
| UIKit | UIColor(red: 0.18, green: 0.122, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF2E1F4C) |
| Android XML | #2E1F4C |

## 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

#2e1f4c, #3f335d, #52476e, #655c7f, #7a7291, #8e88a3, #a49fb5, #bab6c7, #d0ced9, #e8e6ec

## Shades

#2e1f4c, #271941, #1f1436, #180f2c, #120a22, #0b0618, #06030f, #020106, #010002, #000000

## Tones

#2e1f4c, #2d2149, #2d2245, #2c2342, #2c243f, #2b253b, #2b2638, #2b2734, #2a2831, #2a292d

## Harmonies

- Complementary: #2e1f4c, #282e00
- Split: #2e1f4c, #3a2600, #05330e
- Analogous: #2e1f4c, #172651, #3d193e
- Triadic: #2e1f4c, #461c00, #003528
- Tetradic: #2e1f4c, #47152b, #282e00, #003528
- Square: #2e1f4c, #4a1513, #282e00, #00323a
- Monochromatic: #2e1f4c, #0a0020, #13022b, #4d3f6f, #6e6093

## Questions about #2e1f4c

### What color is #2e1f4c?

#2e1f4c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(46, 31, 76), in HSL hsl(260, 42.06%, 20.98%) and in OKLCH oklch(28.304% 0.08024 296.281).

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

The complementary color of #2e1f4c is #282e00. For a calmer combination use the analogous colors #172651 and #3d193e. The triadic partners are #461c00 and #003528.

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

White text reads better on #2e1f4c: 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 #2e1f4c a warm or cool color?

#2e1f4c is a cool color. In OKLCH its hue is 296 degrees, its lightness 28.3% and its chroma 0.08.
