# #4f428a color: Moonlight Sonata

#4f428a is rgb(79, 66, 138) in RGB and oklch(42.956% 0.11529 288.902) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f428a |
| RGB | rgb(79, 66, 138) |
| HSL | hsl(250.83, 35.29%, 40%) |
| HSB / HSV | hsv(250.83 52.17% 54.12%) |
| HWB | hwb(250.83 25.88% 45.88%) |
| CMYK | cmyk(43% 52% 0% 46%) |
| Lab | lab(32.23 20.13 -38.98) |
| LCH | lch(32.23 43.87 297.32) |
| OKLab | oklab(42.956% 0.03735 -0.10907) |
| OKLCH | oklch(42.956% 0.11529 288.902) |
| Display P3 | color(display-p3 0.30149 0.2607 0.52375) |
| Rec. 2020 | color(rec2020 0.24949 0.20687 0.47219) |
| Adobe RGB | color(a98-rgb 0.30121 0.26629 0.52845) |
| ProPhoto RGB | color(prophoto-rgb 0.27059 0.21419 0.43951) |
| Linear sRGB | color(srgb-linear 0.07819 0.05448 0.25415) |
| XYZ D65 | color(xyz-d65 0.09759 0.07394 0.24958) |
| XYZ D50 | color(xyz-d50 0.09144 0.07186 0.18787) |
| SwiftUI | Color(red: 0.31, green: 0.259, blue: 0.541) |
| UIKit | UIColor(red: 0.31, green: 0.259, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4F428A) |
| Android XML | #4F428A |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.47:1
- Contrast with black: 2.48:1

## Tints

#4f428a, #5e5496, #6e66a2, #7f78ae, #908bba, #a19ec5, #b3b1d1, #c6c4dd, #d8d7e8, #ecebf4

## Shades

#4f428a, #443877, #382f65, #2e2553, #231c42, #191432, #100b22, #070514, #020107, #000001

## Tones

#4f428a, #4f4484, #4f467f, #4e4879, #4e4973, #4e4a6e, #4f4c68, #4f4d62, #4f4e5c, #4f4f56

## Harmonies

- Complementary: #4f428a, #555300
- Split: #4f428a, #6f4600, #2a5e18
- Analogous: #4f428a, #254e8e, #6a3877
- Triadic: #4f428a, #803700, #006245
- Tetradic: #4f428a, #7b305a, #555300, #006245
- Square: #4f428a, #832f36, #555300, #005e63
- Monochromatic: #4f428a, #170042, #312065, #7065b0, #9389d7

## Questions about #4f428a

### What color is #4f428a?

#4f428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 66, 138), in HSL hsl(250.83, 35.29%, 40%) and in OKLCH oklch(42.956% 0.11529 288.902).

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

The complementary color of #4f428a is #555300. For a calmer combination use the analogous colors #254e8e and #6a3877. The triadic partners are #803700 and #006245.

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

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

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

#4f428a is a cool color. In OKLCH its hue is 289 degrees, its lightness 43% and its chroma 0.115.
