# #400b42 color: Eggplant

#400b42 is rgb(64, 11, 66) in RGB and oklch(27.249% 0.10779 326.442) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/400b42

## Formats

| Format | Value |
| --- | --- |
| HEX | #400b42 |
| RGB | rgb(64, 11, 66) |
| HSL | hsl(297.82, 71.43%, 15.1%) |
| HSB / HSV | hsv(297.82 83.33% 25.88%) |
| HWB | hwb(297.82 4.31% 74.12%) |
| CMYK | cmyk(3% 83% 0% 74%) |
| Lab | lab(13.89 30.9 -21.36) |
| LCH | lch(13.89 37.56 325.35) |
| OKLab | oklab(27.249% 0.08983 -0.05958) |
| OKLCH | oklch(27.249% 0.10779 326.442) |
| Display P3 | color(display-p3 0.2287 0.0604 0.24962) |
| Rec. 2020 | color(rec2020 0.14585 0.03257 0.18605) |
| Adobe RGB | color(a98-rgb 0.22502 0.07489 0.26156) |
| ProPhoto RGB | color(prophoto-rgb 0.1575 0.07525 0.18595) |
| Linear sRGB | color(srgb-linear 0.05127 0.00335 0.05448) |
| XYZ D65 | color(xyz-d65 0.03217 0.01723 0.05318) |
| XYZ D50 | color(xyz-d50 0.03144 0.01711 0.03994) |
| SwiftUI | Color(red: 0.251, green: 0.043, blue: 0.259) |
| UIKit | UIColor(red: 0.251, green: 0.043, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF400B42) |
| Android XML | #400B42 |

## 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.62:1
- Contrast with black: 1.34:1

## Tints

#400b42, #522453, #653b65, #775177, #8a688a, #9d809d, #b098b0, #c3b1c3, #d7cbd7, #ebe5eb

## Shades

#400b42, #360838, #2d062f, #240425, #1b021c, #130114, #0b010b, #050005, #010001, #000000

## Tones

#400b42, #3e103f, #3c143d, #39173a, #371a38, #351d35, #321f32, #2f212f, #2d232d, #2a252a

## Harmonies

- Complementary: #400b42, #003300
- Split: #400b42, #252b00, #003226
- Analogous: #400b42, #2e1554, #4b0228
- Triadic: #400b42, #372300, #002f37
- Tetradic: #400b42, #500205, #003300, #002f37
- Square: #400b42, #451700, #003300, #002b4a
- Monochromatic: #400b42, #130014, #1d001f, #622d64, #864f87

## Questions about #400b42

### What color is #400b42?

#400b42 is deep very dark purple. The closest named color is Eggplant. In RGB it is rgb(64, 11, 66), in HSL hsl(297.82, 71.43%, 15.1%) and in OKLCH oklch(27.249% 0.10779 326.442).

### What colors go well with #400b42?

The complementary color of #400b42 is #003300. For a calmer combination use the analogous colors #2e1554 and #4b0228. The triadic partners are #372300 and #002f37.

### Is white or black text more readable on #400b42?

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

### Is #400b42 a warm or cool color?

#400b42 is a neutral color. In OKLCH its hue is 326 degrees, its lightness 27.2% and its chroma 0.108.
