# #50418e color: Moonlight Sonata

#50418e is rgb(80, 65, 142) in RGB and oklch(43.136% 0.12258 289.184) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/50418e

## Formats

| Format | Value |
| --- | --- |
| HEX | #50418e |
| RGB | rgb(80, 65, 142) |
| HSL | hsl(251.69, 37.2%, 40.59%) |
| HSB / HSV | hsv(251.69 54.23% 55.69%) |
| HWB | hwb(251.69 25.49% 44.31%) |
| CMYK | cmyk(44% 54% 0% 44%) |
| Lab | lab(32.29 22 -41.32) |
| LCH | lch(32.29 46.81 298.04) |
| OKLab | oklab(43.136% 0.04028 -0.11578) |
| OKLCH | oklch(43.136% 0.12258 289.184) |
| Display P3 | color(display-p3 0.30425 0.25711 0.53857) |
| Rec. 2020 | color(rec2020 0.2524 0.20411 0.48791) |
| Adobe RGB | color(a98-rgb 0.3031 0.26266 0.54344) |
| ProPhoto RGB | color(prophoto-rgb 0.27505 0.21275 0.45431) |
| Linear sRGB | color(srgb-linear 0.08022 0.05286 0.2705) |
| XYZ D65 | color(xyz-d65 0.1008 0.07439 0.26497) |
| XYZ D50 | color(xyz-d50 0.09404 0.07214 0.19941) |
| SwiftUI | Color(red: 0.314, green: 0.255, blue: 0.557) |
| UIKit | UIColor(red: 0.314, green: 0.255, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF50418E) |
| Android XML | #50418E |

## Facts

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

## Tints

#50418e, #5f539a, #6f66a6, #7f78b1, #908bbd, #a29dc8, #b3b0d3, #c6c4de, #d9d7e9, #ecebf4

## Shades

#50418e, #44377b, #392e68, #2e2556, #241c44, #1a1334, #100b24, #070515, #020107, #000001

## Tones

#50418e, #504388, #4f4582, #4f477c, #4f4976, #4f4a70, #4f4c6a, #4f4d63, #4f4e5d, #504f57

## Harmonies

- Complementary: #50418e, #565400
- Split: #50418e, #6f4700, #265f12
- Analogous: #50418e, #224e92, #6c367a
- Triadic: #50418e, #833600, #006246
- Tetradic: #50418e, #7e2e5a, #565400, #006246
- Square: #50418e, #862d34, #565400, #005f63
- Monochromatic: #50418e, #180045, #321f69, #7164b4, #9488dc

## Questions about #50418e

### What color is #50418e?

#50418e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 65, 142), in HSL hsl(251.69, 37.2%, 40.59%) and in OKLCH oklch(43.136% 0.12258 289.184).

### What colors go well with #50418e?

The complementary color of #50418e is #565400. For a calmer combination use the analogous colors #224e92 and #6c367a. The triadic partners are #833600 and #006246.

### Is white or black text more readable on #50418e?

White text reads better on #50418e: 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 #50418e a warm or cool color?

#50418e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.1% and its chroma 0.123.
