# #4f428b color: Moonlight Sonata

#4f428b is rgb(79, 66, 139) in RGB and oklch(43.024% 0.11674 288.701) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f428b |
| RGB | rgb(79, 66, 139) |
| HSL | hsl(250.68, 35.61%, 40.2%) |
| HSB / HSV | hsv(250.68 52.52% 54.51%) |
| HWB | hwb(250.68 25.88% 45.49%) |
| CMYK | cmyk(43% 53% 0% 45%) |
| Lab | lab(32.28 20.38 -39.5) |
| LCH | lch(32.28 44.45 297.29) |
| OKLab | oklab(43.024% 0.03743 -0.11058) |
| OKLCH | oklch(43.024% 0.11674 288.701) |
| Display P3 | color(display-p3 0.30149 0.2607 0.52748) |
| Rec. 2020 | color(rec2020 0.24984 0.20698 0.47615) |
| Adobe RGB | color(a98-rgb 0.30121 0.26629 0.53221) |
| ProPhoto RGB | color(prophoto-rgb 0.27148 0.2144 0.44324) |
| Linear sRGB | color(srgb-linear 0.07819 0.05448 0.25818) |
| XYZ D65 | color(xyz-d65 0.09832 0.07423 0.25342) |
| XYZ D50 | color(xyz-d50 0.09202 0.0721 0.19075) |
| SwiftUI | Color(red: 0.31, green: 0.259, blue: 0.545) |
| UIKit | UIColor(red: 0.31, green: 0.259, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4F428B) |
| Android XML | #4F428B |

## 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.45:1
- Contrast with black: 2.48:1

## Tints

#4f428b, #5e5497, #6e66a3, #7e79af, #908bba, #a19ec6, #b3b1d2, #c6c4dd, #d8d7e8, #ecebf4

## Shades

#4f428b, #443878, #382f66, #2e2554, #231c43, #191432, #100b23, #070514, #020107, #000001

## Tones

#4f428b, #4f4485, #4f4680, #4e487a, #4e4974, #4e4b6e, #4f4c68, #4f4d62, #4f4e5c, #4f4f56

## Harmonies

- Complementary: #4f428b, #565300
- Split: #4f428b, #6f4600, #2a5e16
- Analogous: #4f428b, #244e8f, #6a3778
- Triadic: #4f428b, #813700, #006245
- Tetradic: #4f428b, #7c305a, #565300, #006245
- Square: #4f428b, #842f36, #565300, #005e63
- Monochromatic: #4f428b, #170043, #312066, #7065b1, #9389d9

## Questions about #4f428b

### What color is #4f428b?

#4f428b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 66, 139), in HSL hsl(250.68, 35.61%, 40.2%) and in OKLCH oklch(43.024% 0.11674 288.701).

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

The complementary color of #4f428b is #565300. For a calmer combination use the analogous colors #244e8f and #6a3778. The triadic partners are #813700 and #006245.

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

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

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

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