# #4f4591 color: Moonlight Sonata

#4f4591 is rgb(79, 69, 145) in RGB and oklch(44.011% 0.12081 286.34) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4591 |
| RGB | rgb(79, 69, 145) |
| HSL | hsl(247.89, 35.51%, 41.96%) |
| HSB / HSV | hsv(247.89 52.41% 56.86%) |
| HWB | hwb(247.89 27.06% 43.14%) |
| CMYK | cmyk(46% 52% 0% 43%) |
| Lab | lab(33.4 20.04 -41.39) |
| LCH | lch(33.4 45.98 295.83) |
| OKLab | oklab(44.011% 0.03399 -0.11593) |
| OKLCH | oklch(44.011% 0.12081 286.34) |
| Display P3 | color(display-p3 0.30328 0.272 0.55018) |
| Rec. 2020 | color(rec2020 0.25529 0.2183 0.5004) |
| Adobe RGB | color(a98-rgb 0.30394 0.27721 0.55501) |
| ProPhoto RGB | color(prophoto-rgb 0.27954 0.22394 0.4664) |
| Linear sRGB | color(srgb-linear 0.07819 0.05951 0.28315) |
| XYZ D65 | color(xyz-d65 0.10463 0.07963 0.27775) |
| XYZ D50 | color(xyz-d50 0.09753 0.07722 0.20906) |
| SwiftUI | Color(red: 0.31, green: 0.271, blue: 0.569) |
| UIKit | UIColor(red: 0.31, green: 0.271, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4591) |
| Android XML | #4F4591 |

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

## Tints

#4f4591, #5e579d, #6e69a8, #7e7bb3, #8f8dbe, #a1a0c9, #b3b2d4, #c5c5df, #d8d8ea, #ebebf4

## Shades

#4f4591, #443b7d, #38316a, #2e2758, #231e46, #191535, #100c25, #070515, #020207, #000001

## Tones

#4f4591, #4f478b, #4f4985, #4f4b7f, #4f4c79, #504e73, #504f6c, #515066, #515160, #525259

## Harmonies

- Complementary: #4f4591, #5b5500
- Split: #4f4591, #754800, #306110
- Analogous: #4f4591, #1f5293, #6c3a7e
- Triadic: #4f4591, #863803, #006544
- Tetradic: #4f4591, #7f3260, #5b5500, #006544
- Square: #4f4591, #88303b, #5b5500, #006264
- Monochromatic: #4f4591, #180048, #31236c, #7068b7, #938cdf

## Questions about #4f4591

### What color is #4f4591?

#4f4591 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 69, 145), in HSL hsl(247.89, 35.51%, 41.96%) and in OKLCH oklch(44.011% 0.12081 286.34).

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

The complementary color of #4f4591 is #5b5500. For a calmer combination use the analogous colors #1f5293 and #6c3a7e. The triadic partners are #863803 and #006544.

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

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

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

#4f4591 is a cool color. In OKLCH its hue is 286 degrees, its lightness 44% and its chroma 0.121.
