# #4e478d color: Moonlight Sonata

#4e478d is rgb(78, 71, 141) in RGB and oklch(44.043% 0.11195 285.382) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e478d |
| RGB | rgb(78, 71, 141) |
| HSL | hsl(246, 33.02%, 41.57%) |
| HSB / HSV | hsv(246 49.65% 55.29%) |
| HWB | hwb(246 27.84% 44.71%) |
| CMYK | cmyk(45% 50% 0% 45%) |
| Lab | lab(33.62 17.53 -38.6) |
| LCH | lch(33.62 42.4 294.43) |
| OKLab | oklab(44.043% 0.02969 -0.10794) |
| OKLCH | oklch(44.043% 0.11195 285.382) |
| Display P3 | color(display-p3 0.30122 0.27939 0.5355) |
| Rec. 2020 | color(rec2020 0.25365 0.22474 0.48484) |
| Adobe RGB | color(a98-rgb 0.30311 0.2845 0.54007) |
| ProPhoto RGB | color(prophoto-rgb 0.27603 0.2283 0.45174) |
| Linear sRGB | color(srgb-linear 0.07619 0.06301 0.26636) |
| XYZ D65 | color(xyz-d65 0.10202 0.08049 0.26216) |
| XYZ D50 | color(xyz-d50 0.0956 0.07827 0.19738) |
| SwiftUI | Color(red: 0.306, green: 0.278, blue: 0.553) |
| UIKit | UIColor(red: 0.306, green: 0.278, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4E478D) |
| Android XML | #4E478D |

## 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.05:1
- Contrast with black: 2.61:1

## Tints

#4e478d, #5d5999, #6d6aa4, #7e7cb0, #8f8ebc, #a1a0c7, #b3b3d2, #c5c5de, #d8d8e9, #ebecf4

## Shades

#4e478d, #433d7a, #383267, #2d2855, #231f44, #191633, #0f0d23, #070614, #020207, #000001

## Tones

#4e478d, #4e4987, #4e4a82, #4f4c7c, #4f4d76, #4f4e71, #504f6b, #505065, #51515f, #525259

## Harmonies

- Complementary: #4e478d, #5c5500
- Split: #4e478d, #754700, #356018
- Analogous: #4e478d, #22538f, #6a3d7c
- Triadic: #4e478d, #833a13, #006543
- Tetradic: #4e478d, #7c3560, #5c5500, #006543
- Square: #4e478d, #85343e, #5c5500, #006263
- Monochromatic: #4e478d, #160245, #302568, #6f6ab3, #928edb

## Questions about #4e478d

### What color is #4e478d?

#4e478d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 71, 141), in HSL hsl(246, 33.02%, 41.57%) and in OKLCH oklch(44.043% 0.11195 285.382).

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

The complementary color of #4e478d is #5c5500. For a calmer combination use the analogous colors #22538f and #6a3d7c. The triadic partners are #833a13 and #006543.

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

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

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

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