# #4f4989 color: Moonlight Sonata

#4f4989 is rgb(79, 73, 137) in RGB and oklch(44.273% 0.10275 285.67) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4989 |
| RGB | rgb(79, 73, 137) |
| HSL | hsl(245.63, 30.48%, 41.18%) |
| HSB / HSV | hsv(245.63 46.72% 53.73%) |
| HWB | hwb(245.63 28.63% 46.27%) |
| CMYK | cmyk(42% 47% 0% 46%) |
| Lab | lab(34.05 15.64 -35.47) |
| LCH | lch(34.05 38.76 293.79) |
| OKLab | oklab(44.273% 0.02775 -0.09893) |
| OKLCH | oklch(44.273% 0.10275 285.67) |
| Display P3 | color(display-p3 0.30578 0.28709 0.52094) |
| Rec. 2020 | color(rec2020 0.25709 0.23186 0.46942) |
| Adobe RGB | color(a98-rgb 0.30775 0.29181 0.52518) |
| ProPhoto RGB | color(prophoto-rgb 0.276 0.2335 0.43733) |
| Linear sRGB | color(srgb-linear 0.07819 0.06663 0.25016) |
| XYZ D65 | color(xyz-d65 0.10122 0.08233 0.24724) |
| XYZ D50 | color(xyz-d50 0.09555 0.08032 0.18619) |
| SwiftUI | Color(red: 0.31, green: 0.286, blue: 0.537) |
| UIKit | UIColor(red: 0.31, green: 0.286, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4989) |
| Android XML | #4F4989 |

## 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.93:1
- Contrast with black: 2.65:1

## Tints

#4f4989, #5e5a95, #6e6ca1, #7f7dad, #908fb9, #a1a1c5, #b3b3d0, #c6c6dc, #d9d9e8, #ececf3

## Shades

#4f4989, #443e76, #383464, #2e2a53, #232042, #191731, #100e22, #070614, #020207, #000001

## Tones

#4f4989, #4f4a84, #4f4c7f, #504d79, #504e74, #504f6f, #515069, #515164, #52525e, #525359

## Harmonies

- Complementary: #4f4989, #5c5600
- Split: #4f4989, #734900, #385f20
- Analogous: #4f4989, #29548b, #694079
- Triadic: #4f4989, #803e1c, #006445
- Tetradic: #4f4989, #7a395f, #5c5600, #006445
- Square: #4f4989, #823840, #5c5600, #006364
- Monochromatic: #4f4989, #160642, #312865, #706caf, #9390d6

## Questions about #4f4989

### What color is #4f4989?

#4f4989 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 73, 137), in HSL hsl(245.63, 30.48%, 41.18%) and in OKLCH oklch(44.273% 0.10275 285.67).

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

The complementary color of #4f4989 is #5c5600. For a calmer combination use the analogous colors #29548b and #694079. The triadic partners are #803e1c and #006445.

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

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

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

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