# #402a64 color: Violet Indigo

#402a64 is rgb(64, 42, 100) in RGB and oklch(34.232% 0.09895 298.546) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402a64 |
| RGB | rgb(64, 42, 100) |
| HSL | hsl(262.76, 40.85%, 27.84%) |
| HSB / HSV | hsv(262.76 58% 39.22%) |
| HWB | hwb(262.76 16.47% 60.78%) |
| CMYK | cmyk(36% 58% 0% 61%) |
| Lab | lab(22.21 21.15 -31.07) |
| LCH | lch(22.21 37.59 304.24) |
| OKLab | oklab(34.232% 0.04728 -0.08692) |
| OKLCH | oklch(34.232% 0.09895 298.546) |
| Display P3 | color(display-p3 0.2382 0.16835 0.37894) |
| Rec. 2020 | color(rec2020 0.17385 0.11448 0.31932) |
| Adobe RGB | color(a98-rgb 0.23978 0.18046 0.38584) |
| ProPhoto RGB | color(prophoto-rgb 0.19492 0.1395 0.29909) |
| Linear sRGB | color(srgb-linear 0.05127 0.02315 0.12744) |
| XYZ D65 | color(xyz-d65 0.05242 0.03666 0.12488) |
| XYZ D50 | color(xyz-d50 0.04951 0.03573 0.09396) |
| SwiftUI | Color(red: 0.251, green: 0.165, blue: 0.392) |
| UIKit | UIColor(red: 0.251, green: 0.165, blue: 0.392, alpha: 1) |
| Flutter / Compose | Color(0xFF402A64) |
| Android XML | #402A64 |

## Facts

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

## Tints

#402a64, #503e73, #625282, #746692, #867aa1, #998fb1, #ada5c0, #c1bbd0, #d5d1df, #eae8ef

## Shades

#402a64, #362356, #2d1c48, #24163b, #1b102e, #130a22, #0b0516, #05020b, #010103, #000000

## Tones

#402a64, #3f2c60, #3e2e5c, #3d3057, #3d3153, #3c334f, #3b344a, #3a3546, #3a3642, #39373d

## Harmonies

- Complementary: #402a64, #343e00
- Split: #402a64, #4b3500, #004618
- Analogous: #402a64, #23346b, #532252
- Triadic: #402a64, #5c2800, #004639
- Tetradic: #402a64, #5e1d38, #343e00, #004639
- Square: #402a64, #621f18, #343e00, #00434e
- Monochromatic: #402a64, #0c0022, #230942, #604b88, #836dae

## Questions about #402a64

### What color is #402a64?

#402a64 is soft dark violet. The closest named color is Violet Indigo. In RGB it is rgb(64, 42, 100), in HSL hsl(262.76, 40.85%, 27.84%) and in OKLCH oklch(34.232% 0.09895 298.546).

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

The complementary color of #402a64 is #343e00. For a calmer combination use the analogous colors #23346b and #532252. The triadic partners are #5c2800 and #004639.

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

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

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

#402a64 is a cool color. In OKLCH its hue is 299 degrees, its lightness 34.2% and its chroma 0.099.
