# #4c498a color: Moonlight Sonata

#4c498a is rgb(76, 73, 138) in RGB and oklch(44.078% 0.1046 283.317) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c498a |
| RGB | rgb(76, 73, 138) |
| HSL | hsl(242.77, 30.81%, 41.37%) |
| HSB / HSV | hsv(242.77 47.1% 54.12%) |
| HWB | hwb(242.77 28.63% 45.88%) |
| CMYK | cmyk(45% 47% 0% 46%) |
| Lab | lab(33.83 14.97 -36.46) |
| LCH | lch(33.83 39.41 292.32) |
| OKLab | oklab(44.078% 0.02409 -0.10178) |
| OKLCH | oklch(44.078% 0.1046 283.317) |
| Display P3 | color(display-p3 0.29599 0.28667 0.52455) |
| Rec. 2020 | color(rec2020 0.25007 0.23108 0.47326) |
| Adobe RGB | color(a98-rgb 0.29972 0.29181 0.52893) |
| ProPhoto RGB | color(prophoto-rgb 0.27198 0.23266 0.44093) |
| Linear sRGB | color(srgb-linear 0.07227 0.06663 0.25415) |
| XYZ D65 | color(xyz-d65 0.0995 0.08136 0.25092) |
| XYZ D50 | color(xyz-d50 0.09354 0.07925 0.18896) |
| SwiftUI | Color(red: 0.298, green: 0.286, blue: 0.541) |
| UIKit | UIColor(red: 0.298, green: 0.286, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4C498A) |
| Android XML | #4C498A |

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

## Tints

#4c498a, #5b5a96, #6c6ca2, #7c7dae, #8e8fb9, #a0a1c5, #b2b3d1, #c5c6dc, #d8d9e8, #ebecf4

## Shades

#4c498a, #413e77, #363465, #2c2a53, #222042, #181732, #0f0e22, #060614, #020207, #000001

## Tones

#4c498a, #4c4a85, #4d4c7f, #4d4d7a, #4e4e75, #4f4f6f, #4f506a, #505164, #51515e, #525258

## Harmonies

- Complementary: #4c498a, #5e5400
- Split: #4c498a, #754700, #3a5e1b
- Analogous: #4c498a, #23548b, #673f7b
- Triadic: #4c498a, #813c1d, #006442
- Tetradic: #4c498a, #793861, #5e5400, #006442
- Square: #4c498a, #823642, #5e5400, #006261
- Monochromatic: #4c498a, #140543, #2e2865, #6d6cb0, #9090d7

## Questions about #4c498a

### What color is #4c498a?

#4c498a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 73, 138), in HSL hsl(242.77, 30.81%, 41.37%) and in OKLCH oklch(44.078% 0.1046 283.317).

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

The complementary color of #4c498a is #5e5400. For a calmer combination use the analogous colors #23548b and #673f7b. The triadic partners are #813c1d and #006442.

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

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

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

#4c498a is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.1% and its chroma 0.105.
