# #402b74 color: Clear Purple

#402b74 is rgb(64, 43, 116) in RGB and oklch(35.625% 0.11982 292.514) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b74 |
| RGB | rgb(64, 43, 116) |
| HSL | hsl(257.26, 45.91%, 31.18%) |
| HSB / HSV | hsv(257.26 62.93% 45.49%) |
| HWB | hwb(257.26 16.86% 54.51%) |
| CMYK | cmyk(45% 63% 0% 55%) |
| Lab | lab(23.44 24.36 -39.4) |
| LCH | lch(23.44 46.32 301.73) |
| OKLab | oklab(35.625% 0.04588 -0.11069) |
| OKLCH | oklch(35.625% 0.11982 292.514) |
| Display P3 | color(display-p3 0.23867 0.17206 0.43873) |
| Rec. 2020 | color(rec2020 0.18021 0.11974 0.38178) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.44491) |
| ProPhoto RGB | color(prophoto-rgb 0.20885 0.14533 0.35478) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.17465) |
| XYZ D65 | color(xyz-d65 0.0613 0.04079 0.16988) |
| XYZ D50 | color(xyz-d50 0.05665 0.03931 0.12777) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.455) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF402B74) |
| Android XML | #402B74 |

## 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.57:1
- Contrast with black: 1.82:1

## Tints

#402b74, #504082, #615490, #73689e, #857dac, #9891ba, #aca7c8, #c0bcd6, #d5d2e4, #eae8f1

## Shades

#402b74, #362464, #2d1d54, #241645, #1b1037, #130a29, #0b051b, #05020f, #010105, #000001

## Tones

#402b74, #3f2e6f, #3f3069, #3e3264, #3e345e, #3d3659, #3d3753, #3c394e, #3c3a48, #3c3b42

## Harmonies

- Complementary: #402b74, #3e4000
- Split: #402b74, #533600, #024a01
- Analogous: #402b74, #17377a, #582060
- Triadic: #402b74, #672400, #004b37
- Tetradic: #402b74, #671842, #3e4000, #004b37
- Square: #402b74, #6e171d, #3e4000, #00484e
- Monochromatic: #402b74, #0a0024, #240650, #604d99, #8270c0

## Questions about #402b74

### What color is #402b74?

#402b74 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 43, 116), in HSL hsl(257.26, 45.91%, 31.18%) and in OKLCH oklch(35.625% 0.11982 292.514).

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

The complementary color of #402b74 is #3e4000. For a calmer combination use the analogous colors #17377a and #582060. The triadic partners are #672400 and #004b37.

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

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

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

#402b74 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.6% and its chroma 0.12.
