# #4f498a color: Moonlight Sonata

#4f498a is rgb(79, 73, 138) in RGB and oklch(44.337% 0.10426 285.522) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f498a |
| RGB | rgb(79, 73, 138) |
| HSL | hsl(245.54, 30.81%, 41.37%) |
| HSB / HSV | hsv(245.54 47.1% 54.12%) |
| HWB | hwb(245.54 28.63% 45.88%) |
| CMYK | cmyk(43% 47% 0% 46%) |
| Lab | lab(34.1 15.88 -36) |
| LCH | lch(34.1 39.35 293.8) |
| OKLab | oklab(44.337% 0.0279 -0.10046) |
| OKLCH | oklch(44.337% 0.10426 285.522) |
| Display P3 | color(display-p3 0.30578 0.28709 0.52465) |
| Rec. 2020 | color(rec2020 0.25743 0.23196 0.47337) |
| Adobe RGB | color(a98-rgb 0.30775 0.29181 0.52893) |
| ProPhoto RGB | color(prophoto-rgb 0.27687 0.2337 0.44104) |
| Linear sRGB | color(srgb-linear 0.07819 0.06663 0.25415) |
| XYZ D65 | color(xyz-d65 0.10194 0.08262 0.25103) |
| XYZ D50 | color(xyz-d50 0.09612 0.08057 0.18905) |
| SwiftUI | Color(red: 0.31, green: 0.286, blue: 0.541) |
| UIKit | UIColor(red: 0.31, green: 0.286, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4F498A) |
| Android XML | #4F498A |

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

## Tints

#4f498a, #5e5a96, #6e6ca2, #7f7dae, #908fb9, #a1a1c5, #b3b3d1, #c6c6dc, #d8d9e8, #ececf3

## Shades

#4f498a, #443e77, #383465, #2e2a53, #232042, #191732, #100e22, #070614, #020207, #000001

## Tones

#4f498a, #4f4b85, #4f4c7f, #504d7a, #504e75, #504f6f, #51506a, #515164, #52525f, #535359

## Harmonies

- Complementary: #4f498a, #5c5600
- Split: #4f498a, #744900, #38601f
- Analogous: #4f498a, #28548c, #693f7a
- Triadic: #4f498a, #813e1b, #006545
- Tetradic: #4f498a, #7b3960, #5c5600, #006545
- Square: #4f498a, #833740, #5c5600, #006364
- Monochromatic: #4f498a, #160643, #312866, #706cb0, #9390d7

## Questions about #4f498a

### What color is #4f498a?

#4f498a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 73, 138), in HSL hsl(245.54, 30.81%, 41.37%) and in OKLCH oklch(44.337% 0.10426 285.522).

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

The complementary color of #4f498a is #5c5600. For a calmer combination use the analogous colors #28548c and #693f7a. The triadic partners are #813e1b and #006545.

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

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

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

#4f498a is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.3% and its chroma 0.104.
