# #514788 color: Moonlight Sonata

#514788 is rgb(81, 71, 136) in RGB and oklch(43.987% 0.10431 288.41) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #514788 |
| RGB | rgb(81, 71, 136) |
| HSL | hsl(249.23, 31.4%, 40.59%) |
| HSB / HSV | hsv(249.23 47.79% 53.33%) |
| HWB | hwb(249.23 27.84% 46.67%) |
| CMYK | cmyk(40% 48% 0% 47%) |
| Lab | lab(33.65 17.23 -35.48) |
| LCH | lch(33.65 39.44 295.9) |
| OKLab | oklab(43.987% 0.03294 -0.09898) |
| OKLCH | oklch(43.987% 0.10431 288.41) |
| Display P3 | color(display-p3 0.31111 0.27984 0.51702) |
| Rec. 2020 | color(rec2020 0.25945 0.22516 0.4652) |
| Adobe RGB | color(a98-rgb 0.31128 0.2845 0.52128) |
| ProPhoto RGB | color(prophoto-rgb 0.27665 0.22836 0.43324) |
| Linear sRGB | color(srgb-linear 0.08228 0.06301 0.2462) |
| XYZ D65 | color(xyz-d65 0.1009 0.08033 0.24312) |
| XYZ D50 | color(xyz-d50 0.09538 0.0784 0.18308) |
| SwiftUI | Color(red: 0.318, green: 0.278, blue: 0.533) |
| UIKit | UIColor(red: 0.318, green: 0.278, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF514788) |
| Android XML | #514788 |

## 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.06:1
- Contrast with black: 2.61:1

## Tints

#514788, #605894, #706aa0, #807cac, #918eb8, #a3a0c4, #b4b2d0, #c6c5dc, #d9d8e7, #ecebf3

## Shades

#514788, #453d75, #3a3263, #2f2852, #241f41, #1a1631, #100d22, #070613, #020206, #000001

## Tones

#514788, #514983, #514a7e, #514c78, #514d73, #514e6e, #514f69, #515063, #52515e, #525258

## Harmonies

- Complementary: #514788, #585600
- Split: #514788, #714900, #326022
- Analogous: #514788, #2c528b, #6a3e77
- Triadic: #514788, #7f3e15, #006448
- Tetradic: #514788, #7b375c, #585600, #006448
- Square: #514788, #82373c, #585600, #006165
- Monochromatic: #514788, #180441, #322664, #7269ae, #958dd5

## Questions about #514788

### What color is #514788?

#514788 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 71, 136), in HSL hsl(249.23, 31.4%, 40.59%) and in OKLCH oklch(43.987% 0.10431 288.41).

### What colors go well with #514788?

The complementary color of #514788 is #585600. For a calmer combination use the analogous colors #2c528b and #6a3e77. The triadic partners are #7f3e15 and #006448.

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

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

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

#514788 is a cool color. In OKLCH its hue is 288 degrees, its lightness 44% and its chroma 0.104.
