# #4e478c color: Moonlight Sonata

#4e478c is rgb(78, 71, 140) in RGB and oklch(43.977% 0.11046 285.531) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e478c |
| RGB | rgb(78, 71, 140) |
| HSL | hsl(246.09, 32.7%, 41.37%) |
| HSB / HSV | hsv(246.09 49.29% 54.9%) |
| HWB | hwb(246.09 27.84% 45.1%) |
| CMYK | cmyk(44% 49% 0% 45%) |
| Lab | lab(33.57 17.29 -38.08) |
| LCH | lch(33.57 41.82 294.42) |
| OKLab | oklab(43.977% 0.02958 -0.10643) |
| OKLCH | oklch(43.977% 0.11046 285.531) |
| Display P3 | color(display-p3 0.30122 0.27939 0.53178) |
| Rec. 2020 | color(rec2020 0.2533 0.22464 0.48088) |
| Adobe RGB | color(a98-rgb 0.30311 0.2845 0.53631) |
| ProPhoto RGB | color(prophoto-rgb 0.27514 0.22809 0.448) |
| Linear sRGB | color(srgb-linear 0.07619 0.06301 0.26225) |
| XYZ D65 | color(xyz-d65 0.10128 0.0802 0.25826) |
| XYZ D50 | color(xyz-d50 0.09501 0.07802 0.19445) |
| SwiftUI | Color(red: 0.306, green: 0.278, blue: 0.549) |
| UIKit | UIColor(red: 0.306, green: 0.278, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4E478C) |
| Android XML | #4E478C |

## 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.06:1
- Contrast with black: 2.6:1

## Tints

#4e478c, #5d5998, #6d6aa4, #7e7caf, #8f8ebb, #a1a0c6, #b3b3d2, #c5c5dd, #d8d8e9, #ebecf4

## Shades

#4e478c, #433d79, #383267, #2d2855, #231f43, #191633, #0f0d23, #070614, #020207, #000001

## Tones

#4e478c, #4e4986, #4e4a81, #4f4c7b, #4f4d76, #4f4e70, #504f6a, #505064, #51515e, #525258

## Harmonies

- Complementary: #4e478c, #5c5500
- Split: #4e478c, #754700, #355f19
- Analogous: #4e478c, #23538e, #693d7b
- Triadic: #4e478c, #823b14, #006543
- Tetradic: #4e478c, #7c3660, #5c5500, #006543
- Square: #4e478c, #84343e, #5c5500, #006263
- Monochromatic: #4e478c, #160244, #302667, #6f6ab2, #928ed9

## Questions about #4e478c

### What color is #4e478c?

#4e478c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 71, 140), in HSL hsl(246.09, 32.7%, 41.37%) and in OKLCH oklch(43.977% 0.11046 285.531).

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

The complementary color of #4e478c is #5c5500. For a calmer combination use the analogous colors #23538e and #693d7b. The triadic partners are #823b14 and #006543.

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

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

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

#4e478c is a cool color. In OKLCH its hue is 286 degrees, its lightness 44% and its chroma 0.11.
