# #3b2158 color: Stormy Night

#3b2158 is rgb(59, 33, 88) in RGB and oklch(31.145% 0.09663 303.011) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3b2158 |
| RGB | rgb(59, 33, 88) |
| HSL | hsl(268.36, 45.45%, 23.73%) |
| HSB / HSV | hsv(268.36 62.5% 34.51%) |
| HWB | hwb(268.36 12.94% 65.49%) |
| CMYK | cmyk(33% 63% 0% 65%) |
| Lab | lab(18.61 22.31 -28.95) |
| LCH | lch(18.61 36.55 307.62) |
| OKLab | oklab(31.145% 0.05264 -0.08103) |
| OKLCH | oklch(31.145% 0.09663 303.011) |
| Display P3 | color(display-p3 0.21706 0.13411 0.33309) |
| Rec. 2020 | color(rec2020 0.14906 0.08152 0.27167) |
| Adobe RGB | color(a98-rgb 0.21947 0.14907 0.34158) |
| ProPhoto RGB | color(prophoto-rgb 0.17159 0.11485 0.25752) |
| Linear sRGB | color(srgb-linear 0.04374 0.01521 0.09759) |
| XYZ D65 | color(xyz-d65 0.04109 0.02722 0.09542) |
| XYZ D50 | color(xyz-d50 0.03889 0.02655 0.07177) |
| SwiftUI | Color(red: 0.231, green: 0.129, blue: 0.345) |
| UIKit | UIColor(red: 0.231, green: 0.129, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF3B2158) |
| Android XML | #3B2158 |

## 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.6:1
- Contrast with black: 1.54:1

## Tints

#3b2158, #4c3568, #5e4a78, #705f89, #837499, #978aaa, #aba1bb, #bfb8cb, #d4cfdc, #e9e7ee

## Shades

#3b2158, #321b4b, #29163f, #211033, #190b28, #11061d, #090312, #040109, #010003, #000000

## Tones

#3b2158, #3a2354, #392550, #38274d, #372949, #362a45, #352c41, #342d3d, #332e39, #323035

## Harmonies

- Complementary: #3b2158, #283700
- Split: #3b2158, #3f2e00, #003e16
- Analogous: #3b2158, #222a61, #4c1a45
- Triadic: #3b2158, #502300, #003c34
- Tetradic: #3b2158, #55152c, #283700, #003c34
- Square: #3b2158, #57180b, #283700, #003947
- Monochromatic: #3b2158, #0d0020, #1e0136, #5b417b, #7d63a0

## Questions about #3b2158

### What color is #3b2158?

#3b2158 is soft dark purple. The closest named color is Stormy Night. In RGB it is rgb(59, 33, 88), in HSL hsl(268.36, 45.45%, 23.73%) and in OKLCH oklch(31.145% 0.09663 303.011).

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

The complementary color of #3b2158 is #283700. For a calmer combination use the analogous colors #222a61 and #4c1a45. The triadic partners are #502300 and #003c34.

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

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

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

#3b2158 is a neutral color. In OKLCH its hue is 303 degrees, its lightness 31.1% and its chroma 0.097.
