# #50498a color: Moonlight Sonata

#50498a is rgb(80, 73, 138) in RGB and oklch(44.425% 0.10417 286.267) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50498a |
| RGB | rgb(80, 73, 138) |
| HSL | hsl(246.46, 30.81%, 41.37%) |
| HSB / HSV | hsv(246.46 47.1% 54.12%) |
| HWB | hwb(246.46 28.63% 45.88%) |
| CMYK | cmyk(42% 47% 0% 46%) |
| Lab | lab(34.19 16.19 -35.85) |
| LCH | lch(34.19 39.33 294.3) |
| OKLab | oklab(44.425% 0.02918 -0.1) |
| OKLCH | oklch(44.425% 0.10417 286.267) |
| Display P3 | color(display-p3 0.30906 0.28724 0.52468) |
| Rec. 2020 | color(rec2020 0.25992 0.23226 0.4734) |
| Adobe RGB | color(a98-rgb 0.31045 0.29181 0.52893) |
| ProPhoto RGB | color(prophoto-rgb 0.27854 0.23406 0.44108) |
| Linear sRGB | color(srgb-linear 0.08022 0.06663 0.25415) |
| XYZ D65 | color(xyz-d65 0.10278 0.08305 0.25107) |
| XYZ D50 | color(xyz-d50 0.09701 0.08102 0.18907) |
| SwiftUI | Color(red: 0.314, green: 0.286, blue: 0.541) |
| UIKit | UIColor(red: 0.314, green: 0.286, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF50498A) |
| Android XML | #50498A |

## 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.89:1
- Contrast with black: 2.66:1

## Tints

#50498a, #5f5a96, #6f6ca2, #807dae, #918fb9, #a2a1c5, #b4b3d1, #c6c6dc, #d9d9e8, #ececf3

## Shades

#50498a, #443e77, #393465, #2e2a53, #242042, #1a1732, #100e22, #070614, #020207, #000001

## Tones

#50498a, #504b85, #504c7f, #504d7a, #514e75, #515070, #51516a, #525165, #52525f, #535359

## Harmonies

- Complementary: #50498a, #5c5600
- Split: #50498a, #744a00, #376021
- Analogous: #50498a, #29548c, #6a3f7a
- Triadic: #50498a, #813e1a, #006546
- Tetradic: #50498a, #7b395f, #5c5600, #006546
- Square: #50498a, #83383f, #5c5600, #006365
- Monochromatic: #50498a, #170643, #322866, #716cb0, #9490d7

## Questions about #50498a

### What color is #50498a?

#50498a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 73, 138), in HSL hsl(246.46, 30.81%, 41.37%) and in OKLCH oklch(44.425% 0.10417 286.267).

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

The complementary color of #50498a is #5c5600. For a calmer combination use the analogous colors #29548c and #6a3f7a. The triadic partners are #813e1a and #006546.

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

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

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

#50498a is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.4% and its chroma 0.104.
