# #400942 color: Eggplant

#400942 is rgb(64, 9, 66) in RGB and oklch(27.065% 0.11016 326.526) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #400942 |
| RGB | rgb(64, 9, 66) |
| HSL | hsl(297.89, 76%, 14.71%) |
| HSB / HSV | hsv(297.89 86.36% 25.88%) |
| HWB | hwb(297.89 3.53% 74.12%) |
| CMYK | cmyk(3% 86% 0% 74%) |
| Lab | lab(13.63 31.61 -21.77) |
| LCH | lch(13.63 38.38 325.45) |
| OKLab | oklab(27.065% 0.09189 -0.06076) |
| OKLCH | oklch(27.065% 0.11016 326.526) |
| Display P3 | color(display-p3 0.2284 0.05439 0.24951) |
| Rec. 2020 | color(rec2020 0.14522 0.03003 0.18591) |
| Adobe RGB | color(a98-rgb 0.22454 0.06829 0.26151) |
| ProPhoto RGB | color(prophoto-rgb 0.157 0.07286 0.1858) |
| Linear sRGB | color(srgb-linear 0.05127 0.00273 0.05448) |
| XYZ D65 | color(xyz-d65 0.03195 0.01679 0.0531) |
| XYZ D50 | color(xyz-d50 0.0312 0.01667 0.03988) |
| SwiftUI | Color(red: 0.251, green: 0.035, blue: 0.259) |
| UIKit | UIColor(red: 0.251, green: 0.035, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF400942) |
| Android XML | #400942 |

## Facts

- Closest name: Eggplant
- Hue family: Purple, deep very dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.72:1
- Contrast with black: 1.34:1

## Tints

#400942, #522353, #653a65, #775077, #8a688a, #9d7f9d, #b098b0, #c4b1c3, #d7cad7, #ebe4eb

## Shades

#400942, #360738, #2d052f, #240325, #1b021c, #130114, #0b010b, #050005, #010001, #000000

## Tones

#400942, #3e0f3f, #3c133d, #39173a, #371a37, #341c35, #321f32, #2f212f, #2c232c, #2a2529

## Harmonies

- Complementary: #400942, #003300
- Split: #400942, #252b00, #003126
- Analogous: #400942, #2e1455, #4c0028
- Triadic: #400942, #362300, #002f36
- Tetradic: #400942, #500004, #003300, #002f36
- Square: #400942, #451700, #003300, #002b4a
- Monochromatic: #400942, #130014, #1c001f, #622c64, #874e87

## Questions about #400942

### What color is #400942?

#400942 is deep very dark purple. The closest named color is Eggplant. In RGB it is rgb(64, 9, 66), in HSL hsl(297.89, 76%, 14.71%) and in OKLCH oklch(27.065% 0.11016 326.526).

### What colors go well with #400942?

The complementary color of #400942 is #003300. For a calmer combination use the analogous colors #2e1455 and #4c0028. The triadic partners are #362300 and #002f36.

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

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

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

#400942 is a neutral color. In OKLCH its hue is 327 degrees, its lightness 27.1% and its chroma 0.11.
