# #3a2d56 color: Midnight Pie

#3a2d56 is rgb(58, 45, 86) in RGB and oklch(33.204% 0.07167 296.939) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a2d56 |
| RGB | rgb(58, 45, 86) |
| HSL | hsl(259.02, 31.3%, 25.69%) |
| HSB / HSV | hsv(259.02 47.67% 33.73%) |
| HWB | hwb(259.02 17.65% 66.27%) |
| CMYK | cmyk(33% 48% 0% 66%) |
| Lab | lab(21.53 13.97 -23) |
| LCH | lch(21.53 26.91 301.28) |
| OKLab | oklab(33.204% 0.03247 -0.06389) |
| OKLCH | oklch(33.204% 0.07167 296.939) |
| Display P3 | color(display-p3 0.21935 0.17842 0.32705) |
| Rec. 2020 | color(rec2020 0.15667 0.12105 0.26581) |
| Adobe RGB | color(a98-rgb 0.22533 0.19103 0.33509) |
| ProPhoto RGB | color(prophoto-rgb 0.17665 0.14176 0.25314) |
| Linear sRGB | color(srgb-linear 0.04231 0.02624 0.09306) |
| XYZ D65 | color(xyz-d65 0.04363 0.03448 0.0924) |
| XYZ D50 | color(xyz-d50 0.04187 0.03387 0.06959) |
| SwiftUI | Color(red: 0.227, green: 0.176, blue: 0.337) |
| UIKit | UIColor(red: 0.227, green: 0.176, blue: 0.337, alpha: 1) |
| Flutter / Compose | Color(0xFF3A2D56) |
| Android XML | #3A2D56 |

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

## Tints

#3a2d56, #4b4066, #5d5376, #6f6787, #827b97, #9690a8, #aaa5b9, #bfbbca, #d4d1dc, #e9e8ed

## Shades

#3a2d56, #31264a, #281f3e, #201832, #181127, #100b1c, #090612, #040208, #010102, #000000

## Tones

#3a2d56, #392e53, #392f50, #39304d, #38314a, #383246, #373343, #373440, #36343d, #363539

## Harmonies

- Complementary: #3a2d56, #343a06
- Split: #3a2d56, #463300, #19401f
- Analogous: #3a2d56, #25345b, #492849
- Triadic: #3a2d56, #512b09, #004135
- Tetradic: #3a2d56, #522436, #343a06, #004135
- Square: #3a2d56, #552521, #343a06, #004048
- Monochromatic: #3a2d56, #0a001d, #1d0f35, #5a4d79, #7c6f9e

## Questions about #3a2d56

### What color is #3a2d56?

#3a2d56 is soft dark violet. The closest named color is Midnight Pie. In RGB it is rgb(58, 45, 86), in HSL hsl(259.02, 31.3%, 25.69%) and in OKLCH oklch(33.204% 0.07167 296.939).

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

The complementary color of #3a2d56 is #343a06. For a calmer combination use the analogous colors #25345b and #492849. The triadic partners are #512b09 and #004135.

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

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

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

#3a2d56 is a cool color. In OKLCH its hue is 297 degrees, its lightness 33.2% and its chroma 0.072.
