# #4c498f color: Moonlight Sonata

#4c498f is rgb(76, 73, 143) in RGB and oklch(44.405% 0.1121 282.762) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c498f |
| RGB | rgb(76, 73, 143) |
| HSL | hsl(242.57, 32.41%, 42.35%) |
| HSB / HSV | hsv(242.57 48.95% 56.08%) |
| HWB | hwb(242.57 28.63% 43.92%) |
| CMYK | cmyk(47% 49% 0% 44%) |
| Lab | lab(34.09 16.23 -39.09) |
| LCH | lch(34.09 42.33 292.55) |
| OKLab | oklab(44.405% 0.02476 -0.10933) |
| OKLCH | oklch(44.405% 0.1121 282.762) |
| Display P3 | color(display-p3 0.29599 0.28667 0.54313) |
| Rec. 2020 | color(rec2020 0.25185 0.23158 0.49302) |
| Adobe RGB | color(a98-rgb 0.29972 0.29181 0.54774) |
| ProPhoto RGB | color(prophoto-rgb 0.27649 0.23369 0.45962) |
| Linear sRGB | color(srgb-linear 0.07227 0.06663 0.27468) |
| XYZ D65 | color(xyz-d65 0.1032 0.08285 0.27043) |
| XYZ D50 | color(xyz-d50 0.09648 0.08049 0.20362) |
| SwiftUI | Color(red: 0.298, green: 0.286, blue: 0.561) |
| UIKit | UIColor(red: 0.298, green: 0.286, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4C498F) |
| Android XML | #4C498F |

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

## Tints

#4c498f, #5b5a9b, #6c6ca6, #7c7eb2, #8e8fbd, #a0a1c8, #b2b4d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4c498f, #413e7c, #363469, #2c2a57, #222045, #181734, #0f0e24, #060615, #020207, #000001

## Tones

#4c498f, #4c4b89, #4d4c84, #4d4d7e, #4e4f78, #4f5072, #50516c, #515266, #515260, #52535a

## Harmonies

- Complementary: #4c498f, #605500
- Split: #4c498f, #784700, #3a6014
- Analogous: #4c498f, #1d558f, #693e7f
- Triadic: #4c498f, #853a19, #006641
- Tetradic: #4c498f, #7c3764, #605500, #006641
- Square: #4c498f, #863442, #605500, #006362
- Monochromatic: #4c498f, #150447, #2e276a, #6d6cb5, #9090dd

## Questions about #4c498f

### What color is #4c498f?

#4c498f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 73, 143), in HSL hsl(242.57, 32.41%, 42.35%) and in OKLCH oklch(44.405% 0.1121 282.762).

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

The complementary color of #4c498f is #605500. For a calmer combination use the analogous colors #1d558f and #693e7f. The triadic partners are #853a19 and #006641.

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

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

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

#4c498f is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.4% and its chroma 0.112.
