# #342257 color: Stormy Night

#342257 is rgb(52, 34, 87) in RGB and oklch(30.411% 0.09216 296.142) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #342257 |
| RGB | rgb(52, 34, 87) |
| HSL | hsl(260.38, 43.8%, 23.73%) |
| HSB / HSV | hsv(260.38 60.92% 34.12%) |
| HWB | hwb(260.38 13.33% 65.88%) |
| CMYK | cmyk(40% 61% 0% 66%) |
| Lab | lab(17.87 19.21 -29.53) |
| LCH | lch(17.87 35.23 303.05) |
| OKLab | oklab(30.411% 0.04061 -0.08274) |
| OKLCH | oklch(30.411% 0.09216 296.142) |
| Display P3 | color(display-p3 0.19339 0.13629 0.32917) |
| Rec. 2020 | color(rec2020 0.13077 0.08174 0.26768) |
| Adobe RGB | color(a98-rgb 0.20027 0.15253 0.338) |
| ProPhoto RGB | color(prophoto-rgb 0.15981 0.1139 0.25415) |
| Linear sRGB | color(srgb-linear 0.03434 0.016 0.09531) |
| XYZ D65 | color(xyz-d65 0.03708 0.02562 0.09316) |
| XYZ D50 | color(xyz-d50 0.03477 0.02489 0.07009) |
| SwiftUI | Color(red: 0.204, green: 0.133, blue: 0.341) |
| UIKit | UIColor(red: 0.204, green: 0.133, blue: 0.341, alpha: 1) |
| Flutter / Compose | Color(0xFF342257) |
| Android XML | #342257 |

## 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.88:1
- Contrast with black: 1.51:1

## Tints

#342257, #453667, #574b78, #6a5f88, #7e7599, #928aa9, #a7a1ba, #bcb8cb, #d2cfdc, #e8e7ee

## Shades

#342257, #2c1c4b, #24163e, #1c1133, #150b27, #0e071c, #070312, #030108, #010003, #000000

## Tones

#342257, #332453, #33264f, #32274b, #312947, #312a43, #302b3f, #302c3b, #2f2d37, #2f2e33

## Harmonies

- Complementary: #342257, #2d3300
- Split: #342257, #412a00, #003a0d
- Analogous: #342257, #192b5d, #451b47
- Triadic: #342257, #501e00, #003b2d
- Tetradic: #342257, #501630, #2d3300, #003b2d
- Square: #342257, #541614, #2d3300, #003840
- Monochromatic: #342257, #0b0023, #180335, #53427a, #75649f

## Questions about #342257

### What color is #342257?

#342257 is soft dark violet. The closest named color is Stormy Night. In RGB it is rgb(52, 34, 87), in HSL hsl(260.38, 43.8%, 23.73%) and in OKLCH oklch(30.411% 0.09216 296.142).

### What colors go well with #342257?

The complementary color of #342257 is #2d3300. For a calmer combination use the analogous colors #192b5d and #451b47. The triadic partners are #501e00 and #003b2d.

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

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

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

#342257 is a cool color. In OKLCH its hue is 296 degrees, its lightness 30.4% and its chroma 0.092.
