# #402766 color: Fading Horizon

#402766 is rgb(64, 39, 102) in RGB and oklch(33.843% 0.1068 298.875) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402766 |
| RGB | rgb(64, 39, 102) |
| HSL | hsl(263.81, 44.68%, 27.65%) |
| HSB / HSV | hsv(263.81 61.76% 40%) |
| HWB | hwb(263.81 15.29% 60%) |
| CMYK | cmyk(37% 62% 0% 60%) |
| Lab | lab(21.58 23.43 -33.37) |
| LCH | lch(21.58 40.78 305.08) |
| OKLab | oklab(33.843% 0.05157 -0.09352) |
| OKLCH | oklch(33.843% 0.1068 298.875) |
| Display P3 | color(display-p3 0.23685 0.15727 0.38608) |
| Rec. 2020 | color(rec2020 0.17193 0.10479 0.32667) |
| Adobe RGB | color(a98-rgb 0.23772 0.16994 0.39301) |
| ProPhoto RGB | color(prophoto-rgb 0.19455 0.13307 0.30541) |
| Linear sRGB | color(srgb-linear 0.05127 0.02029 0.13287) |
| XYZ D65 | color(xyz-d65 0.05238 0.035 0.1297) |
| XYZ D50 | color(xyz-d50 0.04918 0.03401 0.09756) |
| SwiftUI | Color(red: 0.251, green: 0.153, blue: 0.4) |
| UIKit | UIColor(red: 0.251, green: 0.153, blue: 0.4, alpha: 1) |
| Flutter / Compose | Color(0xFF402766) |
| Android XML | #402766 |

## 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.35:1
- Contrast with black: 1.7:1

## Tints

#402766, #503b75, #625084, #746493, #8679a3, #998eb2, #ada4c1, #c1bad1, #d5d1e0, #eae8ef

## Shades

#402766, #362058, #2d1a4a, #24143c, #1b0e2f, #130823, #0b0417, #05020c, #010104, #000000

## Tones

#402766, #3f2962, #3e2c5d, #3d2e59, #3c3054, #3b314f, #3a334b, #3a3446, #393541, #38363c

## Harmonies

- Complementary: #402766, #333e00
- Split: #402766, #4a3400, #004513
- Analogous: #402766, #21316e, #541e52
- Triadic: #402766, #5c2600, #004538
- Tetradic: #402766, #601836, #333e00, #004538
- Square: #402766, #631a14, #333e00, #00424d
- Monochromatic: #402766, #0c0022, #230443, #60488a, #836bb0

## Questions about #402766

### What color is #402766?

#402766 is soft dark violet. The closest named color is Fading Horizon. In RGB it is rgb(64, 39, 102), in HSL hsl(263.81, 44.68%, 27.65%) and in OKLCH oklch(33.843% 0.1068 298.875).

### What colors go well with #402766?

The complementary color of #402766 is #333e00. For a calmer combination use the analogous colors #21316e and #541e52. The triadic partners are #5c2600 and #004538.

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

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

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

#402766 is a cool color. In OKLCH its hue is 299 degrees, its lightness 33.8% and its chroma 0.107.
