# #50458f color: Moonlight Sonata

#50458f is rgb(80, 69, 143) in RGB and oklch(43.964% 0.11783 287.346) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50458f |
| RGB | rgb(80, 69, 143) |
| HSL | hsl(248.92, 34.91%, 41.57%) |
| HSB / HSV | hsv(248.92 51.75% 56.08%) |
| HWB | hwb(248.92 27.06% 43.92%) |
| CMYK | cmyk(44% 52% 0% 44%) |
| Lab | lab(33.38 19.83 -40.18) |
| LCH | lch(33.38 44.81 296.27) |
| OKLab | oklab(43.964% 0.03513 -0.11247) |
| OKLCH | oklch(43.964% 0.11783 287.346) |
| Display P3 | color(display-p3 0.30659 0.27215 0.54276) |
| Rec. 2020 | color(rec2020 0.25708 0.2184 0.4925) |
| Adobe RGB | color(a98-rgb 0.30668 0.27721 0.54747) |
| ProPhoto RGB | color(prophoto-rgb 0.27936 0.22387 0.45889) |
| Linear sRGB | color(srgb-linear 0.08022 0.05951 0.27468) |
| XYZ D65 | color(xyz-d65 0.10394 0.07945 0.26973) |
| XYZ D50 | color(xyz-d50 0.0972 0.07716 0.20304) |
| SwiftUI | Color(red: 0.314, green: 0.271, blue: 0.561) |
| UIKit | UIColor(red: 0.314, green: 0.271, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF50458F) |
| Android XML | #50458F |

## Facts

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

## Tints

#50458f, #5f579b, #6f69a6, #7f7bb2, #908dbd, #a29fc8, #b4b2d3, #c6c5de, #d9d8e9, #ecebf4

## Shades

#50458f, #443b7c, #393169, #2e2757, #241e45, #1a1534, #100c24, #070515, #020207, #000001

## Tones

#50458f, #504789, #504983, #504b7d, #504c77, #504d71, #514f6b, #515065, #51515f, #525259

## Harmonies

- Complementary: #50458f, #5a5600
- Split: #50458f, #744800, #2f6116
- Analogous: #50458f, #235192, #6c3a7c
- Triadic: #50458f, #843905, #006545
- Tetradic: #50458f, #7f335e, #5a5600, #006545
- Square: #50458f, #87313a, #5a5600, #006164
- Monochromatic: #50458f, #180047, #32236a, #7168b5, #948cdd

## Questions about #50458f

### What color is #50458f?

#50458f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 143), in HSL hsl(248.92, 34.91%, 41.57%) and in OKLCH oklch(43.964% 0.11783 287.346).

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

The complementary color of #50458f is #5a5600. For a calmer combination use the analogous colors #235192 and #6c3a7c. The triadic partners are #843905 and #006545.

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

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

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

#50458f is a cool color. In OKLCH its hue is 287 degrees, its lightness 44% and its chroma 0.118.
