# #342157 color: Stormy Night

#342157 is rgb(52, 33, 87) in RGB and oklch(30.225% 0.09387 296.604) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/342157

## Formats

| Format | Value |
| --- | --- |
| HEX | #342157 |
| RGB | rgb(52, 33, 87) |
| HSL | hsl(261.11, 45%, 23.53%) |
| HSB / HSV | hsv(261.11 62.07% 34.12%) |
| HWB | hwb(261.11 12.94% 65.88%) |
| CMYK | cmyk(40% 62% 0% 66%) |
| Lab | lab(17.61 19.84 -29.94) |
| LCH | lch(17.61 35.92 303.53) |
| OKLab | oklab(30.225% 0.04204 -0.08393) |
| OKLCH | oklch(30.225% 0.09387 296.604) |
| Display P3 | color(display-p3 0.19293 0.13258 0.32907) |
| Rec. 2020 | color(rec2020 0.1299 0.07848 0.26754) |
| Adobe RGB | color(a98-rgb 0.19957 0.14907 0.33795) |
| ProPhoto RGB | color(prophoto-rgb 0.15918 0.11171 0.25399) |
| Linear sRGB | color(srgb-linear 0.03434 0.01521 0.09531) |
| XYZ D65 | color(xyz-d65 0.0368 0.02506 0.09307) |
| XYZ D50 | color(xyz-d50 0.03447 0.02432 0.07001) |
| SwiftUI | Color(red: 0.204, green: 0.129, blue: 0.341) |
| UIKit | UIColor(red: 0.204, green: 0.129, blue: 0.341, alpha: 1) |
| Flutter / Compose | Color(0xFF342157) |
| Android XML | #342157 |

## Facts

- Closest name: Stormy Night
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.99:1
- Contrast with black: 1.5:1

## Tints

#342157, #453567, #574a78, #6a5f88, #7e7499, #928aa9, #a7a0ba, #bcb7cb, #d2cfdc, #e8e7ee

## Shades

#342157, #2c1b4b, #24163e, #1c1033, #150b27, #0e061c, #070312, #030108, #010003, #000000

## Tones

#342157, #332353, #33254f, #32264b, #312847, #312943, #302a3f, #302c3b, #2f2d37, #2f2d33

## Harmonies

- Complementary: #342157, #2c3300
- Split: #342157, #402a00, #003a0d
- Analogous: #342157, #192a5d, #451947
- Triadic: #342157, #501d00, #003a2d
- Tetradic: #342157, #50142f, #2c3300, #003a2d
- Square: #342157, #541513, #2c3300, #003840
- Monochromatic: #342157, #0b0023, #180235, #53417a, #75639f

## Questions about #342157

### What color is #342157?

#342157 is soft dark violet. The closest named color is Stormy Night. In RGB it is rgb(52, 33, 87), in HSL hsl(261.11, 45%, 23.53%) and in OKLCH oklch(30.225% 0.09387 296.604).

### What colors go well with #342157?

The complementary color of #342157 is #2c3300. For a calmer combination use the analogous colors #192a5d and #451947. The triadic partners are #501d00 and #003a2d.

### Is white or black text more readable on #342157?

White text reads better on #342157: white gives a contrast ratio of 13.99:1 and black gives 1.5:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #342157 a warm or cool color?

#342157 is a cool color. In OKLCH its hue is 297 degrees, its lightness 30.2% and its chroma 0.094.
