# #331e4a color: Elderberry

#331e4a is rgb(51, 30, 74) in RGB and oklch(28.569% 0.08014 303.79) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #331e4a |
| RGB | rgb(51, 30, 74) |
| HSL | hsl(268.64, 42.31%, 20.39%) |
| HSB / HSV | hsv(268.64 59.46% 29.02%) |
| HWB | hwb(268.64 11.76% 70.98%) |
| CMYK | cmyk(31% 59% 0% 71%) |
| Lab | lab(15.91 18.35 -23.86) |
| LCH | lch(15.91 30.1 307.56) |
| OKLab | oklab(28.569% 0.04457 -0.0666) |
| OKLCH | oklch(28.569% 0.08014 303.79) |
| Display P3 | color(display-p3 0.18815 0.12129 0.28029) |
| Rec. 2020 | color(rec2020 0.1207 0.06752 0.21756) |
| Adobe RGB | color(a98-rgb 0.19473 0.13872 0.29095) |
| ProPhoto RGB | color(prophoto-rgb 0.14629 0.10235 0.21211) |
| Linear sRGB | color(srgb-linear 0.0331 0.01298 0.06848) |
| XYZ D65 | color(xyz-d65 0.03065 0.02127 0.06728) |
| XYZ D50 | color(xyz-d50 0.02923 0.02082 0.05062) |
| SwiftUI | Color(red: 0.2, green: 0.118, blue: 0.29) |
| UIKit | UIColor(red: 0.2, green: 0.118, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF331E4A) |
| Android XML | #331E4A |

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

## Tints

#331e4a, #45325b, #57466c, #6a5b7e, #7e718f, #9287a1, #a79eb4, #bcb6c6, #d2ced9, #e8e6ec

## Shades

#331e4a, #2b193f, #231335, #1c0e2a, #140920, #0d0517, #07030e, #030106, #010002, #000000

## Tones

#331e4a, #322047, #312144, #302341, #2f243e, #2e253b, #2e2637, #2d2734, #2c2831, #2b292e

## Harmonies

- Complementary: #331e4a, #223000
- Split: #331e4a, #372800, #003516
- Analogous: #331e4a, #1f2551, #41183a
- Triadic: #331e4a, #451f00, #00352e
- Tetradic: #331e4a, #491526, #223000, #00352e
- Square: #331e4a, #4a170c, #223000, #00323f
- Monochromatic: #331e4a, #0d001e, #16022a, #533d6c, #745f90

## Questions about #331e4a

### What color is #331e4a?

#331e4a is soft very dark purple. The closest named color is Elderberry. In RGB it is rgb(51, 30, 74), in HSL hsl(268.64, 42.31%, 20.39%) and in OKLCH oklch(28.569% 0.08014 303.79).

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

The complementary color of #331e4a is #223000. For a calmer combination use the analogous colors #1f2551 and #41183a. The triadic partners are #451f00 and #00352e.

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

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

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

#331e4a is a neutral color. In OKLCH its hue is 304 degrees, its lightness 28.6% and its chroma 0.08.
