# #50458e color: Moonlight Sonata

#50458e is rgb(80, 69, 142) in RGB and oklch(43.897% 0.11637 287.524) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50458e |
| RGB | rgb(80, 69, 142) |
| HSL | hsl(249.04, 34.6%, 41.37%) |
| HSB / HSV | hsv(249.04 51.41% 55.69%) |
| HWB | hwb(249.04 27.06% 44.31%) |
| CMYK | cmyk(44% 51% 0% 44%) |
| Lab | lab(33.33 19.59 -39.66) |
| LCH | lch(33.33 44.23 296.28) |
| OKLab | oklab(43.897% 0.03504 -0.11097) |
| OKLCH | oklch(43.897% 0.11637 287.524) |
| Display P3 | color(display-p3 0.30659 0.27215 0.53904) |
| Rec. 2020 | color(rec2020 0.25673 0.21829 0.48854) |
| Adobe RGB | color(a98-rgb 0.30668 0.27721 0.5437) |
| ProPhoto RGB | color(prophoto-rgb 0.27846 0.22366 0.45513) |
| Linear sRGB | color(srgb-linear 0.08022 0.05951 0.2705) |
| XYZ D65 | color(xyz-d65 0.10318 0.07915 0.26576) |
| XYZ D50 | color(xyz-d50 0.0966 0.07691 0.20006) |
| SwiftUI | Color(red: 0.314, green: 0.271, blue: 0.557) |
| UIKit | UIColor(red: 0.314, green: 0.271, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF50458E) |
| Android XML | #50458E |

## 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: 8.13:1
- Contrast with black: 2.58:1

## Tints

#50458e, #5f579a, #6f69a5, #7f7bb1, #908dbc, #a29fc8, #b4b2d3, #c6c5de, #d9d8e9, #ecebf4

## Shades

#50458e, #443b7b, #393168, #2e2756, #241e44, #1a1534, #100c24, #070515, #020207, #000001

## Tones

#50458e, #504788, #504982, #504a7d, #504c77, #504d71, #504e6b, #515065, #51505f, #525158

## Harmonies

- Complementary: #50458e, #5a5500
- Split: #50458e, #734800, #2f6017
- Analogous: #50458e, #245191, #6c3a7c
- Triadic: #50458e, #843906, #006545
- Tetradic: #50458e, #7e335e, #5a5500, #006545
- Square: #50458e, #86323a, #5a5500, #006164
- Monochromatic: #50458e, #180046, #322369, #7168b4, #948cdc

## Questions about #50458e

### What color is #50458e?

#50458e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 142), in HSL hsl(249.04, 34.6%, 41.37%) and in OKLCH oklch(43.897% 0.11637 287.524).

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

The complementary color of #50458e is #5a5500. For a calmer combination use the analogous colors #245191 and #6c3a7c. The triadic partners are #843906 and #006545.

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

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

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

#50458e is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.9% and its chroma 0.116.
