# #2f1f4f color: Elderberry

#2f1f4f is rgb(47, 31, 79) in RGB and oklch(28.649% 0.0849 295.975) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1f4f |
| RGB | rgb(47, 31, 79) |
| HSL | hsl(260, 43.64%, 21.57%) |
| HSB / HSV | hsv(260 60.76% 30.98%) |
| HWB | hwb(260 12.16% 69.02%) |
| CMYK | cmyk(41% 61% 0% 69%) |
| Lab | lab(15.95 17.54 -27.25) |
| LCH | lch(15.95 32.41 302.77) |
| OKLab | oklab(28.649% 0.03719 -0.07633) |
| OKLCH | oklch(28.649% 0.0849 295.975) |
| Display P3 | color(display-p3 0.17489 0.12417 0.29885) |
| Rec. 2020 | color(rec2020 0.11246 0.06953 0.23651) |
| Adobe RGB | color(a98-rgb 0.18423 0.14216 0.30895) |
| ProPhoto RGB | color(prophoto-rgb 0.14402 0.10386 0.2278) |
| Linear sRGB | color(srgb-linear 0.02843 0.0137 0.07819) |
| XYZ D65 | color(xyz-d65 0.03073 0.02149 0.0765) |
| XYZ D50 | color(xyz-d50 0.02886 0.02089 0.05756) |
| SwiftUI | Color(red: 0.184, green: 0.122, blue: 0.31) |
| UIKit | UIColor(red: 0.184, green: 0.122, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1F4F) |
| Android XML | #2F1F4F |

## 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.69:1
- Contrast with black: 1.43:1

## Tints

#2f1f4f, #403360, #534871, #665d82, #7a7293, #8f88a5, #a49fb6, #bab6c8, #d1ceda, #e8e6ed

## Shades

#2f1f4f, #271944, #201438, #190f2e, #120a23, #0c0619, #060310, #030107, #010002, #000000

## Tones

#2f1f4f, #2e214b, #2e2248, #2d2444, #2d2541, #2c263d, #2c273a, #2b2836, #2b2932, #2b2a2e

## Harmonies

- Complementary: #2f1f4f, #292f00
- Split: #2f1f4f, #3b2600, #02350c
- Analogous: #2f1f4f, #162754, #3f1841
- Triadic: #2f1f4f, #481c00, #003629
- Tetradic: #2f1f4f, #49142c, #292f00, #003629
- Square: #2f1f4f, #4c1413, #292f00, #00333b
- Monochromatic: #2f1f4f, #0b0022, #14022e, #4e3f72, #6f6096

## Questions about #2f1f4f

### What color is #2f1f4f?

#2f1f4f is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(47, 31, 79), in HSL hsl(260, 43.64%, 21.57%) and in OKLCH oklch(28.649% 0.0849 295.975).

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

The complementary color of #2f1f4f is #292f00. For a calmer combination use the analogous colors #162754 and #3f1841. The triadic partners are #481c00 and #003629.

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

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

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

#2f1f4f is a cool color. In OKLCH its hue is 296 degrees, its lightness 28.6% and its chroma 0.085.
