# #4e4987 color: Moonlight Sonata

#4e4987 is rgb(78, 73, 135) in RGB and oklch(44.059% 0.09982 285.197) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e4987 |
| RGB | rgb(78, 73, 135) |
| HSL | hsl(244.84, 29.81%, 40.78%) |
| HSB / HSV | hsv(244.84 45.93% 52.94%) |
| HWB | hwb(244.84 28.63% 47.06%) |
| CMYK | cmyk(42% 46% 0% 47%) |
| Lab | lab(33.86 14.84 -34.56) |
| LCH | lch(33.86 37.61 293.24) |
| OKLab | oklab(44.059% 0.02617 -0.09633) |
| OKLCH | oklch(44.059% 0.09982 285.197) |
| Display P3 | color(display-p3 0.30251 0.28695 0.51348) |
| Rec. 2020 | color(rec2020 0.25394 0.23137 0.46151) |
| Adobe RGB | color(a98-rgb 0.30506 0.29181 0.51768) |
| ProPhoto RGB | color(prophoto-rgb 0.27261 0.23275 0.4299) |
| Linear sRGB | color(srgb-linear 0.07619 0.06663 0.24228) |
| XYZ D65 | color(xyz-d65 0.09897 0.08134 0.23971) |
| XYZ D50 | color(xyz-d50 0.09355 0.0794 0.18054) |
| SwiftUI | Color(red: 0.306, green: 0.286, blue: 0.529) |
| UIKit | UIColor(red: 0.306, green: 0.286, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4E4987) |
| Android XML | #4E4987 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.99:1
- Contrast with black: 2.63:1

## Tints

#4e4987, #5d5a93, #6d6b9f, #7e7dab, #8f8fb7, #a1a1c3, #b3b3cf, #c5c6db, #d8d9e7, #ebecf3

## Shades

#4e4987, #433e75, #383463, #2d2a51, #232041, #191731, #0f0e21, #070613, #020206, #000001

## Tones

#4e4987, #4e4a82, #4e4c7d, #4f4d78, #4f4e73, #504f6d, #505068, #515163, #51515e, #525258

## Harmonies

- Complementary: #4e4987, #5b5500
- Split: #4e4987, #724900, #395e21
- Analogous: #4e4987, #295388, #674078
- Triadic: #4e4987, #7e3e1e, #006345
- Tetradic: #4e4987, #783a5f, #5b5500, #006345
- Square: #4e4987, #803840, #5b5500, #006263
- Monochromatic: #4e4987, #150640, #302863, #6f6bad, #9290d4

## Questions about #4e4987

### What color is #4e4987?

#4e4987 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 73, 135), in HSL hsl(244.84, 29.81%, 40.78%) and in OKLCH oklch(44.059% 0.09982 285.197).

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

The complementary color of #4e4987 is #5b5500. For a calmer combination use the analogous colors #295388 and #674078. The triadic partners are #7e3e1e and #006345.

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

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

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

#4e4987 is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.1% and its chroma 0.1.
