# #402c76 color: Clear Purple

#402c76 is rgb(64, 44, 118) in RGB and oklch(35.958% 0.12108 291.582) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c76 |
| RGB | rgb(64, 44, 118) |
| HSL | hsl(256.22, 45.68%, 31.76%) |
| HSB / HSV | hsv(256.22 62.71% 46.27%) |
| HWB | hwb(256.22 17.25% 53.73%) |
| CMYK | cmyk(46% 63% 0% 54%) |
| Lab | lab(23.82 24.25 -40.06) |
| LCH | lch(23.82 46.83 301.18) |
| OKLab | oklab(35.958% 0.04454 -0.11259) |
| OKLCH | oklch(35.958% 0.12108 291.582) |
| Display P3 | color(display-p3 0.23915 0.17578 0.44629) |
| Rec. 2020 | color(rec2020 0.18184 0.12333 0.38975) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.45239) |
| ProPhoto RGB | color(prophoto-rgb 0.21128 0.14812 0.36206) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.18116) |
| XYZ D65 | color(xyz-d65 0.06285 0.04199 0.1762) |
| XYZ D50 | color(xyz-d50 0.05798 0.04045 0.13253) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.463) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.463, alpha: 1) |
| Flutter / Compose | Color(0xFF402C76) |
| Android XML | #402C76 |

## 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.41:1
- Contrast with black: 1.84:1

## Tints

#402c76, #504184, #615592, #7369a0, #857dae, #9892bb, #aca7c9, #c0bdd6, #d5d2e4, #eae9f2

## Shades

#402c76, #362566, #2d1e56, #241747, #1b1138, #130a29, #0b051c, #05020f, #010105, #000001

## Tones

#402c76, #3f2f70, #3f316b, #3e3365, #3e3560, #3d375a, #3d3855, #3d3a4f, #3d3b49, #3d3c43

## Harmonies

- Complementary: #402c76, #3f4100
- Split: #402c76, #553600, #064b00
- Analogous: #402c76, #15387b, #592162
- Triadic: #402c76, #6a2400, #004c37
- Tetradic: #402c76, #681844, #3f4100, #004c37
- Square: #402c76, #6f171f, #3f4100, #00494f
- Monochromatic: #402c76, #090025, #240752, #604e9b, #8271c2

## Questions about #402c76

### What color is #402c76?

#402c76 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 44, 118), in HSL hsl(256.22, 45.68%, 31.76%) and in OKLCH oklch(35.958% 0.12108 291.582).

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

The complementary color of #402c76 is #3f4100. For a calmer combination use the analogous colors #15387b and #592162. The triadic partners are #6a2400 and #004c37.

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

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

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

#402c76 is a cool color. In OKLCH its hue is 292 degrees, its lightness 36% and its chroma 0.121.
