# #4f4a8e color: Moonlight Sonata

#4f4a8e is rgb(79, 74, 142) in RGB and oklch(44.796% 0.1087 284.444) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4a8e |
| RGB | rgb(79, 74, 142) |
| HSL | hsl(244.41, 31.48%, 42.35%) |
| HSB / HSV | hsv(244.41 47.89% 55.69%) |
| HWB | hwb(244.41 29.02% 44.31%) |
| CMYK | cmyk(44% 48% 0% 44%) |
| Lab | lab(34.58 16.26 -37.69) |
| LCH | lch(34.58 41.04 293.33) |
| OKLab | oklab(44.796% 0.02711 -0.10526) |
| OKLCH | oklch(44.796% 0.1087 284.444) |
| Display P3 | color(display-p3 0.30643 0.29087 0.53964) |
| Rec. 2020 | color(rec2020 0.26 0.23598 0.48934) |
| Adobe RGB | color(a98-rgb 0.30874 0.29547 0.54405) |
| ProPhoto RGB | color(prophoto-rgb 0.28136 0.23737 0.45619) |
| Linear sRGB | color(srgb-linear 0.07819 0.06848 0.2705) |
| XYZ D65 | color(xyz-d65 0.10555 0.08513 0.26679) |
| XYZ D50 | color(xyz-d50 0.09917 0.08288 0.2009) |
| SwiftUI | Color(red: 0.31, green: 0.29, blue: 0.557) |
| UIKit | UIColor(red: 0.31, green: 0.29, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4A8E) |
| Android XML | #4F4A8E |

## 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.77:1
- Contrast with black: 2.7:1

## Tints

#4f4a8e, #5e5b9a, #6e6da5, #7f7eb1, #9090bc, #a1a2c7, #b3b4d3, #c6c6de, #d8d9e9, #ececf4

## Shades

#4f4a8e, #443f7b, #383568, #2e2a56, #232044, #191734, #100e24, #070615, #020207, #000001

## Tones

#4f4a8e, #4f4c88, #504d83, #504e7d, #505078, #515172, #52526c, #525367, #535361, #54545b

## Harmonies

- Complementary: #4f4a8e, #5f5700
- Split: #4f4a8e, #774900, #39611b
- Analogous: #4f4a8e, #25558f, #6b407e
- Triadic: #4f4a8e, #843d1a, #006745
- Tetradic: #4f4a8e, #7d3963, #5f5700, #006745
- Square: #4f4a8e, #863742, #5f5700, #006465
- Monochromatic: #4f4a8e, #170546, #312969, #706db4, #9391dc

## Questions about #4f4a8e

### What color is #4f4a8e?

#4f4a8e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 74, 142), in HSL hsl(244.41, 31.48%, 42.35%) and in OKLCH oklch(44.796% 0.1087 284.444).

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

The complementary color of #4f4a8e is #5f5700. For a calmer combination use the analogous colors #25558f and #6b407e. The triadic partners are #843d1a and #006745.

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

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

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

#4f4a8e is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.8% and its chroma 0.109.
