# #3a2d58 color: Midnight Pie

#3a2d58 is rgb(58, 45, 88) in RGB and oklch(33.332% 0.07479 296.028) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a2d58 |
| RGB | rgb(58, 45, 88) |
| HSL | hsl(258.14, 32.33%, 26.08%) |
| HSB / HSV | hsv(258.14 48.86% 34.51%) |
| HWB | hwb(258.14 17.65% 65.49%) |
| CMYK | cmyk(34% 49% 0% 65%) |
| Lab | lab(21.63 14.44 -24.16) |
| LCH | lch(21.63 28.15 300.86) |
| OKLab | oklab(33.332% 0.03282 -0.06721) |
| OKLCH | oklch(33.332% 0.07479 296.028) |
| Display P3 | color(display-p3 0.21935 0.17842 0.33446) |
| Rec. 2020 | color(rec2020 0.15724 0.12123 0.27343) |
| Adobe RGB | color(a98-rgb 0.22533 0.19103 0.34232) |
| ProPhoto RGB | color(prophoto-rgb 0.17807 0.1421 0.25961) |
| Linear sRGB | color(srgb-linear 0.04231 0.02624 0.09759) |
| XYZ D65 | color(xyz-d65 0.04444 0.03481 0.09671) |
| XYZ D50 | color(xyz-d50 0.04252 0.03414 0.07282) |
| SwiftUI | Color(red: 0.227, green: 0.176, blue: 0.345) |
| UIKit | UIColor(red: 0.227, green: 0.176, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF3A2D58) |
| Android XML | #3A2D58 |

## 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.38:1
- Contrast with black: 1.7:1

## Tints

#3a2d58, #4b4068, #5d5378, #6f6788, #827b99, #9690a9, #aaa5ba, #bfbbcb, #d4d1dc, #e9e8ed

## Shades

#3a2d58, #31264b, #281f3f, #201833, #181128, #100b1d, #090612, #040209, #010103, #000000

## Tones

#3a2d58, #3a2e55, #392f51, #39304e, #38314b, #383248, #373344, #373441, #37353d, #36353a

## Harmonies

- Complementary: #3a2d58, #353b02
- Split: #3a2d58, #473300, #18401d
- Analogous: #3a2d58, #24345d, #4a274b
- Triadic: #3a2d58, #532a07, #004235
- Tetradic: #3a2d58, #532437, #353b02, #004235
- Square: #3a2d58, #572521, #353b02, #004049
- Monochromatic: #3a2d58, #0a001e, #1d0f37, #5a4d7b, #7c6fa0

## Questions about #3a2d58

### What color is #3a2d58?

#3a2d58 is soft dark violet. The closest named color is Midnight Pie. In RGB it is rgb(58, 45, 88), in HSL hsl(258.14, 32.33%, 26.08%) and in OKLCH oklch(33.332% 0.07479 296.028).

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

The complementary color of #3a2d58 is #353b02. For a calmer combination use the analogous colors #24345d and #4a274b. The triadic partners are #532a07 and #004235.

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

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

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

#3a2d58 is a cool color. In OKLCH its hue is 296 degrees, its lightness 33.3% and its chroma 0.075.
