# #6877ac color: Midnight Violet

#6877ac is rgb(104, 119, 172) in RGB and oklch(57.892% 0.08378 271.494) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/6877ac

## Formats

| Format | Value |
| --- | --- |
| HEX | #6877ac |
| RGB | rgb(104, 119, 172) |
| HSL | hsl(226.76, 29.06%, 54.12%) |
| HSB / HSV | hsv(226.76 39.53% 67.45%) |
| HWB | hwb(226.76 40.78% 32.55%) |
| CMYK | cmyk(40% 31% 0% 33%) |
| Lab | lab(50.46 4.71 -30.42) |
| LCH | lch(50.46 30.78 278.81) |
| OKLab | oklab(57.892% 0.00218 -0.08376) |
| OKLCH | oklch(57.892% 0.08378 271.494) |
| Display P3 | color(display-p3 0.41904 0.46486 0.65865) |
| Rec. 2020 | color(rec2020 0.38996 0.41375 0.61863) |
| Adobe RGB | color(a98-rgb 0.42402 0.46368 0.66162) |
| ProPhoto RGB | color(prophoto-rgb 0.39998 0.39323 0.5851) |
| Linear sRGB | color(srgb-linear 0.13843 0.18447 0.41254) |
| XYZ D65 | color(xyz-d65 0.19751 0.19115 0.4168) |
| XYZ D50 | color(xyz-d50 0.19044 0.18806 0.31443) |
| SwiftUI | Color(red: 0.408, green: 0.467, blue: 0.675) |
| UIKit | UIColor(red: 0.408, green: 0.467, blue: 0.675, alpha: 1) |
| Flutter / Compose | Color(0xFF6877AC) |
| Android XML | #6877AC |

## Facts

- Closest name: Midnight Violet
- Hue family: Indigo, soft indigo
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.35:1
- Contrast with black: 4.82:1

## Tints

#6877ac, #7684b5, #8491bd, #939fc5, #a1acce, #b0b9d6, #c0c7de, #cfd5e7, #dfe3ef, #eff1f7

## Shades

#6877ac, #596795, #4b577f, #3e4769, #303854, #242a40, #181c2d, #0c101b, #04050b, #000101

## Tones

#6877ac, #6a78a7, #6b78a2, #6d789d, #6f7998, #717993, #73798e, #747989, #767a84, #787a7f

## Harmonies

- Complementary: #6877ac, #8c783c
- Split: #6877ac, #9e6e44, #728248
- Analogous: #6877ac, #4a80a7, #836ea4
- Triadic: #6877ac, #a6675b, #538861
- Tetradic: #6877ac, #976791, #8c783c, #538861
- Square: #6877ac, #a36576, #8c783c, #358a7d
- Monochromatic: #6877ac, #283363, #475487, #8b9bd3, #b0c1fb

## Questions about #6877ac

### What color is #6877ac?

#6877ac is soft indigo. The closest named color is Midnight Violet. In RGB it is rgb(104, 119, 172), in HSL hsl(226.76, 29.06%, 54.12%) and in OKLCH oklch(57.892% 0.08378 271.494).

### What colors go well with #6877ac?

The complementary color of #6877ac is #8c783c. For a calmer combination use the analogous colors #4a80a7 and #836ea4. The triadic partners are #a6675b and #538861.

### Is white or black text more readable on #6877ac?

White text reads better on #6877ac: white gives a contrast ratio of 4.35:1 and black gives 4.82:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #6877ac a warm or cool color?

#6877ac is a cool color. In OKLCH its hue is 271 degrees, its lightness 57.9% and its chroma 0.084.
