# #4f4292 color: Moonlight Sonata

#4f4292 is rgb(79, 66, 146) in RGB and oklch(43.513% 0.12681 287.377) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4292 |
| RGB | rgb(79, 66, 146) |
| HSL | hsl(249.75, 37.74%, 41.57%) |
| HSB / HSV | hsv(249.75 54.79% 57.25%) |
| HWB | hwb(249.75 25.88% 42.75%) |
| CMYK | cmyk(46% 55% 0% 43%) |
| Lab | lab(32.67 22.1 -43.15) |
| LCH | lch(32.67 48.48 297.12) |
| OKLab | oklab(43.513% 0.03787 -0.12102) |
| OKLCH | oklch(43.513% 0.12681 287.377) |
| Display P3 | color(display-p3 0.30149 0.2607 0.55355) |
| Rec. 2020 | color(rec2020 0.25238 0.20776 0.50392) |
| Adobe RGB | color(a98-rgb 0.30121 0.26629 0.5586) |
| ProPhoto RGB | color(prophoto-rgb 0.27791 0.21597 0.46959) |
| Linear sRGB | color(srgb-linear 0.07819 0.05448 0.28744) |
| XYZ D65 | color(xyz-d65 0.1036 0.07634 0.28123) |
| XYZ D50 | color(xyz-d50 0.0962 0.07388 0.21164) |
| SwiftUI | Color(red: 0.31, green: 0.259, blue: 0.573) |
| UIKit | UIColor(red: 0.31, green: 0.259, blue: 0.573, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4292) |
| Android XML | #4F4292 |

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

## Tints

#4f4292, #5e549e, #6e67a9, #7e79b4, #8f8cbf, #a19eca, #b3b1d5, #c5c4e0, #d8d8ea, #ebebf5

## Shades

#4f4292, #44387e, #382f6b, #2e2558, #231c46, #191435, #100b25, #070516, #020108, #000001

## Tones

#4f4292, #4f448c, #4f4685, #4f487f, #4f4a79, #4f4c72, #4f4d6c, #504e65, #504f5f, #505058

## Harmonies

- Complementary: #4f4292, #595400
- Split: #4f4292, #724700, #296009
- Analogous: #4f4292, #1c4f95, #6d367e
- Triadic: #4f4292, #863500, #006444
- Tetradic: #4f4292, #802e5e, #595400, #006444
- Square: #4f4292, #892c37, #595400, #006063
- Monochromatic: #4f4292, #180049, #311f6d, #7065b9, #9389e0

## Questions about #4f4292

### What color is #4f4292?

#4f4292 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 66, 146), in HSL hsl(249.75, 37.74%, 41.57%) and in OKLCH oklch(43.513% 0.12681 287.377).

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

The complementary color of #4f4292 is #595400. For a calmer combination use the analogous colors #1c4f95 and #6d367e. The triadic partners are #863500 and #006444.

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

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

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

#4f4292 is a cool color. In OKLCH its hue is 287 degrees, its lightness 43.5% and its chroma 0.127.
