# #340f4b color: Purple Door

#340f4b is rgb(52, 15, 75) in RGB and oklch(26.427% 0.1065 308.983) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/340f4b

## Formats

| Format | Value |
| --- | --- |
| HEX | #340f4b |
| RGB | rgb(52, 15, 75) |
| HSL | hsl(277, 66.67%, 17.65%) |
| HSB / HSV | hsv(277 80% 29.41%) |
| HWB | hwb(277 5.88% 70.59%) |
| CMYK | cmyk(31% 80% 0% 71%) |
| Lab | lab(12.82 27.4 -29.49) |
| LCH | lch(12.82 40.25 312.89) |
| OKLab | oklab(26.427% 0.067 -0.08278) |
| OKLCH | oklch(26.427% 0.1065 308.983) |
| Display P3 | color(display-p3 0.18663 0.06804 0.28277) |
| Rec. 2020 | color(rec2020 0.11405 0.03404 0.21977) |
| Adobe RGB | color(a98-rgb 0.18996 0.08804 0.29386) |
| ProPhoto RGB | color(prophoto-rgb 0.1416 0.07539 0.21343) |
| Linear sRGB | color(srgb-linear 0.03434 0.00478 0.07036) |
| XYZ D65 | color(xyz-d65 0.02857 0.0158 0.06811) |
| XYZ D50 | color(xyz-d50 0.02688 0.01533 0.05119) |
| SwiftUI | Color(red: 0.204, green: 0.059, blue: 0.294) |
| UIKit | UIColor(red: 0.204, green: 0.059, blue: 0.294, alpha: 1) |
| Flutter / Compose | Color(0xFF340F4B) |
| Android XML | #340F4B |

## Facts

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

## Tints

#340f4b, #46275c, #583d6e, #6b537f, #7f6a91, #9381a3, #a899b5, #bdb2c7, #d3cbda, #e9e5ec

## Shades

#340f4b, #2c0b40, #240835, #1c052b, #150321, #0e0217, #07010e, #030006, #010002, #000000

## Tones

#340f4b, #331347, #311644, #301940, #2e1b3c, #2d1d39, #2b1f35, #2a2131, #28222d, #262429

## Harmonies

- Complementary: #340f4b, #162d00
- Split: #340f4b, #2e2500, #003114
- Analogous: #340f4b, #1d1957, #430536
- Triadic: #340f4b, #3c1c00, #002e2b
- Tetradic: #340f4b, #4b001a, #162d00, #002e2b
- Square: #340f4b, #4c0400, #162d00, #002c3b
- Monochromatic: #340f4b, #0f001d, #150027, #54306e, #765292

## Questions about #340f4b

### What color is #340f4b?

#340f4b is deep very dark purple. The closest named color is Purple Door. In RGB it is rgb(52, 15, 75), in HSL hsl(277, 66.67%, 17.65%) and in OKLCH oklch(26.427% 0.1065 308.983).

### What colors go well with #340f4b?

The complementary color of #340f4b is #162d00. For a calmer combination use the analogous colors #1d1957 and #430536. The triadic partners are #3c1c00 and #002e2b.

### Is white or black text more readable on #340f4b?

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

### Is #340f4b a warm or cool color?

#340f4b is a neutral color. In OKLCH its hue is 309 degrees, its lightness 26.4% and its chroma 0.106.
