# #402c74 color: Clear Purple

#402c74 is rgb(64, 44, 116) in RGB and oklch(35.8% 0.11829 292.159) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c74 |
| RGB | rgb(64, 44, 116) |
| HSL | hsl(256.67, 45%, 31.37%) |
| HSB / HSV | hsv(256.67 62.07% 45.49%) |
| HWB | hwb(256.67 17.25% 54.51%) |
| CMYK | cmyk(45% 62% 0% 55%) |
| Lab | lab(23.69 23.75 -39) |
| LCH | lch(23.69 45.67 301.34) |
| OKLab | oklab(35.8% 0.04462 -0.10955) |
| OKLCH | oklch(35.8% 0.11829 292.159) |
| Display P3 | color(display-p3 0.23915 0.17578 0.43882) |
| Rec. 2020 | color(rec2020 0.1811 0.12307 0.3819) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.44496) |
| ProPhoto RGB | color(prophoto-rgb 0.20951 0.14765 0.35494) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.17465) |
| XYZ D65 | color(xyz-d65 0.06167 0.04152 0.17) |
| XYZ D50 | color(xyz-d50 0.05705 0.04005 0.12787) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.455) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF402C74) |
| Android XML | #402C74 |

## Facts

- Closest name: Clear Purple
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 11.47:1
- Contrast with black: 1.83:1

## Tints

#402c74, #504082, #615490, #73699e, #857dac, #9892ba, #aca7c8, #c0bcd6, #d5d2e3, #eae8f1

## Shades

#402c74, #362564, #2d1e54, #241745, #1b1137, #130a29, #0b051b, #05020f, #010105, #000001

## Tones

#402c74, #3f2f6f, #3f3169, #3e3364, #3e355e, #3d3759, #3d3854, #3d394e, #3d3b48, #3d3c42

## Harmonies

- Complementary: #402c74, #3f4100
- Split: #402c74, #543600, #064b02
- Analogous: #402c74, #173879, #582160
- Triadic: #402c74, #682400, #004b37
- Tetradic: #402c74, #671943, #3f4100, #004b37
- Square: #402c74, #6e181e, #3f4100, #00484f
- Monochromatic: #402c74, #0a0024, #240850, #604e99, #8271c0

## Questions about #402c74

### What color is #402c74?

#402c74 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 44, 116), in HSL hsl(256.67, 45%, 31.37%) and in OKLCH oklch(35.8% 0.11829 292.159).

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

The complementary color of #402c74 is #3f4100. For a calmer combination use the analogous colors #173879 and #582160. The triadic partners are #682400 and #004b37.

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

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

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

#402c74 is a cool color. In OKLCH its hue is 292 degrees, its lightness 35.8% and its chroma 0.118.
