# #331d4a color: Elderberry

#331d4a is rgb(51, 29, 74) in RGB and oklch(28.382% 0.08199 304.242) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/331d4a

## Formats

| Format | Value |
| --- | --- |
| HEX | #331d4a |
| RGB | rgb(51, 29, 74) |
| HSL | hsl(269.33, 43.69%, 20.2%) |
| HSB / HSV | hsv(269.33 60.81% 29.02%) |
| HWB | hwb(269.33 11.37% 70.98%) |
| CMYK | cmyk(31% 61% 0% 71%) |
| Lab | lab(15.66 18.98 -24.27) |
| LCH | lch(15.66 30.8 308.03) |
| OKLab | oklab(28.382% 0.04614 -0.06778) |
| OKLCH | oklch(28.382% 0.08199 304.242) |
| Display P3 | color(display-p3 0.18773 0.11762 0.28018) |
| Rec. 2020 | color(rec2020 0.11989 0.06464 0.21742) |
| Adobe RGB | color(a98-rgb 0.19409 0.13528 0.29089) |
| ProPhoto RGB | color(prophoto-rgb 0.1457 0.10024 0.21196) |
| Linear sRGB | color(srgb-linear 0.0331 0.01229 0.06848) |
| XYZ D65 | color(xyz-d65 0.0304 0.02077 0.0672) |
| XYZ D50 | color(xyz-d50 0.02897 0.02032 0.05055) |
| SwiftUI | Color(red: 0.2, green: 0.114, blue: 0.29) |
| UIKit | UIColor(red: 0.2, green: 0.114, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF331D4A) |
| Android XML | #331D4A |

## Facts

- Closest name: Elderberry
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.84:1
- Contrast with black: 1.42:1

## Tints

#331d4a, #45315b, #57466c, #6a5b7e, #7e718f, #9287a1, #a79eb4, #bcb5c6, #d2cdd9, #e8e6ec

## Shades

#331d4a, #2b183f, #231335, #1c0e2a, #140920, #0d0517, #07030e, #030106, #010002, #000000

## Tones

#331d4a, #321f47, #312044, #302241, #2f233e, #2e253a, #2d2637, #2c2734, #2b2831, #2b292d

## Harmonies

- Complementary: #331d4a, #213000
- Split: #331d4a, #362800, #003516
- Analogous: #331d4a, #1e2452, #41173a
- Triadic: #331d4a, #441e00, #00342e
- Tetradic: #331d4a, #491425, #213000, #00342e
- Square: #331d4a, #4a160a, #213000, #00323f
- Monochromatic: #331d4a, #0d001e, #16012a, #533c6c, #745e90

## Questions about #331d4a

### What color is #331d4a?

#331d4a is soft very dark purple. The closest named color is Elderberry. In RGB it is rgb(51, 29, 74), in HSL hsl(269.33, 43.69%, 20.2%) and in OKLCH oklch(28.382% 0.08199 304.242).

### What colors go well with #331d4a?

The complementary color of #331d4a is #213000. For a calmer combination use the analogous colors #1e2452 and #41173a. The triadic partners are #441e00 and #00342e.

### Is white or black text more readable on #331d4a?

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

### Is #331d4a a warm or cool color?

#331d4a is a neutral color. In OKLCH its hue is 304 degrees, its lightness 28.4% and its chroma 0.082.
