# #2a1e49 color: Elderberry

#2a1e49 is rgb(42, 30, 73) in RGB and oklch(27.419% 0.077 293.546) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a1e49 |
| RGB | rgb(42, 30, 73) |
| HSL | hsl(256.74, 41.75%, 20.2%) |
| HSB / HSV | hsv(256.74 58.9% 28.63%) |
| HWB | hwb(256.74 11.76% 71.37%) |
| CMYK | cmyk(42% 59% 0% 71%) |
| Lab | lab(14.68 15.02 -25.22) |
| LCH | lch(14.68 29.35 300.77) |
| OKLab | oklab(27.419% 0.03076 -0.07059) |
| OKLCH | oklch(27.419% 0.077 293.546) |
| Display P3 | color(display-p3 0.1574 0.1195 0.27619) |
| Rec. 2020 | color(rec2020 0.09677 0.06433 0.2134) |
| Adobe RGB | color(a98-rgb 0.16982 0.13872 0.28737) |
| ProPhoto RGB | color(prophoto-rgb 0.13139 0.09875 0.20869) |
| Linear sRGB | color(srgb-linear 0.02315 0.01298 0.06663) |
| XYZ D65 | color(xyz-d65 0.02622 0.01902 0.06533) |
| XYZ D50 | color(xyz-d50 0.02463 0.0185 0.04916) |
| SwiftUI | Color(red: 0.165, green: 0.118, blue: 0.286) |
| UIKit | UIColor(red: 0.165, green: 0.118, blue: 0.286, alpha: 1) |
| Flutter / Compose | Color(0xFF2A1E49) |
| Android XML | #2A1E49 |

## 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: 15.21:1
- Contrast with black: 1.38:1

## Tints

#2a1e49, #3c325a, #4e466b, #625b7d, #77718f, #8c87a1, #a29eb3, #b8b6c6, #cfced9, #e7e6ec

## Shades

#2a1e49, #23193e, #1c1334, #160e2a, #100920, #0a0517, #05030e, #020106, #010002, #000000

## Tones

#2a1e49, #2a1f46, #292143, #29223f, #29233c, #282439, #282535, #282532, #28262e, #27272b

## Harmonies

- Complementary: #2a1e49, #282b00
- Split: #2a1e49, #392300, #09300a
- Analogous: #2a1e49, #13254d, #39183d
- Triadic: #2a1e49, #431a00, #003224
- Tetradic: #2a1e49, #42142a, #282b00, #003224
- Square: #2a1e49, #461414, #282b00, #003036
- Monochromatic: #2a1e49, #090020, #0f0229, #483d6b, #695f8f

## Questions about #2a1e49

### What color is #2a1e49?

#2a1e49 is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(42, 30, 73), in HSL hsl(256.74, 41.75%, 20.2%) and in OKLCH oklch(27.419% 0.077 293.546).

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

The complementary color of #2a1e49 is #282b00. For a calmer combination use the analogous colors #13254d and #39183d. The triadic partners are #431a00 and #003224.

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

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

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

#2a1e49 is a cool color. In OKLCH its hue is 294 degrees, its lightness 27.4% and its chroma 0.077.
