# #40286f color: Her Highness

#40286f is rgb(64, 40, 111) in RGB and oklch(34.713% 0.11755 295.145) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40286f |
| RGB | rgb(64, 40, 111) |
| HSL | hsl(260.28, 47.02%, 29.61%) |
| HSB / HSV | hsv(260.28 63.96% 43.53%) |
| HWB | hwb(260.28 15.69% 56.47%) |
| CMYK | cmyk(42% 64% 0% 56%) |
| Lab | lab(22.39 24.95 -37.89) |
| LCH | lch(22.39 45.36 303.36) |
| OKLab | oklab(34.713% 0.04995 -0.10641) |
| OKLCH | oklch(34.713% 0.11755 295.145) |
| Display P3 | color(display-p3 0.23729 0.16096 0.41977) |
| Rec. 2020 | color(rec2020 0.17582 0.1092 0.36184) |
| Adobe RGB | color(a98-rgb 0.23839 0.17344 0.42623) |
| ProPhoto RGB | color(prophoto-rgb 0.2026 0.13733 0.33669) |
| Linear sRGB | color(srgb-linear 0.05127 0.02122 0.15896) |
| XYZ D65 | color(xyz-d65 0.05742 0.03755 0.15462) |
| XYZ D50 | color(xyz-d50 0.05327 0.03625 0.11629) |
| SwiftUI | Color(red: 0.251, green: 0.157, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.157, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF40286F) |
| Android XML | #40286F |

## Facts

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

## Tints

#40286f, #503d7e, #61518c, #73669b, #857aa9, #9990b7, #aca5c6, #c0bbd4, #d5d1e2, #eae8f1

## Shades

#40286f, #362160, #2d1b51, #241542, #1b0f34, #130927, #0b041a, #05020e, #010104, #000001

## Tones

#40286f, #3f2b6a, #3e2d65, #3d3060, #3d315a, #3c3355, #3b3550, #3b364a, #3a3745, #3a393f

## Harmonies

- Complementary: #40286f, #393f00
- Split: #40286f, #4f3400, #004807
- Analogous: #40286f, #1b3476, #571e5a
- Triadic: #40286f, #622500, #004837
- Tetradic: #40286f, #65163d, #393f00, #004837
- Square: #40286f, #6a1617, #393f00, #00454d
- Monochromatic: #40286f, #0b0023, #23034b, #604a94, #826dba

## Questions about #40286f

### What color is #40286f?

#40286f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 40, 111), in HSL hsl(260.28, 47.02%, 29.61%) and in OKLCH oklch(34.713% 0.11755 295.145).

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

The complementary color of #40286f is #393f00. For a calmer combination use the analogous colors #1b3476 and #571e5a. The triadic partners are #622500 and #004837.

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

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

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

#40286f is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.7% and its chroma 0.118.
