# #514889 color: Moonlight Sonata

#514889 is rgb(81, 72, 137) in RGB and oklch(44.25% 0.1042 287.711) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #514889 |
| RGB | rgb(81, 72, 137) |
| HSL | hsl(248.31, 31.1%, 40.98%) |
| HSB / HSV | hsv(248.31 47.45% 53.73%) |
| HWB | hwb(248.31 28.24% 46.27%) |
| CMYK | cmyk(41% 47% 0% 46%) |
| Lab | lab(33.97 16.86 -35.59) |
| LCH | lch(33.97 39.38 295.35) |
| OKLab | oklab(44.25% 0.0317 -0.09926) |
| OKLCH | oklch(44.25% 0.1042 287.711) |
| Display P3 | color(display-p3 0.31173 0.28361 0.52087) |
| Rec. 2020 | color(rec2020 0.26093 0.22886 0.46932) |
| Adobe RGB | color(a98-rgb 0.31222 0.28815 0.52511) |
| ProPhoto RGB | color(prophoto-rgb 0.27843 0.23138 0.43717) |
| Linear sRGB | color(srgb-linear 0.08228 0.0648 0.25016) |
| XYZ D65 | color(xyz-d65 0.10225 0.0819 0.2471) |
| XYZ D50 | color(xyz-d50 0.09663 0.07993 0.18607) |
| SwiftUI | Color(red: 0.318, green: 0.282, blue: 0.537) |
| UIKit | UIColor(red: 0.318, green: 0.282, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF514889) |
| Android XML | #514889 |

## 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: 7.96:1
- Contrast with black: 2.64:1

## Tints

#514889, #605995, #706ba1, #807cad, #918eb9, #a3a0c5, #b4b3d0, #c6c5dc, #d9d8e8, #ececf3

## Shades

#514889, #453d76, #3a3364, #2f2953, #241f42, #1a1631, #100d22, #070614, #020207, #000001

## Tones

#514889, #514a84, #514b7f, #514c79, #514e74, #514f6f, #525069, #525164, #52525e, #535259

## Harmonies

- Complementary: #514889, #5a5600
- Split: #514889, #724a00, #346022
- Analogous: #514889, #2b538c, #6a3f78
- Triadic: #514889, #803e17, #006548
- Tetradic: #514889, #7b385e, #5a5600, #006548
- Square: #514889, #83373d, #5a5600, #006266
- Monochromatic: #514889, #180542, #322765, #726baf, #958fd6

## Questions about #514889

### What color is #514889?

#514889 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 72, 137), in HSL hsl(248.31, 31.1%, 40.98%) and in OKLCH oklch(44.25% 0.1042 287.711).

### What colors go well with #514889?

The complementary color of #514889 is #5a5600. For a calmer combination use the analogous colors #2b538c and #6a3f78. The triadic partners are #803e17 and #006548.

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

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

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

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