# #4e478e color: Moonlight Sonata

#4e478e is rgb(78, 71, 142) in RGB and oklch(44.11% 0.11343 285.235) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e478e |
| RGB | rgb(78, 71, 142) |
| HSL | hsl(245.92, 33.33%, 41.76%) |
| HSB / HSV | hsv(245.92 50% 55.69%) |
| HWB | hwb(245.92 27.84% 44.31%) |
| CMYK | cmyk(45% 50% 0% 44%) |
| Lab | lab(33.67 17.78 -39.13) |
| LCH | lch(33.67 42.98 294.44) |
| OKLab | oklab(44.11% 0.02981 -0.10944) |
| OKLCH | oklch(44.11% 0.11343 285.235) |
| Display P3 | color(display-p3 0.30122 0.27939 0.53922) |
| Rec. 2020 | color(rec2020 0.25401 0.22484 0.48879) |
| Adobe RGB | color(a98-rgb 0.30311 0.2845 0.54383) |
| ProPhoto RGB | color(prophoto-rgb 0.27694 0.22851 0.45549) |
| Linear sRGB | color(srgb-linear 0.07619 0.06301 0.2705) |
| XYZ D65 | color(xyz-d65 0.10277 0.08079 0.2661) |
| XYZ D50 | color(xyz-d50 0.09619 0.07852 0.20034) |
| SwiftUI | Color(red: 0.306, green: 0.278, blue: 0.557) |
| UIKit | UIColor(red: 0.306, green: 0.278, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4E478E) |
| Android XML | #4E478E |

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

## Tints

#4e478e, #5d599a, #6d6aa5, #7e7cb1, #8f8ebc, #a1a0c8, #b3b3d3, #c5c5de, #d8d8e9, #ebecf4

## Shades

#4e478e, #433d7b, #383268, #2d2856, #231f44, #191634, #0f0d24, #070615, #020207, #000001

## Tones

#4e478e, #4e4988, #4e4a83, #4f4c7d, #4f4d77, #4f4e71, #504f6b, #515065, #51515f, #525259

## Harmonies

- Complementary: #4e478e, #5d5500
- Split: #4e478e, #764700, #356016
- Analogous: #4e478e, #215390, #6a3c7d
- Triadic: #4e478e, #843a12, #006543
- Tetradic: #4e478e, #7d3561, #5d5500, #006543
- Square: #4e478e, #86333e, #5d5500, #006263
- Monochromatic: #4e478e, #160246, #302569, #6f6ab4, #928edc

## Questions about #4e478e

### What color is #4e478e?

#4e478e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 71, 142), in HSL hsl(245.92, 33.33%, 41.76%) and in OKLCH oklch(44.11% 0.11343 285.235).

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

The complementary color of #4e478e is #5d5500. For a calmer combination use the analogous colors #215390 and #6a3c7d. The triadic partners are #843a12 and #006543.

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

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

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

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