# #2c1f4c color: Elderberry

#2c1f4c is rgb(44, 31, 76) in RGB and oklch(28.076% 0.08004 293.944) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c1f4c |
| RGB | rgb(44, 31, 76) |
| HSL | hsl(257.33, 42.06%, 20.98%) |
| HSB / HSV | hsv(257.33 59.21% 29.8%) |
| HWB | hwb(257.33 12.16% 70.2%) |
| CMYK | cmyk(42% 59% 0% 70%) |
| Lab | lab(15.39 15.79 -26.13) |
| LCH | lch(15.39 30.53 301.15) |
| OKLab | oklab(28.076% 0.03248 -0.07315) |
| OKLCH | oklch(28.076% 0.08004 293.944) |
| Display P3 | color(display-p3 0.16468 0.1236 0.28755) |
| Rec. 2020 | color(rec2020 0.10377 0.06823 0.22499) |
| Adobe RGB | color(a98-rgb 0.176 0.14216 0.29817) |
| ProPhoto RGB | color(prophoto-rgb 0.13722 0.1022 0.21826) |
| Linear sRGB | color(srgb-linear 0.02519 0.0137 0.07227) |
| XYZ D65 | color(xyz-d65 0.02833 0.02037 0.07082) |
| XYZ D50 | color(xyz-d50 0.0266 0.01981 0.05329) |
| SwiftUI | Color(red: 0.173, green: 0.122, blue: 0.298) |
| UIKit | UIColor(red: 0.173, green: 0.122, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF2C1F4C) |
| Android XML | #2C1F4C |

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

## Tints

#2c1f4c, #3e335d, #50476e, #645c7f, #787291, #8d88a3, #a39fb5, #b9b6c7, #d0ced9, #e7e6ec

## Shades

#2c1f4c, #251941, #1e1436, #170f2c, #110a22, #0a0618, #05030f, #020106, #010002, #000000

## Tones

#2c1f4c, #2c2049, #2b2245, #2b2342, #2a243e, #2a253b, #2a2637, #292734, #292830, #29282d

## Harmonies

- Complementary: #2c1f4c, #292d00
- Split: #2c1f4c, #3a2400, #08330b
- Analogous: #2c1f4c, #142650, #3c193f
- Triadic: #2c1f4c, #461b00, #003426
- Tetradic: #2c1f4c, #45142c, #292d00, #003426
- Square: #2c1f4c, #491515, #292d00, #003238
- Monochromatic: #2c1f4c, #090021, #11022b, #4a3f6f, #6c6093

## Questions about #2c1f4c

### What color is #2c1f4c?

#2c1f4c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(44, 31, 76), in HSL hsl(257.33, 42.06%, 20.98%) and in OKLCH oklch(28.076% 0.08004 293.944).

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

The complementary color of #2c1f4c is #292d00. For a calmer combination use the analogous colors #142650 and #3c193f. The triadic partners are #461b00 and #003426.

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

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

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

#2c1f4c is a cool color. In OKLCH its hue is 294 degrees, its lightness 28.1% and its chroma 0.08.
