# #4e478f color: Moonlight Sonata

#4e478f is rgb(78, 71, 143) in RGB and oklch(44.177% 0.11491 285.09) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e478f |
| RGB | rgb(78, 71, 143) |
| HSL | hsl(245.83, 33.64%, 41.96%) |
| HSB / HSV | hsv(245.83 50.35% 56.08%) |
| HWB | hwb(245.83 27.84% 43.92%) |
| CMYK | cmyk(45% 50% 0% 44%) |
| Lab | lab(33.73 18.03 -39.65) |
| LCH | lch(33.73 43.56 294.45) |
| OKLab | oklab(44.177% 0.02991 -0.11095) |
| OKLCH | oklch(44.177% 0.11491 285.09) |
| Display P3 | color(display-p3 0.30122 0.27939 0.54294) |
| Rec. 2020 | color(rec2020 0.25436 0.22495 0.49276) |
| Adobe RGB | color(a98-rgb 0.30311 0.2845 0.5476) |
| ProPhoto RGB | color(prophoto-rgb 0.27785 0.22872 0.45925) |
| Linear sRGB | color(srgb-linear 0.07619 0.06301 0.27468) |
| XYZ D65 | color(xyz-d65 0.10352 0.08109 0.27007) |
| XYZ D50 | color(xyz-d50 0.09679 0.07877 0.20332) |
| SwiftUI | Color(red: 0.306, green: 0.278, blue: 0.561) |
| UIKit | UIColor(red: 0.306, green: 0.278, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4E478F) |
| Android XML | #4E478F |

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

## Tints

#4e478f, #5d599b, #6d6aa6, #7e7cb2, #8f8ebd, #a1a0c8, #b3b3d3, #c5c5de, #d8d8e9, #ebecf4

## Shades

#4e478f, #433d7c, #383269, #2d2857, #231f45, #191634, #0f0d24, #070615, #020207, #000001

## Tones

#4e478f, #4e4989, #4e4a83, #4f4c7e, #4f4d78, #504f72, #50506c, #515166, #515160, #525259

## Harmonies

- Complementary: #4e478f, #5d5500
- Split: #4e478f, #764700, #356015
- Analogous: #4e478f, #205391, #6a3c7e
- Triadic: #4e478f, #853a10, #006643
- Tetradic: #4e478f, #7d3561, #5d5500, #006643
- Square: #4e478f, #87333e, #5d5500, #006263
- Monochromatic: #4e478f, #170147, #30256a, #6f6ab5, #928edd

## Questions about #4e478f

### What color is #4e478f?

#4e478f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 71, 143), in HSL hsl(245.83, 33.64%, 41.96%) and in OKLCH oklch(44.177% 0.11491 285.09).

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

The complementary color of #4e478f is #5d5500. For a calmer combination use the analogous colors #205391 and #6a3c7e. The triadic partners are #853a10 and #006643.

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

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

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

#4e478f is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.2% and its chroma 0.115.
