# #4e4285 color: Moonlight Sonata

#4e4285 is rgb(78, 66, 133) in RGB and oklch(42.527% 0.10799 289.21) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4e4285

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e4285 |
| RGB | rgb(78, 66, 133) |
| HSL | hsl(250.75, 33.67%, 39.02%) |
| HSB / HSV | hsv(250.75 50.38% 52.16%) |
| HWB | hwb(250.75 25.88% 47.84%) |
| CMYK | cmyk(41% 50% 0% 48%) |
| Lab | lab(31.86 18.62 -36.49) |
| LCH | lch(31.86 40.97 297.04) |
| OKLab | oklab(42.527% 0.03553 -0.10198) |
| OKLCH | oklch(42.527% 0.10799 289.21) |
| Display P3 | color(display-p3 0.29816 0.26055 0.50512) |
| Rec. 2020 | color(rec2020 0.24523 0.20602 0.45242) |
| Adobe RGB | color(a98-rgb 0.29844 0.26629 0.50968) |
| ProPhoto RGB | color(prophoto-rgb 0.2645 0.21276 0.42097) |
| Linear sRGB | color(srgb-linear 0.07619 0.05448 0.23455) |
| XYZ D65 | color(xyz-d65 0.09323 0.0721 0.23091) |
| XYZ D50 | color(xyz-d50 0.08776 0.07023 0.17384) |
| SwiftUI | Color(red: 0.306, green: 0.259, blue: 0.522) |
| UIKit | UIColor(red: 0.306, green: 0.259, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF4E4285) |
| Android XML | #4E4285 |

## 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.6:1
- Contrast with black: 2.44:1

## Tints

#4e4285, #5d5491, #6d669e, #7e78aa, #8f8bb6, #a19dc3, #b3b0cf, #c5c4db, #d8d7e7, #ebebf3

## Shades

#4e4285, #433873, #382f61, #2d2550, #231c40, #191430, #0f0b21, #070513, #020106, #000001

## Tones

#4e4285, #4e4480, #4e457a, #4d4775, #4d4870, #4d4a6a, #4e4b65, #4e4c5f, #4e4d5a, #4e4e54

## Harmonies

- Complementary: #4e4285, #545200
- Split: #4e4285, #6d4500, #2b5c1d
- Analogous: #4e4285, #284d89, #673873
- Triadic: #4e4285, #7c3909, #006044
- Tetradic: #4e4285, #783258, #545200, #006044
- Square: #4e4285, #7f3136, #545200, #005d61
- Monochromatic: #4e4285, #16003e, #302161, #6f64ab, #9288d2

## Questions about #4e4285

### What color is #4e4285?

#4e4285 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 66, 133), in HSL hsl(250.75, 33.67%, 39.02%) and in OKLCH oklch(42.527% 0.10799 289.21).

### What colors go well with #4e4285?

The complementary color of #4e4285 is #545200. For a calmer combination use the analogous colors #284d89 and #673873. The triadic partners are #7c3909 and #006044.

### Is white or black text more readable on #4e4285?

White text reads better on #4e4285: white gives a contrast ratio of 8.6:1 and black gives 2.44:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4e4285 a warm or cool color?

#4e4285 is a cool color. In OKLCH its hue is 289 degrees, its lightness 42.5% and its chroma 0.108.
