# #402b7e color: Clear Purple

#402b7e is rgb(64, 43, 126) in RGB and oklch(36.445% 0.13349 289.765) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b7e |
| RGB | rgb(64, 43, 126) |
| HSL | hsl(255.18, 49.11%, 33.14%) |
| HSB / HSV | hsv(255.18 65.87% 49.41%) |
| HWB | hwb(255.18 16.86% 50.59%) |
| CMYK | cmyk(49% 66% 0% 51%) |
| Lab | lab(24.12 26.85 -44.64) |
| LCH | lch(24.12 52.09 301.03) |
| OKLab | oklab(36.445% 0.04514 -0.12563) |
| OKLCH | oklch(36.445% 0.13349 289.765) |
| Display P3 | color(display-p3 0.23867 0.17206 0.47611) |
| Rec. 2020 | color(rec2020 0.18406 0.12111 0.42114) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.48217) |
| ProPhoto RGB | color(prophoto-rgb 0.21798 0.1478 0.39077) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.20864) |
| XYZ D65 | color(xyz-d65 0.06744 0.04324 0.20219) |
| XYZ D50 | color(xyz-d50 0.06151 0.04137 0.15205) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.494) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF402B7E) |
| Android XML | #402B7E |

## 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.26:1
- Contrast with black: 1.86:1

## Tints

#402b7e, #50408c, #605599, #7269a6, #857eb3, #9892c0, #aba8cd, #c0bdda, #d4d3e6, #e9e9f3

## Shades

#402b7e, #36246d, #2d1d5c, #24164c, #1b103c, #130a2d, #0b051f, #050211, #010105, #000001

## Tones

#402b7e, #3f2e78, #3f3172, #3e346b, #3e3665, #3e385f, #3e3959, #3e3b52, #3e3c4c, #3e3d45

## Harmonies

- Complementary: #402b7e, #424200
- Split: #402b7e, #583700, #034d00
- Analogous: #402b7e, #093983, #5b1e69
- Triadic: #402b7e, #6d2300, #004d36
- Tetradic: #402b7e, #6d1348, #424200, #004d36
- Square: #402b7e, #750f1f, #424200, #004a4f
- Monochromatic: #402b7e, #0a0027, #240359, #5f4ea4, #8172cb

## Questions about #402b7e

### What color is #402b7e?

#402b7e is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 43, 126), in HSL hsl(255.18, 49.11%, 33.14%) and in OKLCH oklch(36.445% 0.13349 289.765).

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

The complementary color of #402b7e is #424200. For a calmer combination use the analogous colors #093983 and #5b1e69. The triadic partners are #6d2300 and #004d36.

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

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

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

#402b7e is a cool color. In OKLCH its hue is 290 degrees, its lightness 36.4% and its chroma 0.133.
