# #504487 color: Moonlight Sonata

#504487 is rgb(80, 68, 135) in RGB and oklch(43.237% 0.10768 289.336) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504487

## Formats

| Format | Value |
| --- | --- |
| HEX | #504487 |
| RGB | rgb(80, 68, 135) |
| HSL | hsl(250.75, 33%, 39.8%) |
| HSB / HSV | hsv(250.75 49.63% 52.94%) |
| HWB | hwb(250.75 26.67% 47.06%) |
| CMYK | cmyk(41% 50% 0% 47%) |
| Lab | lab(32.7 18.5 -36.38) |
| LCH | lch(32.7 40.82 296.96) |
| OKLab | oklab(43.237% 0.03566 -0.10161) |
| OKLCH | oklch(43.237% 0.10768 289.336) |
| Display P3 | color(display-p3 0.30599 0.26839 0.51288) |
| Rec. 2020 | color(rec2020 0.2532 0.214 0.46071) |
| Adobe RGB | color(a98-rgb 0.30577 0.27356 0.51732) |
| ProPhoto RGB | color(prophoto-rgb 0.27139 0.21942 0.42884) |
| Linear sRGB | color(srgb-linear 0.08022 0.05781 0.24228) |
| XYZ D65 | color(xyz-d65 0.09748 0.07589 0.23874) |
| XYZ D50 | color(xyz-d50 0.09191 0.07398 0.17974) |
| SwiftUI | Color(red: 0.314, green: 0.267, blue: 0.529) |
| UIKit | UIColor(red: 0.314, green: 0.267, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF504487) |
| Android XML | #504487 |

## 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.34:1
- Contrast with black: 2.52:1

## Tints

#504487, #5f5693, #6f689f, #807aac, #908cb8, #a29ec4, #b4b1d0, #c6c4db, #d9d8e7, #ecebf3

## Shades

#504487, #443a75, #393063, #2e2651, #241d41, #1a1431, #100c21, #070513, #020206, #000001

## Tones

#504487, #504682, #50477c, #4f4977, #4f4a72, #4f4c6c, #4f4d67, #504e61, #504f5c, #505056

## Harmonies

- Complementary: #504487, #555400
- Split: #504487, #6f4700, #2d5e1f
- Analogous: #504487, #2a4f8b, #693a75
- Triadic: #504487, #7e3b0c, #006246
- Tetradic: #504487, #7a3459, #555400, #006246
- Square: #504487, #813338, #555400, #005f64
- Monochromatic: #504487, #170140, #322363, #7166ad, #948ad4

## Questions about #504487

### What color is #504487?

#504487 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 68, 135), in HSL hsl(250.75, 33%, 39.8%) and in OKLCH oklch(43.237% 0.10768 289.336).

### What colors go well with #504487?

The complementary color of #504487 is #555400. For a calmer combination use the analogous colors #2a4f8b and #693a75. The triadic partners are #7e3b0c and #006246.

### Is white or black text more readable on #504487?

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

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

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