# #402778 color: Clear Purple

#402778 is rgb(64, 39, 120) in RGB and oklch(35.287% 0.13112 292.595) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/402778

## Formats

| Format | Value |
| --- | --- |
| HEX | #402778 |
| RGB | rgb(64, 39, 120) |
| HSL | hsl(258.52, 50.94%, 31.18%) |
| HSB / HSV | hsv(258.52 67.5% 47.06%) |
| HWB | hwb(258.52 15.29% 52.94%) |
| CMYK | cmyk(47% 68% 0% 53%) |
| Lab | lab(22.77 27.71 -43.03) |
| LCH | lch(22.77 51.18 302.78) |
| OKLab | oklab(35.287% 0.05038 -0.12106) |
| OKLCH | oklch(35.287% 0.13112 292.595) |
| Display P3 | color(display-p3 0.23685 0.15727 0.45333) |
| Rec. 2020 | color(rec2020 0.17835 0.10719 0.39704) |
| Adobe RGB | color(a98-rgb 0.23772 0.16994 0.4596) |
| ProPhoto RGB | color(prophoto-rgb 0.20996 0.13733 0.3685) |
| Linear sRGB | color(srgb-linear 0.05127 0.02029 0.18782) |
| XYZ D65 | color(xyz-d65 0.0623 0.03897 0.18194) |
| XYZ D50 | color(xyz-d50 0.05704 0.03734 0.13681) |
| SwiftUI | Color(red: 0.251, green: 0.153, blue: 0.471) |
| UIKit | UIColor(red: 0.251, green: 0.153, blue: 0.471, alpha: 1) |
| Flutter / Compose | Color(0xFF402778) |
| Android XML | #402778 |

## 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.8:1
- Contrast with black: 1.78:1

## Tints

#402778, #503d86, #615194, #7266a2, #857baf, #9890bd, #aca6ca, #c0bbd7, #d4d2e5, #eae8f2

## Shades

#402778, #362067, #2d1a57, #241448, #1b0e39, #13082a, #0b041d, #050210, #010105, #000001

## Tones

#402778, #3f2a72, #3e2d6c, #3e3066, #3d3260, #3c345a, #3c3654, #3c384e, #3b3948, #3b3a42

## Harmonies

- Complementary: #402778, #3d3f00
- Split: #402778, #523500, #004b00
- Analogous: #402778, #12357e, #591b62
- Triadic: #402778, #662400, #004a36
- Tetradic: #402778, #6a0f42, #3d3f00, #004a36
- Square: #402778, #700d18, #3d3f00, #00474d
- Monochromatic: #402778, #0a0024, #240054, #5f4a9e, #816dc5

## Questions about #402778

### What color is #402778?

#402778 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 39, 120), in HSL hsl(258.52, 50.94%, 31.18%) and in OKLCH oklch(35.287% 0.13112 292.595).

### What colors go well with #402778?

The complementary color of #402778 is #3d3f00. For a calmer combination use the analogous colors #12357e and #591b62. The triadic partners are #662400 and #004a36.

### Is white or black text more readable on #402778?

White text reads better on #402778: white gives a contrast ratio of 11.8:1 and black gives 1.78:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #402778 a warm or cool color?

#402778 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.3% and its chroma 0.131.
