# #4e488a color: Moonlight Sonata

#4e488a is rgb(78, 72, 138) in RGB and oklch(44.047% 0.10592 285.317) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e488a |
| RGB | rgb(78, 72, 138) |
| HSL | hsl(245.45, 31.43%, 41.18%) |
| HSB / HSV | hsv(245.45 47.83% 54.12%) |
| HWB | hwb(245.45 28.24% 45.88%) |
| CMYK | cmyk(43% 48% 0% 46%) |
| Lab | lab(33.73 16.18 -36.59) |
| LCH | lch(33.73 40.01 293.86) |
| OKLab | oklab(44.047% 0.02798 -0.10216) |
| OKLCH | oklch(44.047% 0.10592 285.317) |
| Display P3 | color(display-p3 0.30186 0.28317 0.52448) |
| Rec. 2020 | color(rec2020 0.25377 0.22804 0.47315) |
| Adobe RGB | color(a98-rgb 0.30408 0.28815 0.52886) |
| ProPhoto RGB | color(prophoto-rgb 0.27428 0.2305 0.44077) |
| Linear sRGB | color(srgb-linear 0.07619 0.0648 0.25415) |
| XYZ D65 | color(xyz-d65 0.10046 0.08089 0.25078) |
| XYZ D50 | color(xyz-d50 0.09454 0.07881 0.18884) |
| SwiftUI | Color(red: 0.306, green: 0.282, blue: 0.541) |
| UIKit | UIColor(red: 0.306, green: 0.282, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4E488A) |
| Android XML | #4E488A |

## 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: 8.02:1
- Contrast with black: 2.62:1

## Tints

#4e488a, #5d5996, #6d6ba2, #7e7dae, #8f8eb9, #a1a1c5, #b3b3d1, #c5c6dc, #d8d8e8, #ebecf4

## Shades

#4e488a, #433d77, #383365, #2d2953, #231f42, #191632, #0f0d22, #070614, #020207, #000001

## Tones

#4e488a, #4e4a85, #4e4b7f, #4f4c7a, #4f4e74, #504f6f, #505069, #515064, #51515e, #525258

## Harmonies

- Complementary: #4e488a, #5c5500
- Split: #4e488a, #744800, #375f1d
- Analogous: #4e488a, #26538c, #693e7a
- Triadic: #4e488a, #813c19, #006444
- Tetradic: #4e488a, #7a3760, #5c5500, #006444
- Square: #4e488a, #83363f, #5c5500, #006263
- Monochromatic: #4e488a, #160443, #302765, #6f6bb0, #928fd7

## Questions about #4e488a

### What color is #4e488a?

#4e488a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 72, 138), in HSL hsl(245.45, 31.43%, 41.18%) and in OKLCH oklch(44.047% 0.10592 285.317).

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

The complementary color of #4e488a is #5c5500. For a calmer combination use the analogous colors #26538c and #693e7a. The triadic partners are #813c19 and #006444.

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

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

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

#4e488a is a cool color. In OKLCH its hue is 285 degrees, its lightness 44% and its chroma 0.106.
