# #331540 color: Purple Door

#331540 is rgb(51, 21, 64) in RGB and oklch(26.259% 0.08323 314.371) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #331540 |
| RGB | rgb(51, 21, 64) |
| HSL | hsl(281.86, 50.59%, 16.67%) |
| HSB / HSV | hsv(281.86 67.19% 25.1%) |
| HWB | hwb(281.86 8.24% 74.9%) |
| CMYK | cmyk(20% 67% 0% 75%) |
| Lab | lab(13.14 21.71 -21.33) |
| LCH | lch(13.14 30.43 315.52) |
| OKLab | oklab(26.259% 0.05821 -0.0595) |
| OKLCH | oklch(26.259% 0.08323 314.371) |
| Display P3 | color(display-p3 0.18478 0.08864 0.24215) |
| Rec. 2020 | color(rec2020 0.11145 0.04395 0.17871) |
| Adobe RGB | color(a98-rgb 0.1896 0.10808 0.25486) |
| ProPhoto RGB | color(prophoto-rgb 0.13501 0.08266 0.18035) |
| Linear sRGB | color(srgb-linear 0.0331 0.0075 0.05127) |
| XYZ D65 | color(xyz-d65 0.02559 0.0161 0.05027) |
| XYZ D50 | color(xyz-d50 0.02466 0.01585 0.0378) |
| SwiftUI | Color(red: 0.2, green: 0.082, blue: 0.251) |
| UIKit | UIColor(red: 0.2, green: 0.082, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF331540) |
| Android XML | #331540 |

## Facts

- Closest name: Purple Door
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.88:1
- Contrast with black: 1.32:1

## Tints

#331540, #452a52, #583f64, #6b5576, #7f6b88, #93829b, #a89aaf, #bdb3c2, #d3cbd6, #e9e5eb

## Shades

#331540, #2b1136, #230c2d, #1c0824, #14051b, #0d0313, #07020b, #030105, #010001, #000000

## Tones

#331540, #32173d, #30193b, #2f1b38, #2d1d35, #2c1e33, #2b2030, #29212d, #28222a, #262327

## Harmonies

- Complementary: #331540, #112d00
- Split: #331540, #2b2500, #00301a
- Analogous: #331540, #211c4b, #3f0f2e
- Triadic: #331540, #391d00, #002e2e
- Tetradic: #331540, #440d18, #112d00, #002e2e
- Square: #331540, #431200, #112d00, #002b3e
- Monochromatic: #331540, #10001a, #150021, #533462, #755585

## Questions about #331540

### What color is #331540?

#331540 is soft very dark purple. The closest named color is Purple Door. In RGB it is rgb(51, 21, 64), in HSL hsl(281.86, 50.59%, 16.67%) and in OKLCH oklch(26.259% 0.08323 314.371).

### What colors go well with #331540?

The complementary color of #331540 is #112d00. For a calmer combination use the analogous colors #211c4b and #3f0f2e. The triadic partners are #391d00 and #002e2e.

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

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

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

#331540 is a neutral color. In OKLCH its hue is 314 degrees, its lightness 26.3% and its chroma 0.083.
