# #4e498f color: Moonlight Sonata

#4e498f is rgb(78, 73, 143) in RGB and oklch(44.574% 0.11184 284.126) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e498f |
| RGB | rgb(78, 73, 143) |
| HSL | hsl(244.29, 32.41%, 42.35%) |
| HSB / HSV | hsv(244.29 48.95% 56.08%) |
| HWB | hwb(244.29 28.63% 43.92%) |
| CMYK | cmyk(45% 49% 0% 44%) |
| Lab | lab(34.27 16.82 -38.8) |
| LCH | lch(34.27 42.28 293.43) |
| OKLab | oklab(44.574% 0.0273 -0.10846) |
| OKLCH | oklch(44.574% 0.11184 284.126) |
| Display P3 | color(display-p3 0.30251 0.28695 0.5432) |
| Rec. 2020 | color(rec2020 0.25671 0.23216 0.49309) |
| Adobe RGB | color(a98-rgb 0.30506 0.29181 0.54774) |
| ProPhoto RGB | color(prophoto-rgb 0.27969 0.23438 0.45969) |
| Linear sRGB | color(srgb-linear 0.07619 0.06663 0.27468) |
| XYZ D65 | color(xyz-d65 0.10482 0.08368 0.2705) |
| XYZ D50 | color(xyz-d50 0.09818 0.08136 0.20368) |
| SwiftUI | Color(red: 0.306, green: 0.286, blue: 0.561) |
| UIKit | UIColor(red: 0.306, green: 0.286, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4E498F) |
| Android XML | #4E498F |

## 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.85:1
- Contrast with black: 2.67:1

## Tints

#4e498f, #5d5a9b, #6d6ca6, #7e7eb2, #8f8fbd, #a1a1c8, #b3b4d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4e498f, #433e7c, #383469, #2d2a57, #232045, #191734, #0f0e24, #070615, #020207, #000001

## Tones

#4e498f, #4e4b89, #4f4c84, #4f4e7e, #504f78, #505072, #51516c, #515266, #525360, #53535a

## Harmonies

- Complementary: #4e498f, #5f5600
- Split: #4e498f, #784800, #386117
- Analogous: #4e498f, #215590, #6a3f7f
- Triadic: #4e498f, #853b17, #006743
- Tetradic: #4e498f, #7d3763, #5f5600, #006743
- Square: #4e498f, #873541, #5f5600, #006464
- Monochromatic: #4e498f, #160447, #30276a, #6f6cb5, #9290dd

## Questions about #4e498f

### What color is #4e498f?

#4e498f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 73, 143), in HSL hsl(244.29, 32.41%, 42.35%) and in OKLCH oklch(44.574% 0.11184 284.126).

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

The complementary color of #4e498f is #5f5600. For a calmer combination use the analogous colors #215590 and #6a3f7f. The triadic partners are #853b17 and #006743.

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

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

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

#4e498f is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.6% and its chroma 0.112.
