# #3a2d55 color: Midnight Pie

#3a2d55 is rgb(58, 45, 85) in RGB and oklch(33.14% 0.0701 297.419) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a2d55 |
| RGB | rgb(58, 45, 85) |
| HSL | hsl(259.5, 30.77%, 25.49%) |
| HSB / HSV | hsv(259.5 47.06% 33.33%) |
| HWB | hwb(259.5 17.65% 66.67%) |
| CMYK | cmyk(32% 47% 0% 67%) |
| Lab | lab(21.48 13.74 -22.42) |
| LCH | lch(21.48 26.29 301.51) |
| OKLab | oklab(33.14% 0.03228 -0.06223) |
| OKLCH | oklch(33.14% 0.0701 297.419) |
| Display P3 | color(display-p3 0.21935 0.17842 0.32335) |
| Rec. 2020 | color(rec2020 0.15639 0.12096 0.26201) |
| Adobe RGB | color(a98-rgb 0.22533 0.19103 0.33148) |
| ProPhoto RGB | color(prophoto-rgb 0.17596 0.1416 0.24992) |
| Linear sRGB | color(srgb-linear 0.04231 0.02624 0.09084) |
| XYZ D65 | color(xyz-d65 0.04323 0.03432 0.09029) |
| XYZ D50 | color(xyz-d50 0.04155 0.03373 0.06801) |
| SwiftUI | Color(red: 0.227, green: 0.176, blue: 0.333) |
| UIKit | UIColor(red: 0.227, green: 0.176, blue: 0.333, alpha: 1) |
| Flutter / Compose | Color(0xFF3A2D55) |
| Android XML | #3A2D55 |

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

## Tints

#3a2d55, #4b4065, #5d5375, #6f6786, #827b96, #9690a7, #aaa5b8, #bfbbca, #d4d1db, #e9e8ed

## Shades

#3a2d55, #312649, #281f3d, #201831, #181126, #100b1c, #090611, #040208, #010102, #000000

## Tones

#3a2d55, #392e52, #392f4f, #38304c, #383149, #383246, #373343, #37343f, #36343c, #363539

## Harmonies

- Complementary: #3a2d55, #333a08
- Split: #3a2d55, #453300, #193f20
- Analogous: #3a2d55, #26345a, #492848
- Triadic: #3a2d55, #502b0b, #004135
- Tetradic: #3a2d55, #512536, #333a08, #004135
- Square: #3a2d55, #542621, #333a08, #003f48
- Monochromatic: #3a2d55, #0a001c, #1d0f34, #5a4d78, #7c6f9c

## Questions about #3a2d55

### What color is #3a2d55?

#3a2d55 is soft dark violet. The closest named color is Midnight Pie. In RGB it is rgb(58, 45, 85), in HSL hsl(259.5, 30.77%, 25.49%) and in OKLCH oklch(33.14% 0.0701 297.419).

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

The complementary color of #3a2d55 is #333a08. For a calmer combination use the analogous colors #26345a and #492848. The triadic partners are #502b0b and #004135.

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

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

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

#3a2d55 is a cool color. In OKLCH its hue is 297 degrees, its lightness 33.1% and its chroma 0.07.
