# #4f4991 color: Moonlight Sonata

#4f4991 is rgb(79, 73, 145) in RGB and oklch(44.793% 0.11469 284.545) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4991 |
| RGB | rgb(79, 73, 145) |
| HSL | hsl(245, 33.03%, 42.75%) |
| HSB / HSV | hsv(245 49.66% 56.86%) |
| HWB | hwb(245 28.63% 43.14%) |
| CMYK | cmyk(46% 50% 0% 43%) |
| Lab | lab(34.46 17.61 -39.69) |
| LCH | lch(34.46 43.42 293.92) |
| OKLab | oklab(44.793% 0.0288 -0.11102) |
| OKLCH | oklch(44.793% 0.11469 284.545) |
| Display P3 | color(display-p3 0.30578 0.28709 0.55067) |
| Rec. 2020 | color(rec2020 0.25988 0.23266 0.50105) |
| Adobe RGB | color(a98-rgb 0.30775 0.29181 0.55528) |
| ProPhoto RGB | color(prophoto-rgb 0.28314 0.23515 0.46726) |
| Linear sRGB | color(srgb-linear 0.07819 0.06663 0.28315) |
| XYZ D65 | color(xyz-d65 0.10717 0.08472 0.27859) |
| XYZ D50 | color(xyz-d50 0.10027 0.08232 0.20975) |
| SwiftUI | Color(red: 0.31, green: 0.286, blue: 0.569) |
| UIKit | UIColor(red: 0.31, green: 0.286, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4991) |
| Android XML | #4F4991 |

## 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.79:1
- Contrast with black: 2.69:1

## Tints

#4f4991, #5e5b9c, #6e6ca8, #7f7eb3, #908fbe, #a1a1c9, #b3b4d4, #c6c6df, #d8d9ea, #ececf4

## Shades

#4f4991, #443e7d, #38346a, #2e2a58, #232046, #191735, #100e25, #070615, #020207, #000001

## Tones

#4f4991, #4f4b8b, #504c85, #504e7f, #504f7a, #515074, #51516e, #525267, #535361, #54545b

## Harmonies

- Complementary: #4f4991, #5f5700
- Split: #4f4991, #794900, #376216
- Analogous: #4f4991, #215592, #6c3e80
- Triadic: #4f4991, #873b14, #006844
- Tetradic: #4f4991, #7f3764, #5f5700, #006844
- Square: #4f4991, #883540, #5f5700, #006465
- Monochromatic: #4f4991, #170348, #31276c, #706cb7, #9390df

## Questions about #4f4991

### What color is #4f4991?

#4f4991 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 73, 145), in HSL hsl(245, 33.03%, 42.75%) and in OKLCH oklch(44.793% 0.11469 284.545).

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

The complementary color of #4f4991 is #5f5700. For a calmer combination use the analogous colors #215592 and #6c3e80. The triadic partners are #873b14 and #006844.

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

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

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

#4f4991 is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.8% and its chroma 0.115.
