# #2f1f4d color: Elderberry

#2f1f4d is rgb(47, 31, 77) in RGB and oklch(28.496% 0.08189 296.943) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1f4d |
| RGB | rgb(47, 31, 77) |
| HSL | hsl(260.87, 42.59%, 21.18%) |
| HSB / HSV | hsv(260.87 59.74% 30.2%) |
| HWB | hwb(260.87 12.16% 69.8%) |
| CMYK | cmyk(39% 60% 0% 70%) |
| Lab | lab(15.82 17.04 -26.09) |
| LCH | lch(15.82 31.16 303.16) |
| OKLab | oklab(28.496% 0.03711 -0.073) |
| OKLCH | oklch(28.496% 0.08189 296.943) |
| Display P3 | color(display-p3 0.17489 0.12417 0.2914) |
| Rec. 2020 | color(rec2020 0.11182 0.06933 0.2289) |
| Adobe RGB | color(a98-rgb 0.18423 0.14216 0.30176) |
| ProPhoto RGB | color(prophoto-rgb 0.14255 0.10348 0.22149) |
| Linear sRGB | color(srgb-linear 0.02843 0.0137 0.07421) |
| XYZ D65 | color(xyz-d65 0.03002 0.0212 0.07273) |
| XYZ D50 | color(xyz-d50 0.02829 0.02065 0.05472) |
| SwiftUI | Color(red: 0.184, green: 0.122, blue: 0.302) |
| UIKit | UIColor(red: 0.184, green: 0.122, blue: 0.302, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1F4D) |
| Android XML | #2F1F4D |

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

## Tints

#2f1f4d, #40335e, #53476f, #665c80, #7a7292, #8f88a3, #a49fb5, #bab6c7, #d1ceda, #e8e6ec

## Shades

#2f1f4d, #271942, #201437, #190f2c, #120a22, #0c0618, #06030f, #030107, #010002, #000000

## Tones

#2f1f4d, #2e214a, #2e2246, #2d2343, #2d253f, #2c263c, #2c2739, #2b2835, #2b2831, #2a292e

## Harmonies

- Complementary: #2f1f4d, #282e00
- Split: #2f1f4d, #3a2600, #02340f
- Analogous: #2f1f4d, #182752, #3e193f
- Triadic: #2f1f4d, #471c00, #003529
- Tetradic: #2f1f4d, #48152b, #282e00, #003529
- Square: #2f1f4d, #4b1512, #282e00, #00333b
- Monochromatic: #2f1f4d, #0b0020, #14022c, #4e3f70, #6f6094

## Questions about #2f1f4d

### What color is #2f1f4d?

#2f1f4d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(47, 31, 77), in HSL hsl(260.87, 42.59%, 21.18%) and in OKLCH oklch(28.496% 0.08189 296.943).

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

The complementary color of #2f1f4d is #282e00. For a calmer combination use the analogous colors #182752 and #3e193f. The triadic partners are #471c00 and #003529.

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

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

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

#2f1f4d is a cool color. In OKLCH its hue is 297 degrees, its lightness 28.5% and its chroma 0.082.
