# #2f1240 color: Purple Door

#2f1240 is rgb(47, 18, 64) in RGB and oklch(25.189% 0.08674 310.7) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2f1240

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1240 |
| RGB | rgb(47, 18, 64) |
| HSL | hsl(277.83, 56.1%, 16.08%) |
| HSB / HSV | hsv(277.83 71.88% 25.1%) |
| HWB | hwb(277.83 7.06% 74.9%) |
| CMYK | cmyk(27% 72% 0% 75%) |
| Lab | lab(11.8 22.1 -23.5) |
| LCH | lch(11.8 32.26 313.25) |
| OKLab | oklab(25.189% 0.05656 -0.06576) |
| OKLCH | oklch(25.189% 0.08674 310.7) |
| Display P3 | color(display-p3 0.16976 0.0768 0.24167) |
| Rec. 2020 | color(rec2020 0.09823 0.03649 0.17817) |
| Adobe RGB | color(a98-rgb 0.1765 0.09802 0.25472) |
| ProPhoto RGB | color(prophoto-rgb 0.12665 0.07535 0.1798) |
| Linear sRGB | color(srgb-linear 0.02843 0.00605 0.05127) |
| XYZ D65 | color(xyz-d65 0.02314 0.01407 0.05) |
| XYZ D50 | color(xyz-d50 0.02206 0.01377 0.03759) |
| SwiftUI | Color(red: 0.184, green: 0.071, blue: 0.251) |
| UIKit | UIColor(red: 0.184, green: 0.071, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1240) |
| Android XML | #2F1240 |

## 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: 16.39:1
- Contrast with black: 1.28:1

## Tints

#2f1240, #412852, #543d64, #675376, #7c6a89, #90819c, #a699af, #bbb2c3, #d1cbd6, #e8e5eb

## Shades

#2f1240, #270e36, #200a2d, #190724, #12041b, #0c0213, #06010b, #030105, #010001, #000000

## Tones

#2f1240, #2e143d, #2c173a, #2b1937, #2a1a34, #291c31, #271d2e, #261f2b, #252028, #232125

## Harmonies

- Complementary: #2f1240, #122900
- Split: #2f1240, #2a2200, #002d14
- Analogous: #2f1240, #1c1a4a, #3b0b2e
- Triadic: #2f1240, #371a00, #002b29
- Tetradic: #2f1240, #420818, #122900, #002b29
- Square: #2f1240, #420d00, #122900, #002838
- Monochromatic: #2f1240, #0f001c, #120020, #4f3162, #715285

## Questions about #2f1240

### What color is #2f1240?

#2f1240 is soft very dark purple. The closest named color is Purple Door. In RGB it is rgb(47, 18, 64), in HSL hsl(277.83, 56.1%, 16.08%) and in OKLCH oklch(25.189% 0.08674 310.7).

### What colors go well with #2f1240?

The complementary color of #2f1240 is #122900. For a calmer combination use the analogous colors #1c1a4a and #3b0b2e. The triadic partners are #371a00 and #002b29.

### Is white or black text more readable on #2f1240?

White text reads better on #2f1240: white gives a contrast ratio of 16.39:1 and black gives 1.28:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2f1240 a warm or cool color?

#2f1240 is a neutral color. In OKLCH its hue is 311 degrees, its lightness 25.2% and its chroma 0.087.
