# #4f4790 color: Moonlight Sonata

#4f4790 is rgb(79, 71, 144) in RGB and oklch(44.332% 0.11628 285.618) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4790 |
| RGB | rgb(79, 71, 144) |
| HSL | hsl(246.58, 33.95%, 42.16%) |
| HSB / HSV | hsv(246.58 50.69% 56.47%) |
| HWB | hwb(246.58 27.84% 43.53%) |
| CMYK | cmyk(45% 51% 0% 44%) |
| Lab | lab(33.87 18.57 -40.02) |
| LCH | lch(33.87 44.12 294.9) |
| OKLab | oklab(44.332% 0.03131 -0.11199) |
| OKLCH | oklch(44.332% 0.11628 285.618) |
| Display P3 | color(display-p3 0.30451 0.27954 0.5467) |
| Rec. 2020 | color(rec2020 0.2572 0.22536 0.49675) |
| Adobe RGB | color(a98-rgb 0.30582 0.2845 0.55137) |
| ProPhoto RGB | color(prophoto-rgb 0.2804 0.22929 0.46305) |
| Linear sRGB | color(srgb-linear 0.07819 0.06301 0.27889) |
| XYZ D65 | color(xyz-d65 0.10511 0.08182 0.27412) |
| XYZ D50 | color(xyz-d50 0.09827 0.07947 0.20636) |
| SwiftUI | Color(red: 0.31, green: 0.278, blue: 0.565) |
| UIKit | UIColor(red: 0.31, green: 0.278, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4790) |
| Android XML | #4F4790 |

## 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.97:1
- Contrast with black: 2.64:1

## Tints

#4f4790, #5e599c, #6e6aa7, #7e7cb2, #908ebe, #a1a0c9, #b3b3d4, #c6c6df, #d8d8ea, #ececf4

## Shades

#4f4790, #443d7d, #38326a, #2e2857, #231f45, #191634, #100d24, #070615, #020207, #000001

## Tones

#4f4790, #4f498a, #4f4b84, #4f4c7e, #504e78, #504f72, #51506c, #515166, #525260, #53535a

## Harmonies

- Complementary: #4f4790, #5d5600
- Split: #4f4790, #764800, #346115
- Analogous: #4f4790, #215392, #6c3c7e
- Triadic: #4f4790, #853a0e, #006744
- Tetradic: #4f4790, #7f3461, #5d5600, #006744
- Square: #4f4790, #88333d, #5d5600, #006364
- Monochromatic: #4f4790, #170148, #31256b, #706ab6, #938ede

## Questions about #4f4790

### What color is #4f4790?

#4f4790 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 71, 144), in HSL hsl(246.58, 33.95%, 42.16%) and in OKLCH oklch(44.332% 0.11628 285.618).

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

The complementary color of #4f4790 is #5d5600. For a calmer combination use the analogous colors #215392 and #6c3c7e. The triadic partners are #853a0e and #006744.

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

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

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

#4f4790 is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.3% and its chroma 0.116.
