# #402048 color: Purple Void

#402048 is rgb(64, 32, 72) in RGB and oklch(30.547% 0.0795 319.337) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402048 |
| RGB | rgb(64, 32, 72) |
| HSL | hsl(288, 38.46%, 20.39%) |
| HSB / HSV | hsv(288 55.56% 28.24%) |
| HWB | hwb(288 12.55% 71.76%) |
| CMYK | cmyk(11% 56% 0% 72%) |
| Lab | lab(18.23 21.4 -18.69) |
| LCH | lch(18.23 28.41 318.86) |
| OKLab | oklab(30.547% 0.06031 -0.0518) |
| OKLCH | oklch(30.547% 0.0795 319.337) |
| Display P3 | color(display-p3 0.23407 0.1317 0.27379) |
| Rec. 2020 | color(rec2020 0.15817 0.07902 0.21099) |
| Adobe RGB | color(a98-rgb 0.23343 0.14561 0.28393) |
| ProPhoto RGB | color(prophoto-rgb 0.16959 0.11216 0.20687) |
| Linear sRGB | color(srgb-linear 0.05127 0.01444 0.0648) |
| XYZ D65 | color(xyz-d65 0.038 0.02591 0.06431) |
| XYZ D50 | color(xyz-d50 0.03719 0.02569 0.04839) |
| SwiftUI | Color(red: 0.251, green: 0.125, blue: 0.282) |
| UIKit | UIColor(red: 0.251, green: 0.125, blue: 0.282, alpha: 1) |
| Flutter / Compose | Color(0xFF402048) |
| Android XML | #402048 |

## Facts

- Closest name: Purple Void
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.83:1
- Contrast with black: 1.52:1

## Tints

#402048, #513459, #63486a, #755d7c, #88738d, #9b89a0, #ae9fb2, #c2b6c5, #d6ced8, #eae6eb

## Shades

#402048, #361a3d, #2d1533, #240f29, #1b0a1f, #130616, #0b030d, #050106, #010002, #000000

## Tones

#402048, #3e2246, #3d2443, #3b2641, #3a273e, #38293c, #362a39, #352b37, #332d34, #312e32

## Harmonies

- Complementary: #402048, #17380d
- Split: #402048, #333200, #003b28
- Analogous: #402048, #2f2754, #4b1c35
- Triadic: #402048, #442900, #00393d
- Tetradic: #402048, #501b1e, #17380d, #00393d
- Square: #402048, #4e2002, #17380d, #00354f
- Monochromatic: #402048, #110018, #210328, #61406a, #85618e

## Questions about #402048

### What color is #402048?

#402048 is soft dark purple. The closest named color is Purple Void. In RGB it is rgb(64, 32, 72), in HSL hsl(288, 38.46%, 20.39%) and in OKLCH oklch(30.547% 0.0795 319.337).

### What colors go well with #402048?

The complementary color of #402048 is #17380d. For a calmer combination use the analogous colors #2f2754 and #4b1c35. The triadic partners are #442900 and #00393d.

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

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

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

#402048 is a neutral color. In OKLCH its hue is 319 degrees, its lightness 30.5% and its chroma 0.08.
