# #2a214c color: Elderberry

#2a214c is rgb(42, 33, 76) in RGB and oklch(28.269% 0.07643 290.278) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a214c |
| RGB | rgb(42, 33, 76) |
| HSL | hsl(252.56, 39.45%, 21.37%) |
| HSB / HSV | hsv(252.56 56.58% 29.8%) |
| HWB | hwb(252.56 12.94% 70.2%) |
| CMYK | cmyk(45% 57% 0% 70%) |
| Lab | lab(15.71 13.8 -25.62) |
| LCH | lch(15.71 29.1 298.3) |
| OKLab | oklab(28.269% 0.02649 -0.0717) |
| OKLCH | oklch(28.269% 0.07643 290.278) |
| Display P3 | color(display-p3 0.15903 0.13074 0.28771) |
| Rec. 2020 | color(rec2020 0.1007 0.07383 0.22521) |
| Adobe RGB | color(a98-rgb 0.17221 0.14907 0.29829) |
| ProPhoto RGB | color(prophoto-rgb 0.13564 0.10599 0.21852) |
| Linear sRGB | color(srgb-linear 0.02315 0.01521 0.07227) |
| XYZ D65 | color(xyz-d65 0.02803 0.02102 0.07096) |
| XYZ D50 | color(xyz-d50 0.02629 0.02044 0.05341) |
| SwiftUI | Color(red: 0.165, green: 0.129, blue: 0.298) |
| UIKit | UIColor(red: 0.165, green: 0.129, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF2A214C) |
| Android XML | #2A214C |

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

## Tints

#2a214c, #3c355d, #4e496e, #625e7f, #777391, #8c89a3, #a2a0b5, #b8b7c7, #cfced9, #e7e6ec

## Shades

#2a214c, #231b41, #1c1636, #16102c, #100b22, #0a0618, #05030f, #020106, #010002, #000000

## Tones

#2a214c, #2a2249, #2a2345, #292442, #29253f, #29263b, #292738, #292834, #292831, #29292d

## Harmonies

- Complementary: #2a214c, #2c2c00
- Split: #2a214c, #3d2400, #11320a
- Analogous: #2a214c, #11284f, #3a1b40
- Triadic: #2a214c, #461b00, #003524
- Tetradic: #2a214c, #44172f, #2c2c00, #003524
- Square: #2a214c, #481619, #2c2c00, #003337
- Monochromatic: #2a214c, #080020, #10042b, #48406f, #696293

## Questions about #2a214c

### What color is #2a214c?

#2a214c is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(42, 33, 76), in HSL hsl(252.56, 39.45%, 21.37%) and in OKLCH oklch(28.269% 0.07643 290.278).

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

The complementary color of #2a214c is #2c2c00. For a calmer combination use the analogous colors #11284f and #3a1b40. The triadic partners are #461b00 and #003524.

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

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

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

#2a214c is a cool color. In OKLCH its hue is 290 degrees, its lightness 28.3% and its chroma 0.076.
