# #3a2d59 color: Midnight Pie

#3a2d59 is rgb(58, 45, 89) in RGB and oklch(33.397% 0.07635 295.594) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/3a2d59

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a2d59 |
| RGB | rgb(58, 45, 89) |
| HSL | hsl(257.73, 32.84%, 26.27%) |
| HSB / HSV | hsv(257.73 49.44% 34.9%) |
| HWB | hwb(257.73 17.65% 65.1%) |
| CMYK | cmyk(35% 49% 0% 65%) |
| Lab | lab(21.68 14.67 -24.74) |
| LCH | lch(21.68 28.77 300.67) |
| OKLab | oklab(33.397% 0.03298 -0.06886) |
| OKLCH | oklch(33.397% 0.07635 295.594) |
| Display P3 | color(display-p3 0.21935 0.17842 0.33817) |
| Rec. 2020 | color(rec2020 0.15754 0.12132 0.27725) |
| Adobe RGB | color(a98-rgb 0.22533 0.19103 0.34594) |
| ProPhoto RGB | color(prophoto-rgb 0.17878 0.14227 0.26286) |
| Linear sRGB | color(srgb-linear 0.04231 0.02624 0.0999) |
| XYZ D65 | color(xyz-d65 0.04486 0.03498 0.0989) |
| XYZ D50 | color(xyz-d50 0.04285 0.03428 0.07447) |
| SwiftUI | Color(red: 0.227, green: 0.176, blue: 0.349) |
| UIKit | UIColor(red: 0.227, green: 0.176, blue: 0.349, alpha: 1) |
| Flutter / Compose | Color(0xFF3A2D59) |
| Android XML | #3A2D59 |

## Facts

- Closest name: Midnight Pie
- Hue family: Violet, soft dark violet
- Closest Tailwind class: mauve-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.36:1
- Contrast with black: 1.7:1

## Tints

#3a2d59, #4b4069, #5d5379, #6f6789, #827b99, #9690aa, #aaa5ba, #bfbbcb, #d4d1dc, #e9e8ee

## Shades

#3a2d59, #31264c, #281f40, #201834, #181128, #100b1d, #090613, #040209, #010103, #000000

## Tones

#3a2d59, #3a2e56, #392f52, #39314f, #38324c, #383248, #373345, #373441, #37353e, #37363a

## Harmonies

- Complementary: #3a2d59, #353b00
- Split: #3a2d59, #483200, #18401c
- Analogous: #3a2d59, #23345e, #4a274b
- Triadic: #3a2d59, #532a06, #004335
- Tetradic: #3a2d59, #542438, #353b00, #004335
- Square: #3a2d59, #572421, #353b00, #004149
- Monochromatic: #3a2d59, #0a001f, #1d0e38, #5a4d7c, #7c6fa1

## Questions about #3a2d59

### What color is #3a2d59?

#3a2d59 is soft dark violet. The closest named color is Midnight Pie. In RGB it is rgb(58, 45, 89), in HSL hsl(257.73, 32.84%, 26.27%) and in OKLCH oklch(33.397% 0.07635 295.594).

### What colors go well with #3a2d59?

The complementary color of #3a2d59 is #353b00. For a calmer combination use the analogous colors #23345e and #4a274b. The triadic partners are #532a06 and #004335.

### Is white or black text more readable on #3a2d59?

White text reads better on #3a2d59: white gives a contrast ratio of 12.36:1 and black gives 1.7:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #3a2d59 a warm or cool color?

#3a2d59 is a cool color. In OKLCH its hue is 296 degrees, its lightness 33.4% and its chroma 0.076.
