# #2a214d color: Elderberry

#2a214d is rgb(42, 33, 77) in RGB and oklch(28.345% 0.07803 289.911) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a214d |
| RGB | rgb(42, 33, 77) |
| HSL | hsl(252.27, 40%, 21.57%) |
| HSB / HSV | hsv(252.27 57.14% 30.2%) |
| HWB | hwb(252.27 12.94% 69.8%) |
| CMYK | cmyk(45% 57% 0% 70%) |
| Lab | lab(15.77 14.06 -26.21) |
| LCH | lch(15.77 29.74 298.22) |
| OKLab | oklab(28.345% 0.02657 -0.07337) |
| OKLCH | oklch(28.345% 0.07803 289.911) |
| Display P3 | color(display-p3 0.15903 0.13074 0.29144) |
| Rec. 2020 | color(rec2020 0.10103 0.07393 0.229) |
| Adobe RGB | color(a98-rgb 0.17221 0.14907 0.30188) |
| ProPhoto RGB | color(prophoto-rgb 0.13639 0.10617 0.22166) |
| Linear sRGB | color(srgb-linear 0.02315 0.01521 0.07421) |
| XYZ D65 | color(xyz-d65 0.02838 0.02116 0.0728) |
| XYZ D50 | color(xyz-d50 0.02657 0.02055 0.05479) |
| SwiftUI | Color(red: 0.165, green: 0.129, blue: 0.302) |
| UIKit | UIColor(red: 0.165, green: 0.129, blue: 0.302, alpha: 1) |
| Flutter / Compose | Color(0xFF2A214D) |
| Android XML | #2A214D |

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

## Tints

#2a214d, #3c355e, #4e496f, #625e80, #767392, #8c89a3, #a2a0b5, #b8b7c7, #cfceda, #e7e6ec

## Shades

#2a214d, #231b42, #1c1637, #16102c, #100b22, #0a0618, #05030f, #020107, #010002, #000000

## Tones

#2a214d, #2a224a, #2a2346, #292543, #29253f, #29263c, #292738, #292835, #292931, #29292d

## Harmonies

- Complementary: #2a214d, #2d2c00
- Split: #2a214d, #3d2400, #113208
- Analogous: #2a214d, #112850, #3a1b41
- Triadic: #2a214d, #471b00, #003524
- Tetradic: #2a214d, #45162f, #2d2c00, #003524
- Square: #2a214d, #491619, #2d2c00, #003337
- Monochromatic: #2a214d, #080021, #10032c, #484170, #696294

## Questions about #2a214d

### What color is #2a214d?

#2a214d is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(42, 33, 77), in HSL hsl(252.27, 40%, 21.57%) and in OKLCH oklch(28.345% 0.07803 289.911).

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

The complementary color of #2a214d is #2d2c00. For a calmer combination use the analogous colors #112850 and #3a1b41. The triadic partners are #471b00 and #003524.

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

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

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

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