# #50488a color: Moonlight Sonata

#50488a is rgb(80, 72, 138) in RGB and oklch(44.224% 0.10576 286.79) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50488a |
| RGB | rgb(80, 72, 138) |
| HSL | hsl(247.27, 31.43%, 41.18%) |
| HSB / HSV | hsv(247.27 47.83% 54.12%) |
| HWB | hwb(247.27 28.24% 45.88%) |
| CMYK | cmyk(42% 48% 0% 46%) |
| Lab | lab(33.92 16.79 -36.28) |
| LCH | lch(33.92 39.97 294.84) |
| OKLab | oklab(44.224% 0.03055 -0.10125) |
| OKLCH | oklch(44.224% 0.10576 286.79) |
| Display P3 | color(display-p3 0.30843 0.28346 0.52455) |
| Rec. 2020 | color(rec2020 0.25875 0.22865 0.47323) |
| Adobe RGB | color(a98-rgb 0.30949 0.28815 0.52886) |
| ProPhoto RGB | color(prophoto-rgb 0.27761 0.23122 0.44085) |
| Linear sRGB | color(srgb-linear 0.08022 0.0648 0.25415) |
| XYZ D65 | color(xyz-d65 0.10212 0.08175 0.25085) |
| XYZ D50 | color(xyz-d50 0.0963 0.07971 0.1889) |
| SwiftUI | Color(red: 0.314, green: 0.282, blue: 0.541) |
| UIKit | UIColor(red: 0.314, green: 0.282, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF50488A) |
| Android XML | #50488A |

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

## Tints

#50488a, #5f5996, #6f6ba2, #807cae, #908eb9, #a2a1c5, #b4b3d1, #c6c6dc, #d9d8e8, #ececf4

## Shades

#50488a, #443d77, #393365, #2e2953, #241f42, #1a1632, #100d22, #070614, #020207, #000001

## Tones

#50488a, #504a85, #504b7f, #504c7a, #504e75, #514f6f, #51506a, #515164, #52525f, #525259

## Harmonies

- Complementary: #50488a, #5b5600
- Split: #50488a, #734900, #356020
- Analogous: #50488a, #29538c, #6a3e79
- Triadic: #50488a, #813d17, #006546
- Tetradic: #50488a, #7b385f, #5b5600, #006546
- Square: #50488a, #83373e, #5b5600, #006265
- Monochromatic: #50488a, #170443, #322766, #716bb0, #948fd7

## Questions about #50488a

### What color is #50488a?

#50488a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 72, 138), in HSL hsl(247.27, 31.43%, 41.18%) and in OKLCH oklch(44.224% 0.10576 286.79).

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

The complementary color of #50488a is #5b5600. For a calmer combination use the analogous colors #29538c and #6a3e79. The triadic partners are #813d17 and #006546.

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

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

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

#50488a is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.2% and its chroma 0.106.
