# #4e488f color: Moonlight Sonata

#4e488f is rgb(78, 72, 143) in RGB and oklch(44.375% 0.11337 284.615) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e488f |
| RGB | rgb(78, 72, 143) |
| HSL | hsl(245.07, 33.02%, 42.16%) |
| HSB / HSV | hsv(245.07 49.65% 56.08%) |
| HWB | hwb(245.07 28.24% 43.92%) |
| CMYK | cmyk(45% 50% 0% 44%) |
| Lab | lab(34 17.42 -39.23) |
| LCH | lch(34 42.92 293.95) |
| OKLab | oklab(44.375% 0.02861 -0.10971) |
| OKLCH | oklch(44.375% 0.11337 284.615) |
| Display P3 | color(display-p3 0.30186 0.28317 0.54307) |
| Rec. 2020 | color(rec2020 0.25553 0.22855 0.49292) |
| Adobe RGB | color(a98-rgb 0.30408 0.28815 0.54767) |
| ProPhoto RGB | color(prophoto-rgb 0.27876 0.23154 0.45946) |
| Linear sRGB | color(srgb-linear 0.07619 0.0648 0.27468) |
| XYZ D65 | color(xyz-d65 0.10416 0.08237 0.27029) |
| XYZ D50 | color(xyz-d50 0.09748 0.08006 0.2035) |
| SwiftUI | Color(red: 0.306, green: 0.282, blue: 0.561) |
| UIKit | UIColor(red: 0.306, green: 0.282, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4E488F) |
| Android XML | #4E488F |

## 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.93:1
- Contrast with black: 2.65:1

## Tints

#4e488f, #5d5a9b, #6d6ba6, #7e7db2, #8f8fbd, #a1a1c8, #b3b3d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4e488f, #433d7c, #383369, #2d2957, #231f45, #191634, #0f0d24, #070615, #020207, #000001

## Tones

#4e488f, #4e4a89, #4e4b84, #4f4d7e, #4f4e78, #504f72, #50506c, #515166, #525260, #53535a

## Harmonies

- Complementary: #4e488f, #5e5600
- Split: #4e488f, #774800, #366116
- Analogous: #4e488f, #215490, #6a3d7e
- Triadic: #4e488f, #853b14, #006643
- Tetradic: #4e488f, #7d3662, #5e5600, #006643
- Square: #4e488f, #87343f, #5e5600, #006363
- Monochromatic: #4e488f, #160247, #30266a, #6f6bb5, #928fdd

## Questions about #4e488f

### What color is #4e488f?

#4e488f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 72, 143), in HSL hsl(245.07, 33.02%, 42.16%) and in OKLCH oklch(44.375% 0.11337 284.615).

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

The complementary color of #4e488f is #5e5600. For a calmer combination use the analogous colors #215490 and #6a3d7e. The triadic partners are #853b14 and #006643.

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

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

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

#4e488f is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.4% and its chroma 0.113.
