# #50478f color: Moonlight Sonata

#50478f is rgb(80, 71, 143) in RGB and oklch(44.353% 0.11473 286.454) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50478f |
| RGB | rgb(80, 71, 143) |
| HSL | hsl(247.5, 33.64%, 41.96%) |
| HSB / HSV | hsv(247.5 50.35% 56.08%) |
| HWB | hwb(247.5 27.84% 43.92%) |
| CMYK | cmyk(44% 50% 0% 44%) |
| Lab | lab(33.91 18.62 -39.34) |
| LCH | lch(33.91 43.53 295.33) |
| OKLab | oklab(44.353% 0.0325 -0.11003) |
| OKLCH | oklch(44.353% 0.11473 286.454) |
| Display P3 | color(display-p3 0.30781 0.27969 0.54301) |
| Rec. 2020 | color(rec2020 0.25933 0.22556 0.49283) |
| Adobe RGB | color(a98-rgb 0.30854 0.2845 0.5476) |
| ProPhoto RGB | color(prophoto-rgb 0.28114 0.22944 0.45932) |
| Linear sRGB | color(srgb-linear 0.08022 0.06301 0.27468) |
| XYZ D65 | color(xyz-d65 0.10519 0.08195 0.27015) |
| XYZ D50 | color(xyz-d50 0.09855 0.07967 0.20338) |
| SwiftUI | Color(red: 0.314, green: 0.278, blue: 0.561) |
| UIKit | UIColor(red: 0.314, green: 0.278, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF50478F) |
| Android XML | #50478F |

## 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.96:1
- Contrast with black: 2.64:1

## Tints

#50478f, #5f599b, #6f6aa6, #7f7cb2, #908ebd, #a2a0c8, #b4b3d3, #c6c5de, #d9d8e9, #ececf4

## Shades

#50478f, #443d7c, #393269, #2e2857, #241f45, #1a1634, #100d24, #070615, #020207, #000001

## Tones

#50478f, #504989, #504b83, #504c7e, #504e78, #514f72, #51506c, #525166, #525260, #53535a

## Harmonies

- Complementary: #50478f, #5c5600
- Split: #50478f, #764900, #336118
- Analogous: #50478f, #245391, #6c3c7d
- Triadic: #50478f, #853b0e, #006645
- Tetradic: #50478f, #7f3560, #5c5600, #006645
- Square: #50478f, #87333d, #5c5600, #006365
- Monochromatic: #50478f, #180147, #32256a, #716ab5, #948edd

## Questions about #50478f

### What color is #50478f?

#50478f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 71, 143), in HSL hsl(247.5, 33.64%, 41.96%) and in OKLCH oklch(44.353% 0.11473 286.454).

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

The complementary color of #50478f is #5c5600. For a calmer combination use the analogous colors #245391 and #6c3c7d. The triadic partners are #853b0e and #006645.

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

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

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

#50478f is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.4% and its chroma 0.115.
