# #2d1f4a color: Elderberry

#2d1f4a is rgb(45, 31, 74) in RGB and oklch(28.038% 0.07704 296.083) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d1f4a |
| RGB | rgb(45, 31, 74) |
| HSL | hsl(259.53, 40.95%, 20.59%) |
| HSB / HSV | hsv(259.53 58.11% 29.02%) |
| HWB | hwb(259.53 12.16% 70.98%) |
| CMYK | cmyk(39% 58% 0% 71%) |
| Lab | lab(15.39 15.62 -24.75) |
| LCH | lch(15.39 29.27 302.26) |
| OKLab | oklab(28.038% 0.03387 -0.0692) |
| OKLCH | oklch(28.038% 0.07704 296.083) |
| Display P3 | color(display-p3 0.16808 0.12378 0.28015) |
| Rec. 2020 | color(rec2020 0.10569 0.06836 0.21745) |
| Adobe RGB | color(a98-rgb 0.17873 0.14216 0.29101) |
| ProPhoto RGB | color(prophoto-rgb 0.13729 0.10219 0.21205) |
| Linear sRGB | color(srgb-linear 0.02624 0.0137 0.06848) |
| XYZ D65 | color(xyz-d65 0.02808 0.02032 0.06723) |
| XYZ D50 | color(xyz-d50 0.02652 0.01981 0.0506) |
| SwiftUI | Color(red: 0.176, green: 0.122, blue: 0.29) |
| UIKit | UIColor(red: 0.176, green: 0.122, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF2D1F4A) |
| Android XML | #2D1F4A |

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

## Tints

#2d1f4a, #3f335b, #51476c, #655c7e, #797290, #8e88a2, #a39fb4, #bab6c6, #d0ced9, #e7e6ec

## Shades

#2d1f4a, #26193f, #1f1435, #180f2a, #110a20, #0b0617, #06030e, #020106, #010002, #000000

## Tones

#2d1f4a, #2c2047, #2c2244, #2b2340, #2b243d, #2b253a, #2a2637, #2a2733, #292830, #29282c

## Harmonies

- Complementary: #2d1f4a, #282d00
- Split: #2d1f4a, #392500, #07320f
- Analogous: #2d1f4a, #17264f, #3c193d
- Triadic: #2d1f4a, #441c00, #003428
- Tetradic: #2d1f4a, #45152a, #282d00, #003428
- Square: #2d1f4a, #481614, #282d00, #003239
- Monochromatic: #2d1f4a, #0a001f, #12022a, #4c3e6c, #6d6091

## Questions about #2d1f4a

### What color is #2d1f4a?

#2d1f4a is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(45, 31, 74), in HSL hsl(259.53, 40.95%, 20.59%) and in OKLCH oklch(28.038% 0.07704 296.083).

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

The complementary color of #2d1f4a is #282d00. For a calmer combination use the analogous colors #17264f and #3c193d. The triadic partners are #441c00 and #003428.

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

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

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

#2d1f4a is a cool color. In OKLCH its hue is 296 degrees, its lightness 28% and its chroma 0.077.
