# #50428a color: Moonlight Sonata

#50428a is rgb(80, 66, 138) in RGB and oklch(43.05% 0.11526 289.607) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50428a |
| RGB | rgb(80, 66, 138) |
| HSL | hsl(251.67, 35.29%, 40%) |
| HSB / HSV | hsv(251.67 52.17% 54.12%) |
| HWB | hwb(251.67 25.88% 45.88%) |
| CMYK | cmyk(42% 52% 0% 46%) |
| Lab | lab(32.33 20.43 -38.81) |
| LCH | lch(32.33 43.86 297.77) |
| OKLab | oklab(43.05% 0.03868 -0.10858) |
| OKLCH | oklch(43.05% 0.11526 289.607) |
| Display P3 | color(display-p3 0.30482 0.26086 0.52379) |
| Rec. 2020 | color(rec2020 0.25205 0.2072 0.47223) |
| Adobe RGB | color(a98-rgb 0.30398 0.26629 0.52845) |
| ProPhoto RGB | color(prophoto-rgb 0.27229 0.21457 0.43955) |
| Linear sRGB | color(srgb-linear 0.08022 0.05448 0.25415) |
| XYZ D65 | color(xyz-d65 0.09843 0.07437 0.24962) |
| XYZ D50 | color(xyz-d50 0.09233 0.07231 0.1879) |
| SwiftUI | Color(red: 0.314, green: 0.259, blue: 0.541) |
| UIKit | UIColor(red: 0.314, green: 0.259, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF50428A) |
| Android XML | #50428A |

## 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.44:1
- Contrast with black: 2.49:1

## Tints

#50428a, #5f5496, #6f66a2, #7f78ae, #908bba, #a29ec5, #b4b1d1, #c6c4dd, #d9d7e8, #ecebf4

## Shades

#50428a, #443877, #392f65, #2e2553, #241c42, #1a1432, #100b22, #070514, #020107, #000001

## Tones

#50428a, #504484, #4f467f, #4f4879, #4f4973, #4f4b6e, #4f4c68, #4f4d62, #4f4e5c, #504f56

## Harmonies

- Complementary: #50428a, #555400
- Split: #50428a, #6f4700, #295e1a
- Analogous: #50428a, #264e8e, #6b3877
- Triadic: #50428a, #803800, #006246
- Tetradic: #50428a, #7c3159, #555400, #006246
- Square: #50428a, #843035, #555400, #005e63
- Monochromatic: #50428a, #180042, #322065, #7165b0, #9489d7

## Questions about #50428a

### What color is #50428a?

#50428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 66, 138), in HSL hsl(251.67, 35.29%, 40%) and in OKLCH oklch(43.05% 0.11526 289.607).

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

The complementary color of #50428a is #555400. For a calmer combination use the analogous colors #264e8e and #6b3877. The triadic partners are #803800 and #006246.

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

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

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

#50428a is a cool color. In OKLCH its hue is 290 degrees, its lightness 43% and its chroma 0.115.
