# #402b52 color: Violet Purple

#402b52 is rgb(64, 43, 82) in RGB and oklch(33.233% 0.07111 307.779) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/402b52

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b52 |
| RGB | rgb(64, 43, 82) |
| HSL | hsl(272.31, 31.2%, 24.51%) |
| HSB / HSV | hsv(272.31 47.56% 32.16%) |
| HWB | hwb(272.31 16.86% 67.84%) |
| CMYK | cmyk(22% 48% 0% 68%) |
| Lab | lab(21.52 16.58 -20.3) |
| LCH | lch(21.52 26.21 309.25) |
| OKLab | oklab(33.233% 0.04356 -0.0562) |
| OKLCH | oklch(33.233% 0.07111 307.779) |
| Display P3 | color(display-p3 0.23867 0.17206 0.31225) |
| Rec. 2020 | color(rec2020 0.16965 0.11606 0.25056) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.32052) |
| ProPhoto RGB | color(prophoto-rgb 0.18287 0.1386 0.24018) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.08438) |
| XYZ D65 | color(xyz-d65 0.04501 0.03427 0.08407) |
| XYZ D50 | color(xyz-d50 0.04373 0.03384 0.06331) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.322) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.322, alpha: 1) |
| Flutter / Compose | Color(0xFF402B52) |
| Android XML | #402B52 |

## Facts

- Closest name: Violet Purple
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.46:1
- Contrast with black: 1.69:1

## Tints

#402b52, #513e62, #625173, #746583, #877a94, #9a8fa5, #ada4b7, #c1bac9, #d5d1da, #eae8ed

## Shades

#402b52, #362446, #2d1d3b, #24162f, #1b1025, #130a1a, #0b0511, #050208, #010102, #000000

## Tones

#402b52, #3f2c4f, #3e2e4d, #3d2f4a, #3c3047, #3b3144, #3a3241, #39333f, #38343c, #373539

## Harmonies

- Complementary: #402b52, #2b3d10
- Split: #402b52, #403600, #0a4127
- Analogous: #402b52, #2e315a, #4d2643
- Triadic: #402b52, #4e2e02, #00413d
- Tetradic: #402b52, #54252f, #2b3d10, #00413d
- Square: #402b52, #542719, #2b3d10, #003e4e
- Monochromatic: #402b52, #0d001a, #220d31, #614b75, #846d99

## Questions about #402b52

### What color is #402b52?

#402b52 is soft dark purple. The closest named color is Violet Purple. In RGB it is rgb(64, 43, 82), in HSL hsl(272.31, 31.2%, 24.51%) and in OKLCH oklch(33.233% 0.07111 307.779).

### What colors go well with #402b52?

The complementary color of #402b52 is #2b3d10. For a calmer combination use the analogous colors #2e315a and #4d2643. The triadic partners are #4e2e02 and #00413d.

### Is white or black text more readable on #402b52?

White text reads better on #402b52: white gives a contrast ratio of 12.46:1 and black gives 1.69:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #402b52 a warm or cool color?

#402b52 is a neutral color. In OKLCH its hue is 308 degrees, its lightness 33.2% and its chroma 0.071.
