# #4c4188 color: Moonlight Sonata

#4c4188 is rgb(76, 65, 136) in RGB and oklch(42.349% 0.11407 287.617) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4188 |
| RGB | rgb(76, 65, 136) |
| HSL | hsl(249.3, 35.32%, 39.41%) |
| HSB / HSV | hsv(249.3 52.21% 53.33%) |
| HWB | hwb(249.3 25.49% 46.67%) |
| CMYK | cmyk(44% 52% 0% 47%) |
| Lab | lab(31.56 19.36 -38.84) |
| LCH | lch(31.56 43.4 296.5) |
| OKLab | oklab(42.349% 0.03452 -0.10872) |
| OKLCH | oklch(42.349% 0.11407 287.617) |
| Display P3 | color(display-p3 0.29092 0.25647 0.51609) |
| Rec. 2020 | color(rec2020 0.2401 0.20213 0.46402) |
| Adobe RGB | color(a98-rgb 0.29204 0.26266 0.52087) |
| ProPhoto RGB | color(prophoto-rgb 0.26294 0.20992 0.43176) |
| Linear sRGB | color(srgb-linear 0.07227 0.05286 0.2462) |
| XYZ D65 | color(xyz-d65 0.09314 0.07095 0.24172) |
| XYZ D50 | color(xyz-d50 0.0871 0.0689 0.18195) |
| SwiftUI | Color(red: 0.298, green: 0.255, blue: 0.533) |
| UIKit | UIColor(red: 0.298, green: 0.255, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4188) |
| Android XML | #4C4188 |

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

## Tints

#4c4188, #5b5394, #6b65a0, #7c78ad, #8e8ab9, #9f9dc4, #b2b0d0, #c4c3dc, #d8d7e8, #ebebf3

## Shades

#4c4188, #413775, #362e63, #2c2552, #221c41, #181331, #0f0b22, #060513, #020106, #000001

## Tones

#4c4188, #4c4382, #4c457d, #4c4677, #4c4871, #4c496c, #4c4a66, #4d4b60, #4d4c5a, #4d4d54

## Harmonies

- Complementary: #4c4188, #555100
- Split: #4c4188, #6e4400, #2b5c14
- Analogous: #4c4188, #214d8b, #673776
- Triadic: #4c4188, #7e3603, #006042
- Tetradic: #4c4188, #792f59, #555100, #006042
- Square: #4c4188, #812e36, #555100, #005c60
- Monochromatic: #4c4188, #150040, #2e1f63, #6d63ae, #9087d5

## Questions about #4c4188

### What color is #4c4188?

#4c4188 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 65, 136), in HSL hsl(249.3, 35.32%, 39.41%) and in OKLCH oklch(42.349% 0.11407 287.617).

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

The complementary color of #4c4188 is #555100. For a calmer combination use the analogous colors #214d8b and #673776. The triadic partners are #7e3603 and #006042.

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

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

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

#4c4188 is a cool color. In OKLCH its hue is 288 degrees, its lightness 42.3% and its chroma 0.114.
