# #402b76 color: Clear Purple

#402b76 is rgb(64, 43, 118) in RGB and oklch(35.785% 0.12258 291.927) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b76 |
| RGB | rgb(64, 43, 118) |
| HSL | hsl(256.8, 46.58%, 31.57%) |
| HSB / HSV | hsv(256.8 63.56% 46.27%) |
| HWB | hwb(256.8 16.86% 53.73%) |
| CMYK | cmyk(46% 64% 0% 54%) |
| Lab | lab(23.57 24.85 -40.46) |
| LCH | lch(23.57 47.48 301.56) |
| OKLab | oklab(35.785% 0.04578 -0.11372) |
| OKLCH | oklch(35.785% 0.12258 291.927) |
| Display P3 | color(display-p3 0.23867 0.17206 0.4462) |
| Rec. 2020 | color(rec2020 0.18095 0.12 0.38962) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.45234) |
| ProPhoto RGB | color(prophoto-rgb 0.21062 0.14581 0.36191) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.18116) |
| XYZ D65 | color(xyz-d65 0.06248 0.04126 0.17607) |
| XYZ D50 | color(xyz-d50 0.05758 0.03971 0.13243) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.463) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.463, alpha: 1) |
| Flutter / Compose | Color(0xFF402B76) |
| Android XML | #402B76 |

## 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.51:1
- Contrast with black: 1.83:1

## Tints

#402b76, #504084, #615492, #7368a0, #857dae, #9892bb, #aca7c9, #c0bcd7, #d5d2e4, #eae8f2

## Shades

#402b76, #362466, #2d1d56, #241647, #1b1038, #130a29, #0b051c, #05020f, #010105, #000001

## Tones

#402b76, #3f2e70, #3f306b, #3e3365, #3e3560, #3d365a, #3d3854, #3d394f, #3d3a49, #3c3b43

## Harmonies

- Complementary: #402b76, #3f4100
- Split: #402b76, #543600, #024b00
- Analogous: #402b76, #15387b, #592062
- Triadic: #402b76, #692400, #004b37
- Tetradic: #402b76, #681743, #3f4100, #004b37
- Square: #402b76, #6f161d, #3f4100, #00484e
- Monochromatic: #402b76, #0a0024, #240552, #604d9b, #8270c2

## Questions about #402b76

### What color is #402b76?

#402b76 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 43, 118), in HSL hsl(256.8, 46.58%, 31.57%) and in OKLCH oklch(35.785% 0.12258 291.927).

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

The complementary color of #402b76 is #3f4100. For a calmer combination use the analogous colors #15387b and #592062. The triadic partners are #692400 and #004b37.

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

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

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

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