# #50438a color: Moonlight Sonata

#50438a is rgb(80, 67, 138) in RGB and oklch(43.242% 0.11368 289.173) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #50438a |
| RGB | rgb(80, 67, 138) |
| HSL | hsl(250.99, 34.63%, 40.2%) |
| HSB / HSV | hsv(250.99 51.45% 54.12%) |
| HWB | hwb(250.99 26.27% 45.88%) |
| CMYK | cmyk(42% 51% 0% 46%) |
| Lab | lab(32.59 19.83 -38.39) |
| LCH | lch(32.59 43.21 297.31) |
| OKLab | oklab(43.242% 0.03734 -0.10738) |
| OKLCH | oklch(43.242% 0.11368 289.173) |
| Display P3 | color(display-p3 0.3054 0.26462 0.52391) |
| Rec. 2020 | color(rec2020 0.25313 0.21075 0.47239) |
| Adobe RGB | color(a98-rgb 0.30487 0.26993 0.52851) |
| ProPhoto RGB | color(prophoto-rgb 0.27314 0.2173 0.43975) |
| Linear sRGB | color(srgb-linear 0.08022 0.05613 0.25415) |
| XYZ D65 | color(xyz-d65 0.09902 0.07555 0.24982) |
| XYZ D50 | color(xyz-d50 0.09296 0.07349 0.18806) |
| SwiftUI | Color(red: 0.314, green: 0.263, blue: 0.541) |
| UIKit | UIColor(red: 0.314, green: 0.263, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF50438A) |
| Android XML | #50438A |

## 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.36:1
- Contrast with black: 2.51:1

## Tints

#50438a, #5f5596, #6f67a2, #7f79ae, #908bba, #a29ec5, #b4b1d1, #c6c4dd, #d9d7e8, #ecebf4

## Shades

#50438a, #443977, #392f65, #2e2653, #241d42, #1a1432, #100c22, #070514, #020107, #000001

## Tones

#50438a, #504584, #50477f, #4f4879, #4f4a74, #4f4b6e, #4f4c68, #504e62, #504f5c, #505056

## Harmonies

- Complementary: #50438a, #565400
- Split: #50438a, #704700, #2b5f1b
- Analogous: #50438a, #274f8e, #6b3977
- Triadic: #50438a, #803903, #006346
- Tetradic: #50438a, #7c325a, #565400, #006346
- Square: #50438a, #833137, #565400, #005f64
- Monochromatic: #50438a, #180042, #322165, #7166b0, #948ad7

## Questions about #50438a

### What color is #50438a?

#50438a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 67, 138), in HSL hsl(250.99, 34.63%, 40.2%) and in OKLCH oklch(43.242% 0.11368 289.173).

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

The complementary color of #50438a is #565400. For a calmer combination use the analogous colors #274f8e and #6b3977. The triadic partners are #803903 and #006346.

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

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

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

#50438a is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.2% and its chroma 0.114.
