# #7e418c color: Nightly Violet

#7e418c is rgb(126, 65, 140) in RGB and oklch(48.2% 0.13272 319.881) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/7e418c

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e418c |
| RGB | rgb(126, 65, 140) |
| HSL | hsl(288.8, 36.59%, 40.2%) |
| HSB / HSV | hsv(288.8 53.57% 54.9%) |
| HWB | hwb(288.8 25.49% 45.1%) |
| CMYK | cmyk(10% 54% 0% 45%) |
| Lab | lab(37.88 35.98 -30.82) |
| LCH | lch(37.88 47.37 319.41) |
| OKLab | oklab(48.2% 0.10149 -0.08552) |
| OKLCH | oklch(48.2% 0.13272 319.881) |
| Display P3 | color(display-p3 0.46253 0.26719 0.53331) |
| Rec. 2020 | color(rec2020 0.38216 0.22424 0.48226) |
| Adobe RGB | color(a98-rgb 0.43984 0.26266 0.5359) |
| ProPhoto RGB | color(prophoto-rgb 0.36719 0.23554 0.4491) |
| Linear sRGB | color(srgb-linear 0.20864 0.05286 0.26225) |
| XYZ D65 | color(xyz-d65 0.15227 0.1011 0.25961) |
| XYZ D50 | color(xyz-d50 0.14886 0.10021 0.19531) |
| SwiftUI | Color(red: 0.494, green: 0.255, blue: 0.549) |
| UIKit | UIColor(red: 0.494, green: 0.255, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF7E418C) |
| Android XML | #7E418C |

## Facts

- Closest name: Nightly Violet
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.95:1
- Contrast with black: 3.02:1

## Tints

#7e418c, #8b5498, #9866a3, #a479af, #b18bba, #be9ec6, #cbb1d1, #d8c4dd, #e5d8e8, #f2ebf4

## Shades

#7e418c, #6d3779, #5c2e67, #4c2555, #3c1c43, #2d1333, #1f0b23, #110514, #050107, #010001

## Tones

#7e418c, #7b4588, #784983, #754c7f, #724f7a, #6f5276, #6c5571, #68576c, #655a68, #625c63

## Harmonies

- Complementary: #7e418c, #2e6f1d
- Split: #7e418c, #646300, #007254
- Analogous: #7e418c, #5f4da3, #923869
- Triadic: #7e418c, #815400, #006e74
- Tetradic: #7e418c, #9b383e, #2e6f1d, #006e74
- Square: #7e418c, #974200, #2e6f1d, #006994
- Monochromatic: #7e418c, #390045, #5a1e68, #a364b2, #ca89d9

## Questions about #7e418c

### What color is #7e418c?

#7e418c is soft dark purple. The closest named color is Nightly Violet. In RGB it is rgb(126, 65, 140), in HSL hsl(288.8, 36.59%, 40.2%) and in OKLCH oklch(48.2% 0.13272 319.881).

### What colors go well with #7e418c?

The complementary color of #7e418c is #2e6f1d. For a calmer combination use the analogous colors #5f4da3 and #923869. The triadic partners are #815400 and #006e74.

### Is white or black text more readable on #7e418c?

White text reads better on #7e418c: white gives a contrast ratio of 6.95:1 and black gives 3.02:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #7e418c a warm or cool color?

#7e418c is a neutral color. In OKLCH its hue is 320 degrees, its lightness 48.2% and its chroma 0.133.
