# #512978 color: Mystic Nights

#512978 is rgb(81, 41, 120) in RGB and oklch(37.574% 0.13064 304.066) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/512978

## Formats

| Format | Value |
| --- | --- |
| HEX | #512978 |
| RGB | rgb(81, 41, 120) |
| HSL | hsl(270.38, 49.07%, 31.57%) |
| HSB / HSV | hsv(270.38 65.83% 47.06%) |
| HWB | hwb(270.38 16.08% 52.94%) |
| CMYK | cmyk(33% 66% 0% 53%) |
| Lab | lab(25.44 31.24 -38.59) |
| LCH | lch(25.44 49.65 308.99) |
| OKLab | oklab(37.574% 0.07318 -0.10822) |
| OKLCH | oklch(37.574% 0.13064 304.066) |
| Display P3 | color(display-p3 0.29669 0.16867 0.45414) |
| Rec. 2020 | color(rec2020 0.22656 0.1214 0.39792) |
| Adobe RGB | color(a98-rgb 0.28887 0.17695 0.45969) |
| ProPhoto RGB | color(prophoto-rgb 0.24112 0.14967 0.36942) |
| Linear sRGB | color(srgb-linear 0.08228 0.02217 0.18782) |
| XYZ D65 | color(xyz-d65 0.07576 0.04691 0.18276) |
| XYZ D50 | color(xyz-d50 0.07129 0.04559 0.13742) |
| SwiftUI | Color(red: 0.318, green: 0.161, blue: 0.471) |
| UIKit | UIColor(red: 0.318, green: 0.161, blue: 0.471, alpha: 1) |
| Flutter / Compose | Color(0xFF512978) |
| Android XML | #512978 |

## Facts

- Closest name: Mystic Nights
- Hue family: Purple, soft dark purple
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.83:1
- Contrast with black: 1.94:1

## Tints

#512978, #613e86, #715393, #8167a1, #927caf, #a391bc, #b5a6ca, #c7bcd7, #d9d2e4, #ece8f2

## Shades

#512978, #452267, #3a1c57, #2f1548, #240f39, #1a092a, #10051d, #070210, #020105, #000001

## Tones

#512978, #4f2d73, #4e306d, #4c3368, #4a3663, #49385d, #473a58, #463c52, #443e4d, #434047

## Harmonies

- Complementary: #512978, #354a00
- Split: #512978, #523f00, #00531f
- Analogous: #512978, #2e3685, #671e5d
- Triadic: #512978, #663100, #004f46
- Tetradic: #512978, #751639, #354a00, #004f46
- Square: #512978, #771a04, #354a00, #004c5d
- Monochromatic: #512978, #110026, #320254, #734c9d, #966fc4

## Questions about #512978

### What color is #512978?

#512978 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(81, 41, 120), in HSL hsl(270.38, 49.07%, 31.57%) and in OKLCH oklch(37.574% 0.13064 304.066).

### What colors go well with #512978?

The complementary color of #512978 is #354a00. For a calmer combination use the analogous colors #2e3685 and #671e5d. The triadic partners are #663100 and #004f46.

### Is white or black text more readable on #512978?

White text reads better on #512978: white gives a contrast ratio of 10.83:1 and black gives 1.94:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #512978 a warm or cool color?

#512978 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 37.6% and its chroma 0.131.
