# #50428d color: Moonlight Sonata

#50428d is rgb(80, 66, 141) in RGB and oklch(43.255% 0.1196 288.987) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/50428d

## Formats

| Format | Value |
| --- | --- |
| HEX | #50428d |
| RGB | rgb(80, 66, 141) |
| HSL | hsl(251.2, 36.23%, 40.59%) |
| HSB / HSV | hsv(251.2 53.19% 55.29%) |
| HWB | hwb(251.2 25.88% 44.71%) |
| CMYK | cmyk(43% 53% 0% 45%) |
| Lab | lab(32.49 21.16 -40.39) |
| LCH | lch(32.49 45.59 297.65) |
| OKLab | oklab(43.255% 0.03891 -0.11309) |
| OKLCH | oklch(43.255% 0.1196 288.987) |
| Display P3 | color(display-p3 0.30482 0.26086 0.53496) |
| Rec. 2020 | color(rec2020 0.2531 0.20753 0.4841) |
| Adobe RGB | color(a98-rgb 0.30398 0.26629 0.53973) |
| ProPhoto RGB | color(prophoto-rgb 0.27497 0.21522 0.45076) |
| Linear sRGB | color(srgb-linear 0.08022 0.05448 0.26636) |
| XYZ D65 | color(xyz-d65 0.10064 0.07525 0.26122) |
| XYZ D50 | color(xyz-d50 0.09407 0.07305 0.19661) |
| SwiftUI | Color(red: 0.314, green: 0.259, blue: 0.553) |
| UIKit | UIColor(red: 0.314, green: 0.259, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF50428D) |
| Android XML | #50428D |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.38:1
- Contrast with black: 2.5:1

## Tints

#50428d, #5f5499, #6f66a5, #7f79b0, #908bbc, #a29ec7, #b4b1d3, #c6c4de, #d9d7e9, #ecebf4

## Shades

#50428d, #44387a, #392f67, #2e2555, #241c44, #1a1433, #100b23, #070514, #020107, #000001

## Tones

#50428d, #504487, #4f4681, #4f487b, #4f4a75, #4f4b70, #4f4c69, #4f4d63, #504f5d, #505057

## Harmonies

- Complementary: #50428d, #565400
- Split: #50428d, #704700, #285f15
- Analogous: #50428d, #244f91, #6c3779
- Triadic: #50428d, #823700, #006346
- Tetradic: #50428d, #7e2f5b, #565400, #006346
- Square: #50428d, #862e35, #565400, #005f64
- Monochromatic: #50428d, #180045, #322068, #7165b3, #9489db

## Questions about #50428d

### What color is #50428d?

#50428d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 66, 141), in HSL hsl(251.2, 36.23%, 40.59%) and in OKLCH oklch(43.255% 0.1196 288.987).

### What colors go well with #50428d?

The complementary color of #50428d is #565400. For a calmer combination use the analogous colors #244f91 and #6c3779. The triadic partners are #823700 and #006346.

### Is white or black text more readable on #50428d?

White text reads better on #50428d: white gives a contrast ratio of 8.38:1 and black gives 2.5:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #50428d a warm or cool color?

#50428d is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.3% and its chroma 0.12.
