# #40236f color: Fading Horizon

#40236f is rgb(64, 35, 111) in RGB and oklch(33.901% 0.12506 296.692) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40236f

## Formats

| Format | Value |
| --- | --- |
| HEX | #40236f |
| RGB | rgb(64, 35, 111) |
| HSL | hsl(262.89, 52.05%, 28.63%) |
| HSB / HSV | hsv(262.89 68.47% 43.53%) |
| HWB | hwb(262.89 13.73% 56.47%) |
| CMYK | cmyk(42% 68% 0% 56%) |
| Lab | lab(21.24 27.86 -39.74) |
| LCH | lch(21.24 48.53 305.03) |
| OKLab | oklab(33.901% 0.05617 -0.11173) |
| OKLCH | oklch(33.901% 0.12506 296.692) |
| Display P3 | color(display-p3 0.2352 0.1426 0.41934) |
| Rec. 2020 | color(rec2020 0.17188 0.09314 0.36128) |
| Adobe RGB | color(a98-rgb 0.23517 0.156 0.42601) |
| ProPhoto RGB | color(prophoto-rgb 0.19968 0.12651 0.336) |
| Linear sRGB | color(srgb-linear 0.05127 0.01681 0.15896) |
| XYZ D65 | color(xyz-d65 0.05584 0.0344 0.15409) |
| XYZ D50 | color(xyz-d50 0.05157 0.03309 0.11586) |
| SwiftUI | Color(red: 0.251, green: 0.137, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.137, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF40236F) |
| Android XML | #40236F |

## 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.44:1
- Contrast with black: 1.69:1

## Tints

#40236f, #50397e, #614e8c, #73639b, #8578a9, #998db8, #aca3c6, #c0bad4, #d5d0e2, #eae8f1

## Shades

#40236f, #361d60, #2d1751, #241142, #1b0c34, #130727, #0b041a, #05010e, #010004, #000001

## Tones

#40236f, #3f266a, #3e2964, #3d2c5f, #3c2e5a, #3b3054, #3a324f, #393449, #393543, #38363e

## Harmonies

- Complementary: #40236f, #353d00
- Split: #40236f, #4b3300, #004702
- Analogous: #40236f, #1a3077, #571759
- Triadic: #40236f, #5e2400, #004537
- Tetradic: #40236f, #650d39, #353d00, #004537
- Square: #40236f, #6a0e0f, #353d00, #00424c
- Monochromatic: #40236f, #0b0022, #23004b, #604594, #8268bb

## Questions about #40236f

### What color is #40236f?

#40236f is soft dark violet. The closest named color is Fading Horizon. In RGB it is rgb(64, 35, 111), in HSL hsl(262.89, 52.05%, 28.63%) and in OKLCH oklch(33.901% 0.12506 296.692).

### What colors go well with #40236f?

The complementary color of #40236f is #353d00. For a calmer combination use the analogous colors #1a3077 and #571759. The triadic partners are #5e2400 and #004537.

### Is white or black text more readable on #40236f?

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

### Is #40236f a warm or cool color?

#40236f is a cool color. In OKLCH its hue is 297 degrees, its lightness 33.9% and its chroma 0.125.
