# #400f42 color: Velvet Cosmos

#400f42 is rgb(64, 15, 66) in RGB and oklch(27.665% 0.10247 326.251) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #400f42 |
| RGB | rgb(64, 15, 66) |
| HSL | hsl(297.65, 62.96%, 15.88%) |
| HSB / HSV | hsv(297.65 77.27% 25.88%) |
| HWB | hwb(297.65 5.88% 74.12%) |
| CMYK | cmyk(3% 77% 0% 74%) |
| Lab | lab(14.48 29.3 -20.43) |
| LCH | lch(14.48 35.72 325.11) |
| OKLab | oklab(27.665% 0.0852 -0.05693) |
| OKLCH | oklch(27.665% 0.10247 326.251) |
| Display P3 | color(display-p3 0.2294 0.07291 0.24988) |
| Rec. 2020 | color(rec2020 0.1473 0.03849 0.18637) |
| Adobe RGB | color(a98-rgb 0.22612 0.08804 0.2617) |
| ProPhoto RGB | color(prophoto-rgb 0.15864 0.0806 0.18631) |
| Linear sRGB | color(srgb-linear 0.05127 0.00478 0.05448) |
| XYZ D65 | color(xyz-d65 0.03268 0.01825 0.05335) |
| XYZ D50 | color(xyz-d50 0.03199 0.01813 0.04008) |
| SwiftUI | Color(red: 0.251, green: 0.059, blue: 0.259) |
| UIKit | UIColor(red: 0.251, green: 0.059, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF400F42) |
| Android XML | #400F42 |

## Facts

- Closest name: Velvet Cosmos
- 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.38:1
- Contrast with black: 1.36:1

## Tints

#400f42, #522653, #643d65, #775377, #8a6a8a, #9d819c, #b099b0, #c3b2c3, #d7cbd7, #ebe5eb

## Shades

#400f42, #360b38, #2d082f, #240525, #1b031c, #130214, #0b010b, #050005, #010001, #000000

## Tones

#400f42, #3e1340, #3c173d, #3a1a3b, #371c38, #351f35, #332133, #302330, #2e252d, #2b262b

## Harmonies

- Complementary: #400f42, #003400
- Split: #400f42, #262c00, #003327
- Analogous: #400f42, #2e1853, #4b0729
- Triadic: #400f42, #382400, #003038
- Tetradic: #400f42, #4f0709, #003400, #003038
- Square: #400f42, #471800, #003400, #002c4c
- Monochromatic: #400f42, #130015, #1e0021, #623064, #865287

## Questions about #400f42

### What color is #400f42?

#400f42 is deep very dark purple. The closest named color is Velvet Cosmos. In RGB it is rgb(64, 15, 66), in HSL hsl(297.65, 62.96%, 15.88%) and in OKLCH oklch(27.665% 0.10247 326.251).

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

The complementary color of #400f42 is #003400. For a calmer combination use the analogous colors #2e1853 and #4b0729. The triadic partners are #382400 and #003038.

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

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

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

#400f42 is a neutral color. In OKLCH its hue is 326 degrees, its lightness 27.7% and its chroma 0.102.
