# #504e8d color: Twilight

#504e8d is rgb(80, 78, 141) in RGB and oklch(45.634% 0.1009 283.077) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504e8d

## Formats

| Format | Value |
| --- | --- |
| HEX | #504e8d |
| RGB | rgb(80, 78, 141) |
| HSL | hsl(241.9, 28.77%, 42.94%) |
| HSB / HSV | hsv(241.9 44.68% 55.29%) |
| HWB | hwb(241.9 30.59% 44.71%) |
| CMYK | cmyk(43% 45% 0% 45%) |
| Lab | lab(35.72 13.89 -35.27) |
| LCH | lch(35.72 37.91 291.49) |
| OKLab | oklab(45.634% 0.02283 -0.09828) |
| OKLCH | oklch(45.634% 0.1009 283.077) |
| Display P3 | color(display-p3 0.31235 0.30615 0.53651) |
| Rec. 2020 | color(rec2020 0.26697 0.25074 0.48615) |
| Adobe RGB | color(a98-rgb 0.31544 0.31016 0.54058) |
| ProPhoto RGB | color(prophoto-rgb 0.28598 0.2491 0.45344) |
| Linear sRGB | color(srgb-linear 0.08022 0.07619 0.26636) |
| XYZ D65 | color(xyz-d65 0.1084 0.09077 0.26381) |
| XYZ D50 | color(xyz-d50 0.10243 0.08861 0.19872) |
| SwiftUI | Color(red: 0.314, green: 0.306, blue: 0.553) |
| UIKit | UIColor(red: 0.314, green: 0.306, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF504E8D) |
| Android XML | #504E8D |

## Facts

- Closest name: Twilight
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.46:1
- Contrast with black: 2.82:1

## Tints

#504e8d, #5f5f99, #6f70a4, #8081b0, #9192bb, #a2a4c7, #b4b5d2, #c6c7dd, #d9dae9, #ececf4

## Shades

#504e8d, #44437a, #393867, #2e2d55, #242344, #1a1933, #100f23, #070714, #020207, #000001

## Tones

#504e8d, #504f88, #515183, #51527d, #525378, #535473, #54546d, #545568, #555662, #56565d

## Harmonies

- Complementary: #504e8d, #625900
- Split: #504e8d, #784c00, #406322
- Analogous: #504e8d, #29598d, #6b457f
- Triadic: #504e8d, #844224, #006846
- Tetradic: #504e8d, #7d3e66, #625900, #006846
- Square: #504e8d, #863c47, #625900, #006766
- Monochromatic: #504e8d, #170b45, #322d68, #7171b3, #9495da

## Questions about #504e8d

### What color is #504e8d?

#504e8d is soft dark indigo. The closest named color is Twilight. In RGB it is rgb(80, 78, 141), in HSL hsl(241.9, 28.77%, 42.94%) and in OKLCH oklch(45.634% 0.1009 283.077).

### What colors go well with #504e8d?

The complementary color of #504e8d is #625900. For a calmer combination use the analogous colors #29598d and #6b457f. The triadic partners are #844224 and #006846.

### Is white or black text more readable on #504e8d?

White text reads better on #504e8d: white gives a contrast ratio of 7.46:1 and black gives 2.82:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #504e8d a warm or cool color?

#504e8d is a cool color. In OKLCH its hue is 283 degrees, its lightness 45.6% and its chroma 0.101.
