# #50478d color: Moonlight Sonata

#50478d is rgb(80, 71, 141) in RGB and oklch(44.22% 0.11178 286.783) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50478d |
| RGB | rgb(80, 71, 141) |
| HSL | hsl(247.71, 33.02%, 41.57%) |
| HSB / HSV | hsv(247.71 49.65% 55.29%) |
| HWB | hwb(247.71 27.84% 44.71%) |
| CMYK | cmyk(43% 50% 0% 45%) |
| Lab | lab(33.81 18.13 -38.29) |
| LCH | lch(33.81 42.37 295.34) |
| OKLab | oklab(44.22% 0.03228 -0.10702) |
| OKLCH | oklch(44.22% 0.11178 286.783) |
| Display P3 | color(display-p3 0.30781 0.27969 0.53557) |
| Rec. 2020 | color(rec2020 0.25863 0.22535 0.48491) |
| Adobe RGB | color(a98-rgb 0.30854 0.2845 0.54007) |
| ProPhoto RGB | color(prophoto-rgb 0.27934 0.22902 0.45181) |
| Linear sRGB | color(srgb-linear 0.08022 0.06301 0.26636) |
| XYZ D65 | color(xyz-d65 0.10369 0.08135 0.26224) |
| XYZ D50 | color(xyz-d50 0.09736 0.07917 0.19744) |
| SwiftUI | Color(red: 0.314, green: 0.278, blue: 0.553) |
| UIKit | UIColor(red: 0.314, green: 0.278, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF50478D) |
| Android XML | #50478D |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.99:1
- Contrast with black: 2.63:1

## Tints

#50478d, #5f5999, #6f6aa4, #7f7cb0, #908ebc, #a2a0c7, #b4b3d2, #c6c5de, #d9d8e9, #ececf4

## Shades

#50478d, #443d7a, #393267, #2e2855, #241f44, #1a1633, #100d23, #070614, #020207, #000001

## Tones

#50478d, #504987, #504a82, #504c7c, #504d77, #514e71, #51506b, #515165, #52515f, #525259

## Harmonies

- Complementary: #50478d, #5b5600
- Split: #50478d, #754800, #33611b
- Analogous: #50478d, #26538f, #6b3d7c
- Triadic: #50478d, #833b11, #006645
- Tetradic: #50478d, #7d365f, #5b5600, #006645
- Square: #50478d, #86343d, #5b5600, #006265
- Monochromatic: #50478d, #180245, #322568, #716ab3, #948edb

## Questions about #50478d

### What color is #50478d?

#50478d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 71, 141), in HSL hsl(247.71, 33.02%, 41.57%) and in OKLCH oklch(44.22% 0.11178 286.783).

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

The complementary color of #50478d is #5b5600. For a calmer combination use the analogous colors #26538f and #6b3d7c. The triadic partners are #833b11 and #006645.

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

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

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

#50478d is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.2% and its chroma 0.112.
