# #7b408c color: Nightly Violet

#7b408c is rgb(123, 64, 140) in RGB and oklch(47.664% 0.13285 318.252) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7b408c |
| RGB | rgb(123, 64, 140) |
| HSL | hsl(286.58, 37.25%, 40%) |
| HSB / HSV | hsv(286.58 54.29% 54.9%) |
| HWB | hwb(286.58 25.1% 45.1%) |
| CMYK | cmyk(12% 54% 0% 45%) |
| Lab | lab(37.25 35.53 -31.85) |
| LCH | lch(37.25 47.72 318.13) |
| OKLab | oklab(47.664% 0.09911 -0.08846) |
| OKLCH | oklch(47.664% 0.13285 318.252) |
| Display P3 | color(display-p3 0.45168 0.26278 0.53301) |
| Rec. 2020 | color(rec2020 0.37233 0.21935 0.48192) |
| Adobe RGB | color(a98-rgb 0.42996 0.25904 0.53584) |
| ProPhoto RGB | color(prophoto-rgb 0.35955 0.23121 0.44871) |
| Linear sRGB | color(srgb-linear 0.19807 0.05127 0.26225) |
| XYZ D65 | color(xyz-d65 0.14735 0.09772 0.25922) |
| XYZ D50 | color(xyz-d50 0.14364 0.09672 0.19501) |
| SwiftUI | Color(red: 0.482, green: 0.251, blue: 0.549) |
| UIKit | UIColor(red: 0.482, green: 0.251, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF7B408C) |
| Android XML | #7B408C |

## 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: 7.11:1
- Contrast with black: 2.95:1

## Tints

#7b408c, #885398, #9565a3, #a278af, #af8bba, #bc9dc6, #cab1d1, #d7c4dd, #e4d7e8, #f2ebf4

## Shades

#7b408c, #6a3679, #5a2d67, #4a2455, #3a1b43, #2c1333, #1e0b23, #100514, #050107, #010001

## Tones

#7b408c, #784487, #754783, #724b7e, #704e7a, #6d5175, #695370, #66566b, #635867, #605a62

## Harmonies

- Complementary: #7b408c, #316d17
- Split: #7b408c, #646100, #007150
- Analogous: #7b408c, #5b4ca2, #903769
- Triadic: #7b408c, #805200, #006d71
- Tetradic: #7b408c, #99363f, #316d17, #006d71
- Square: #7b408c, #953f00, #316d17, #00678f
- Monochromatic: #7b408c, #360045, #581d68, #a063b2, #c688d9

## Questions about #7b408c

### What color is #7b408c?

#7b408c is soft dark purple. The closest named color is Nightly Violet. In RGB it is rgb(123, 64, 140), in HSL hsl(286.58, 37.25%, 40%) and in OKLCH oklch(47.664% 0.13285 318.252).

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

The complementary color of #7b408c is #316d17. For a calmer combination use the analogous colors #5b4ca2 and #903769. The triadic partners are #805200 and #006d71.

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

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

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

#7b408c is a neutral color. In OKLCH its hue is 318 degrees, its lightness 47.7% and its chroma 0.133.
