# #301f4c color: Elderberry

#301f4c is rgb(48, 31, 76) in RGB and oklch(28.539% 0.08054 298.615) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #301f4c |
| RGB | rgb(48, 31, 76) |
| HSL | hsl(262.67, 42.06%, 20.98%) |
| HSB / HSV | hsv(262.67 59.21% 29.8%) |
| HWB | hwb(262.67 12.16% 70.2%) |
| CMYK | cmyk(37% 59% 0% 70%) |
| Lab | lab(15.89 17.14 -25.29) |
| LCH | lch(15.89 30.55 304.13) |
| OKLab | oklab(28.539% 0.03857 -0.07071) |
| OKLCH | oklch(28.539% 0.08054 298.615) |
| Display P3 | color(display-p3 0.1783 0.12436 0.28771) |
| Rec. 2020 | color(rec2020 0.11413 0.06958 0.22515) |
| Adobe RGB | color(a98-rgb 0.187 0.14216 0.29817) |
| ProPhoto RGB | color(prophoto-rgb 0.14341 0.10367 0.21839) |
| Linear sRGB | color(srgb-linear 0.02956 0.0137 0.07227) |
| XYZ D65 | color(xyz-d65 0.03013 0.0213 0.0709) |
| XYZ D50 | color(xyz-d50 0.02851 0.02078 0.05335) |
| SwiftUI | Color(red: 0.188, green: 0.122, blue: 0.298) |
| UIKit | UIColor(red: 0.188, green: 0.122, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF301F4C) |
| Android XML | #301F4C |

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

## Tints

#301f4c, #41335d, #54476e, #675c7f, #7b7291, #9088a3, #a59fb5, #bbb6c7, #d1ced9, #e8e6ec

## Shades

#301f4c, #281941, #211436, #1a0f2c, #130a22, #0c0618, #06030f, #030106, #010002, #000000

## Tones

#301f4c, #2f2149, #2f2245, #2e2342, #2d253f, #2d263c, #2c2738, #2c2835, #2b2931, #2b292e

## Harmonies

- Complementary: #301f4c, #272f00
- Split: #301f4c, #3a2700, #013411
- Analogous: #301f4c, #1a2652, #3f193e
- Triadic: #301f4c, #461d00, #00352b
- Tetradic: #301f4c, #48152a, #272f00, #00352b
- Square: #301f4c, #4b1611, #272f00, #00333c
- Monochromatic: #301f4c, #0b0020, #14022b, #4f3f6f, #716093

## Questions about #301f4c

### What color is #301f4c?

#301f4c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(48, 31, 76), in HSL hsl(262.67, 42.06%, 20.98%) and in OKLCH oklch(28.539% 0.08054 298.615).

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

The complementary color of #301f4c is #272f00. For a calmer combination use the analogous colors #1a2652 and #3f193e. The triadic partners are #461d00 and #00352b.

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

White text reads better on #301f4c: 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 #301f4c a warm or cool color?

#301f4c is a cool color. In OKLCH its hue is 299 degrees, its lightness 28.5% and its chroma 0.081.
