# #4b428a color: Moonlight Sonata

#4b428a is rgb(75, 66, 138) in RGB and oklch(42.591% 0.11552 286.112) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b428a |
| RGB | rgb(75, 66, 138) |
| HSL | hsl(247.5, 35.29%, 40%) |
| HSB / HSV | hsv(247.5 52.17% 54.12%) |
| HWB | hwb(247.5 25.88% 45.88%) |
| CMYK | cmyk(46% 52% 0% 46%) |
| Lab | lab(31.83 18.95 -39.63) |
| LCH | lch(31.83 43.93 295.56) |
| OKLab | oklab(42.591% 0.03206 -0.11098) |
| OKLCH | oklch(42.591% 0.11552 286.112) |
| Display P3 | color(display-p3 0.28822 0.26009 0.52362) |
| Rec. 2020 | color(rec2020 0.23943 0.20559 0.47205) |
| Adobe RGB | color(a98-rgb 0.29023 0.26629 0.52845) |
| ProPhoto RGB | color(prophoto-rgb 0.26398 0.21272 0.43937) |
| Linear sRGB | color(srgb-linear 0.07036 0.05448 0.25415) |
| XYZ D65 | color(xyz-d65 0.09437 0.07227 0.24943) |
| XYZ D50 | color(xyz-d50 0.08803 0.07012 0.18776) |
| SwiftUI | Color(red: 0.294, green: 0.259, blue: 0.541) |
| UIKit | UIColor(red: 0.294, green: 0.259, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4B428A) |
| Android XML | #4B428A |

## 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.59:1
- Contrast with black: 2.45:1

## Tints

#4b428a, #5a5496, #6b66a2, #7b79ae, #8d8bba, #9f9ec6, #b1b1d1, #c4c4dd, #d7d7e8, #ebebf4

## Shades

#4b428a, #403877, #352f65, #2b2553, #211c42, #171432, #0e0b22, #060514, #020107, #000001

## Tones

#4b428a, #4b4484, #4b467f, #4b4779, #4c4973, #4c4a6d, #4c4b67, #4d4c61, #4d4d5b, #4e4e55

## Harmonies

- Complementary: #4b428a, #575100
- Split: #4b428a, #704400, #2e5c10
- Analogous: #4b428a, #1d4e8c, #673778
- Triadic: #4b428a, #7f3506, #006140
- Tetradic: #4b428a, #79305c, #575100, #006140
- Square: #4b428a, #822e38, #575100, #005d5f
- Monochromatic: #4b428a, #140042, #2d2065, #6c65b0, #8e89d7

## Questions about #4b428a

### What color is #4b428a?

#4b428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 66, 138), in HSL hsl(247.5, 35.29%, 40%) and in OKLCH oklch(42.591% 0.11552 286.112).

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

The complementary color of #4b428a is #575100. For a calmer combination use the analogous colors #1d4e8c and #673778. The triadic partners are #7f3506 and #006140.

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

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

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

#4b428a is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.6% and its chroma 0.116.
