# #2d1f4f color: Elderberry

#2d1f4f is rgb(45, 31, 79) in RGB and oklch(28.421% 0.08472 293.759) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d1f4f |
| RGB | rgb(45, 31, 79) |
| HSL | hsl(257.5, 43.64%, 21.57%) |
| HSB / HSV | hsv(257.5 60.76% 30.98%) |
| HWB | hwb(257.5 12.16% 69.02%) |
| CMYK | cmyk(43% 61% 0% 69%) |
| Lab | lab(15.7 16.89 -27.67) |
| LCH | lch(15.7 32.42 301.4) |
| OKLab | oklab(28.421% 0.03413 -0.07754) |
| OKLCH | oklch(28.421% 0.08472 293.759) |
| Display P3 | color(display-p3 0.16808 0.12378 0.29877) |
| Rec. 2020 | color(rec2020 0.10731 0.06886 0.23643) |
| Adobe RGB | color(a98-rgb 0.17873 0.14216 0.30895) |
| ProPhoto RGB | color(prophoto-rgb 0.14096 0.10313 0.22774) |
| Linear sRGB | color(srgb-linear 0.02624 0.0137 0.07819) |
| XYZ D65 | color(xyz-d65 0.02983 0.02102 0.07646) |
| XYZ D50 | color(xyz-d50 0.02791 0.0204 0.05753) |
| SwiftUI | Color(red: 0.176, green: 0.122, blue: 0.31) |
| UIKit | UIColor(red: 0.176, green: 0.122, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF2D1F4F) |
| Android XML | #2D1F4F |

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

## Tints

#2d1f4f, #3e3360, #514871, #645d82, #797293, #8e88a5, #a39fb6, #b9b6c8, #d0ceda, #e7e6ed

## Shades

#2d1f4f, #261944, #1f1438, #180f2e, #110a23, #0b0619, #060310, #020107, #010002, #000000

## Tones

#2d1f4f, #2c214b, #2c2248, #2c2344, #2b2541, #2b263d, #2b2739, #2a2835, #2a2832, #2a292e

## Harmonies

- Complementary: #2d1f4f, #2a2d00
- Split: #2d1f4f, #3c2500, #063409
- Analogous: #2d1f4f, #132753, #3d1841
- Triadic: #2d1f4f, #481a00, #003527
- Tetradic: #2d1f4f, #48132d, #2a2d00, #003527
- Square: #2d1f4f, #4c1414, #2a2d00, #003339
- Monochromatic: #2d1f4f, #0a0022, #12022e, #4c3f72, #6d6096

## Questions about #2d1f4f

### What color is #2d1f4f?

#2d1f4f is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(45, 31, 79), in HSL hsl(257.5, 43.64%, 21.57%) and in OKLCH oklch(28.421% 0.08472 293.759).

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

The complementary color of #2d1f4f is #2a2d00. For a calmer combination use the analogous colors #132753 and #3d1841. The triadic partners are #481a00 and #003527.

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

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

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

#2d1f4f is a cool color. In OKLCH its hue is 294 degrees, its lightness 28.4% and its chroma 0.085.
