# #51428f color: Moonlight Sonata

#51428f is rgb(81, 66, 143) in RGB and oklch(43.487% 0.12244 289.256) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51428f

## Formats

| Format | Value |
| --- | --- |
| HEX | #51428f |
| RGB | rgb(81, 66, 143) |
| HSL | hsl(251.69, 36.84%, 40.98%) |
| HSB / HSV | hsv(251.69 53.85% 56.08%) |
| HWB | hwb(251.69 25.88% 43.92%) |
| CMYK | cmyk(43% 54% 0% 44%) |
| Lab | lab(32.7 21.94 -41.26) |
| LCH | lch(32.7 46.73 298) |
| OKLab | oklab(43.487% 0.04038 -0.11559) |
| OKLCH | oklch(43.487% 0.12244 289.256) |
| Display P3 | color(display-p3 0.30816 0.26103 0.54244) |
| Rec. 2020 | color(rec2020 0.25637 0.20808 0.49207) |
| Adobe RGB | color(a98-rgb 0.30676 0.26629 0.54727) |
| ProPhoto RGB | color(prophoto-rgb 0.27849 0.21605 0.45831) |
| Linear sRGB | color(srgb-linear 0.08228 0.05448 0.27468) |
| XYZ D65 | color(xyz-d65 0.10299 0.07629 0.26917) |
| XYZ D50 | color(xyz-d50 0.09616 0.07401 0.20258) |
| SwiftUI | Color(red: 0.318, green: 0.259, blue: 0.561) |
| UIKit | UIColor(red: 0.318, green: 0.259, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF51428F) |
| Android XML | #51428F |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.31:1
- Contrast with black: 2.53:1

## Tints

#51428f, #60549b, #7067a6, #8079b2, #918bbd, #a29ec8, #b4b1d3, #c6c4de, #d9d7e9, #ecebf4

## Shades

#51428f, #45387c, #3a2f69, #2f2557, #241c45, #1a1434, #100b24, #070515, #020107, #000001

## Tones

#51428f, #514489, #504683, #50487d, #504a77, #504b71, #504d6b, #504e64, #504f5e, #515058

## Harmonies

- Complementary: #51428f, #575500
- Split: #51428f, #704800, #276014
- Analogous: #51428f, #244f93, #6d377b
- Triadic: #51428f, #843700, #006347
- Tetradic: #51428f, #802f5b, #575500, #006347
- Square: #51428f, #882e35, #575500, #006065
- Monochromatic: #51428f, #190046, #33206a, #7265b5, #9589dd

## Questions about #51428f

### What color is #51428f?

#51428f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 66, 143), in HSL hsl(251.69, 36.84%, 40.98%) and in OKLCH oklch(43.487% 0.12244 289.256).

### What colors go well with #51428f?

The complementary color of #51428f is #575500. For a calmer combination use the analogous colors #244f93 and #6d377b. The triadic partners are #843700 and #006347.

### Is white or black text more readable on #51428f?

White text reads better on #51428f: white gives a contrast ratio of 8.31:1 and black gives 2.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51428f a warm or cool color?

#51428f is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.5% and its chroma 0.122.
