# #3a1f58 color: Stormy Night

#3a1f58 is rgb(58, 31, 88) in RGB and oklch(30.677% 0.09978 302.766) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3a1f58 |
| RGB | rgb(58, 31, 88) |
| HSL | hsl(268.42, 47.9%, 23.33%) |
| HSB / HSV | hsv(268.42 64.77% 34.51%) |
| HWB | hwb(268.42 12.16% 65.49%) |
| CMYK | cmyk(34% 65% 0% 65%) |
| Lab | lab(17.99 23.19 -29.95) |
| LCH | lch(17.99 37.88 307.75) |
| OKLab | oklab(30.677% 0.054 -0.08391) |
| OKLCH | oklch(30.677% 0.09978 302.766) |
| Display P3 | color(display-p3 0.21279 0.12657 0.33285) |
| Rec. 2020 | color(rec2020 0.14478 0.07484 0.27138) |
| Adobe RGB | color(a98-rgb 0.21537 0.14216 0.34147) |
| ProPhoto RGB | color(prophoto-rgb 0.16872 0.11021 0.25719) |
| Linear sRGB | color(srgb-linear 0.04231 0.0137 0.09759) |
| XYZ D65 | color(xyz-d65 0.03996 0.02584 0.09521) |
| XYZ D50 | color(xyz-d50 0.03769 0.02515 0.07161) |
| SwiftUI | Color(red: 0.227, green: 0.122, blue: 0.345) |
| UIKit | UIColor(red: 0.227, green: 0.122, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF3A1F58) |
| Android XML | #3A1F58 |

## Facts

- Closest name: Stormy Night
- Hue family: Purple, soft dark purple
- Closest Tailwind class: purple-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.84:1
- Contrast with black: 1.52:1

## Tints

#3a1f58, #4b3468, #5d4978, #6f5e89, #827399, #9689aa, #aaa0bb, #bfb7cc, #d4cfdd, #e9e7ee

## Shades

#3a1f58, #31194b, #28143f, #200f33, #180a28, #10061d, #090312, #040109, #010003, #000000

## Tones

#3a1f58, #392154, #382450, #37264c, #362748, #342944, #332b40, #322c3c, #312d38, #302e34

## Harmonies

- Complementary: #3a1f58, #273600
- Split: #3a1f58, #3e2d00, #003d14
- Analogous: #3a1f58, #202861, #4b1745
- Triadic: #3a1f58, #4e2200, #003b33
- Tetradic: #3a1f58, #55122b, #273600, #003b33
- Square: #3a1f58, #571508, #273600, #003845
- Monochromatic: #3a1f58, #0d0020, #1d0036, #5a407b, #7c61a1

## Questions about #3a1f58

### What color is #3a1f58?

#3a1f58 is soft dark purple. The closest named color is Stormy Night. In RGB it is rgb(58, 31, 88), in HSL hsl(268.42, 47.9%, 23.33%) and in OKLCH oklch(30.677% 0.09978 302.766).

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

The complementary color of #3a1f58 is #273600. For a calmer combination use the analogous colors #202861 and #4b1745. The triadic partners are #4e2200 and #003b33.

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

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

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

#3a1f58 is a neutral color. In OKLCH its hue is 303 degrees, its lightness 30.7% and its chroma 0.1.
