# #3a2b55 color: Midnight Pie

#3a2b55 is rgb(58, 43, 85) in RGB and oklch(32.724% 0.07386 298.73) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a2b55 |
| RGB | rgb(58, 43, 85) |
| HSL | hsl(261.43, 32.81%, 25.1%) |
| HSB / HSV | hsv(261.43 49.41% 33.33%) |
| HWB | hwb(261.43 16.86% 66.67%) |
| CMYK | cmyk(32% 49% 0% 67%) |
| Lab | lab(20.92 15.03 -23.3) |
| LCH | lch(20.92 27.72 302.82) |
| OKLab | oklab(32.724% 0.0355 -0.06477) |
| OKLCH | oklch(32.724% 0.07386 298.73) |
| Display P3 | color(display-p3 0.21828 0.17094 0.32307) |
| Rec. 2020 | color(rec2020 0.15436 0.11407 0.26166) |
| Adobe RGB | color(a98-rgb 0.22372 0.18398 0.33133) |
| ProPhoto RGB | color(prophoto-rgb 0.17442 0.1367 0.24951) |
| Linear sRGB | color(srgb-linear 0.04231 0.02416 0.09084) |
| XYZ D65 | color(xyz-d65 0.04248 0.03283 0.09005) |
| XYZ D50 | color(xyz-d50 0.04075 0.03224 0.0678) |
| SwiftUI | Color(red: 0.227, green: 0.169, blue: 0.333) |
| UIKit | UIColor(red: 0.227, green: 0.169, blue: 0.333, alpha: 1) |
| Flutter / Compose | Color(0xFF3A2B55) |
| Android XML | #3A2B55 |

## 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.68:1
- Contrast with black: 1.66:1

## Tints

#3a2b55, #4b3e65, #5d5175, #6f6586, #827a96, #968fa7, #aaa4b9, #bfbaca, #d4d1db, #e9e8ed

## Shades

#3a2b55, #312449, #281d3d, #201631, #181026, #100a1c, #090511, #040208, #010102, #000000

## Tones

#3a2b55, #392c52, #392d4f, #382f4c, #383048, #373145, #373142, #36323f, #35333b, #353438

## Harmonies

- Complementary: #3a2b55, #313903
- Split: #3a2b55, #443200, #143f1e
- Analogous: #3a2b55, #25325a, #492547
- Triadic: #3a2b55, #502a04, #004035
- Tetradic: #3a2b55, #522234, #313903, #004035
- Square: #3a2b55, #54241e, #313903, #003e49
- Monochromatic: #3a2b55, #0a001d, #1d0d34, #5a4b78, #7c6d9c

## Questions about #3a2b55

### What color is #3a2b55?

#3a2b55 is soft dark violet. The closest named color is Midnight Pie. In RGB it is rgb(58, 43, 85), in HSL hsl(261.43, 32.81%, 25.1%) and in OKLCH oklch(32.724% 0.07386 298.73).

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

The complementary color of #3a2b55 is #313903. For a calmer combination use the analogous colors #25325a and #492547. The triadic partners are #502a04 and #004035.

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

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

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

#3a2b55 is a cool color. In OKLCH its hue is 299 degrees, its lightness 32.7% and its chroma 0.074.
