# #4f4892 color: Moonlight Sonata

#4f4892 is rgb(79, 72, 146) in RGB and oklch(44.662% 0.11769 284.873) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4892 |
| RGB | rgb(79, 72, 146) |
| HSL | hsl(245.68, 33.94%, 42.75%) |
| HSB / HSV | hsv(245.68 50.68% 57.25%) |
| HWB | hwb(245.68 28.24% 42.75%) |
| CMYK | cmyk(46% 51% 0% 43%) |
| Lab | lab(34.25 18.47 -40.64) |
| LCH | lch(34.25 44.64 294.44) |
| OKLab | oklab(44.662% 0.03021 -0.11375) |
| OKLCH | oklch(44.662% 0.11769 284.873) |
| Display P3 | color(display-p3 0.30514 0.28331 0.55426) |
| Rec. 2020 | color(rec2020 0.25907 0.22916 0.50485) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.55898) |
| ProPhoto RGB | color(prophoto-rgb 0.28314 0.23253 0.47082) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.28744) |
| XYZ D65 | color(xyz-d65 0.10729 0.08372 0.28246) |
| XYZ D50 | color(xyz-d50 0.10018 0.08128 0.21264) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.573) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.573, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4892) |
| Android XML | #4F4892 |

## 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

#4f4892, #5e5a9d, #6e6ba9, #7e7db4, #908fbf, #a1a1ca, #b3b3d5, #c6c6df, #d8d9ea, #ebecf5

## Shades

#4f4892, #443d7e, #38336b, #2e2958, #231f46, #191635, #100d25, #070616, #020208, #000001

## Tones

#4f4892, #4f4a8c, #4f4c86, #504d80, #504f7a, #515074, #51516e, #525268, #535361, #53545b

## Harmonies

- Complementary: #4f4892, #5f5600
- Split: #4f4892, #784800, #356213
- Analogous: #4f4892, #1f5494, #6c3d81
- Triadic: #4f4892, #873a10, #006843
- Tetradic: #4f4892, #803563, #5f5600, #006843
- Square: #4f4892, #89333f, #5f5600, #006465
- Monochromatic: #4f4892, #170149, #31266d, #706bb8, #938fe0

## Questions about #4f4892

### What color is #4f4892?

#4f4892 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 146), in HSL hsl(245.68, 33.94%, 42.75%) and in OKLCH oklch(44.662% 0.11769 284.873).

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

The complementary color of #4f4892 is #5f5600. For a calmer combination use the analogous colors #1f5494 and #6c3d81. The triadic partners are #873a10 and #006843.

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

White text reads better on #4f4892: 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 #4f4892 a warm or cool color?

#4f4892 is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.7% and its chroma 0.118.
