# #402666 color: Fading Horizon

#402666 is rgb(64, 38, 102) in RGB and oklch(33.671% 0.10844 299.229) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402666 |
| RGB | rgb(64, 38, 102) |
| HSL | hsl(264.38, 45.71%, 27.45%) |
| HSB / HSV | hsv(264.38 62.75% 40%) |
| HWB | hwb(264.38 14.9% 60%) |
| CMYK | cmyk(37% 63% 0% 60%) |
| Lab | lab(21.34 24.03 -33.75) |
| LCH | lch(21.34 41.44 305.45) |
| OKLab | oklab(33.671% 0.05295 -0.09463) |
| OKLCH | oklch(33.671% 0.10844 299.229) |
| Display P3 | color(display-p3 0.23642 0.15359 0.38599) |
| Rec. 2020 | color(rec2020 0.17111 0.10153 0.32654) |
| Adobe RGB | color(a98-rgb 0.23706 0.16645 0.39296) |
| ProPhoto RGB | color(prophoto-rgb 0.19393 0.13085 0.30525) |
| Linear sRGB | color(srgb-linear 0.05127 0.01938 0.13287) |
| XYZ D65 | color(xyz-d65 0.05205 0.03436 0.1296) |
| XYZ D50 | color(xyz-d50 0.04883 0.03336 0.09748) |
| SwiftUI | Color(red: 0.251, green: 0.149, blue: 0.4) |
| UIKit | UIColor(red: 0.251, green: 0.149, blue: 0.4, alpha: 1) |
| Flutter / Compose | Color(0xFF402666) |
| Android XML | #402666 |

## Facts

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

## Tints

#402666, #503b75, #624f84, #746393, #8678a3, #998eb2, #ada4c1, #c1bad1, #d5d0e0, #eae8ef

## Shades

#402666, #362058, #2d194a, #24133c, #1b0d2f, #130823, #0b0417, #05020c, #010104, #000000

## Tones

#402666, #3f2961, #3e2b5d, #3d2d58, #3c2f54, #3b314f, #3a324a, #393346, #383541, #38363c

## Harmonies

- Complementary: #402666, #323d00
- Split: #402666, #493300, #004513
- Analogous: #402666, #21316e, #541d52
- Triadic: #402666, #5b2600, #004438
- Tetradic: #402666, #601736, #323d00, #004438
- Square: #402666, #631912, #323d00, #00414d
- Monochromatic: #402666, #0c0021, #230343, #60478a, #836ab0

## Questions about #402666

### What color is #402666?

#402666 is soft dark violet. The closest named color is Fading Horizon. In RGB it is rgb(64, 38, 102), in HSL hsl(264.38, 45.71%, 27.45%) and in OKLCH oklch(33.671% 0.10844 299.229).

### What colors go well with #402666?

The complementary color of #402666 is #323d00. For a calmer combination use the analogous colors #21316e and #541d52. The triadic partners are #5b2600 and #004438.

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

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

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

#402666 is a cool color. In OKLCH its hue is 299 degrees, its lightness 33.7% and its chroma 0.108.
