# #301f4d color: Elderberry

#301f4d is rgb(48, 31, 77) in RGB and oklch(28.613% 0.08204 298.09) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/301f4d

## Formats

| Format | Value |
| --- | --- |
| HEX | #301f4d |
| RGB | rgb(48, 31, 77) |
| HSL | hsl(262.17, 42.59%, 21.18%) |
| HSB / HSV | hsv(262.17 59.74% 30.2%) |
| HWB | hwb(262.17 12.16% 69.8%) |
| CMYK | cmyk(38% 60% 0% 70%) |
| Lab | lab(15.95 17.38 -25.87) |
| LCH | lch(15.95 31.17 303.89) |
| OKLab | oklab(28.613% 0.03863 -0.07238) |
| OKLCH | oklch(28.613% 0.08204 298.09) |
| Display P3 | color(display-p3 0.1783 0.12436 0.29144) |
| Rec. 2020 | color(rec2020 0.11444 0.06968 0.22894) |
| Adobe RGB | color(a98-rgb 0.187 0.14216 0.30176) |
| ProPhoto RGB | color(prophoto-rgb 0.14412 0.10386 0.22153) |
| Linear sRGB | color(srgb-linear 0.02956 0.0137 0.07421) |
| XYZ D65 | color(xyz-d65 0.03048 0.02144 0.07275) |
| XYZ D50 | color(xyz-d50 0.02878 0.0209 0.05474) |
| SwiftUI | Color(red: 0.188, green: 0.122, blue: 0.302) |
| UIKit | UIColor(red: 0.188, green: 0.122, blue: 0.302, alpha: 1) |
| Flutter / Compose | Color(0xFF301F4D) |
| Android XML | #301F4D |

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

## Tints

#301f4d, #41335e, #54476f, #675c80, #7b7292, #9088a3, #a59fb5, #bbb6c7, #d1ceda, #e8e6ec

## Shades

#301f4d, #281942, #211437, #1a0f2c, #130a22, #0c0618, #06030f, #030107, #010002, #000000

## Tones

#301f4d, #2f214a, #2f2246, #2e2343, #2d2540, #2d263c, #2c2739, #2c2835, #2b2932, #2b2a2e

## Harmonies

- Complementary: #301f4d, #272f00
- Split: #301f4d, #3a2700, #013510
- Analogous: #301f4d, #192753, #3f193e
- Triadic: #301f4d, #471d00, #00352a
- Tetradic: #301f4d, #48152a, #272f00, #00352a
- Square: #301f4d, #4b1611, #272f00, #00333c
- Monochromatic: #301f4d, #0b0020, #14022c, #4f3f70, #706094

## Questions about #301f4d

### What color is #301f4d?

#301f4d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(48, 31, 77), in HSL hsl(262.17, 42.59%, 21.18%) and in OKLCH oklch(28.613% 0.08204 298.09).

### What colors go well with #301f4d?

The complementary color of #301f4d is #272f00. For a calmer combination use the analogous colors #192753 and #3f193e. The triadic partners are #471d00 and #00352a.

### Is white or black text more readable on #301f4d?

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

### Is #301f4d a warm or cool color?

#301f4d is a cool color. In OKLCH its hue is 298 degrees, its lightness 28.6% and its chroma 0.082.
