# #4f4891 color: Moonlight Sonata

#4f4891 is rgb(79, 72, 145) in RGB and oklch(44.595% 0.11622 285.013) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4891 |
| RGB | rgb(79, 72, 145) |
| HSL | hsl(245.75, 33.64%, 42.55%) |
| HSB / HSV | hsv(245.75 50.34% 56.86%) |
| HWB | hwb(245.75 28.24% 43.14%) |
| CMYK | cmyk(46% 50% 0% 43%) |
| Lab | lab(34.19 18.22 -40.12) |
| LCH | lch(34.19 44.06 294.42) |
| OKLab | oklab(44.595% 0.03011 -0.11225) |
| OKLCH | oklch(44.595% 0.11622 285.013) |
| Display P3 | color(display-p3 0.30514 0.28331 0.55054) |
| Rec. 2020 | color(rec2020 0.25871 0.22906 0.50088) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.55521) |
| ProPhoto RGB | color(prophoto-rgb 0.28222 0.23232 0.46704) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.28315) |
| XYZ D65 | color(xyz-d65 0.10652 0.08341 0.27838) |
| XYZ D50 | color(xyz-d50 0.09957 0.08102 0.20958) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.569) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4891) |
| Android XML | #4F4891 |

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

## Tints

#4f4891, #5e5a9c, #6e6ba8, #7e7db3, #908fbe, #a1a1c9, #b3b3d4, #c6c6df, #d8d9ea, #ececf4

## Shades

#4f4891, #443d7d, #38336a, #2e2958, #231f46, #191635, #100d25, #070615, #020207, #000001

## Tones

#4f4891, #4f4a8b, #4f4c85, #504d7f, #504e79, #515073, #51516d, #525267, #525361, #53535b

## Harmonies

- Complementary: #4f4891, #5e5600
- Split: #4f4891, #784800, #356215
- Analogous: #4f4891, #205493, #6c3d80
- Triadic: #4f4891, #863a11, #006744
- Tetradic: #4f4891, #7f3563, #5e5600, #006744
- Square: #4f4891, #88333f, #5e5600, #006464
- Monochromatic: #4f4891, #170248, #31266c, #706bb7, #938fdf

## Questions about #4f4891

### What color is #4f4891?

#4f4891 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 145), in HSL hsl(245.75, 33.64%, 42.55%) and in OKLCH oklch(44.595% 0.11622 285.013).

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

The complementary color of #4f4891 is #5e5600. For a calmer combination use the analogous colors #205493 and #6c3d80. The triadic partners are #863a11 and #006744.

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

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

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

#4f4891 is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.6% and its chroma 0.116.
