# #5f55a6 color: Yuè Guāng Lán Moonlight

#5f55a6 is rgb(95, 85, 166) in RGB and oklch(49.88% 0.12556 286.566) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5f55a6

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f55a6 |
| RGB | rgb(95, 85, 166) |
| HSL | hsl(247.41, 32.27%, 49.22%) |
| HSB / HSV | hsv(247.41 48.8% 65.1%) |
| HWB | hwb(247.41 33.33% 34.9%) |
| CMYK | cmyk(43% 49% 0% 35%) |
| Lab | lab(40.2 20.22 -43.06) |
| LCH | lch(40.2 47.57 295.15) |
| OKLab | oklab(49.88% 0.0358 -0.12035) |
| OKLCH | oklch(49.88% 0.12556 286.566) |
| Display P3 | color(display-p3 0.36596 0.33472 0.63084) |
| Rec. 2020 | color(rec2020 0.32127 0.28324 0.58732) |
| Adobe RGB | color(a98-rgb 0.36305 0.33599 0.6358) |
| ProPhoto RGB | color(prophoto-rgb 0.34095 0.28033 0.55154) |
| Linear sRGB | color(srgb-linear 0.11444 0.09084 0.38133) |
| XYZ D65 | color(xyz-d65 0.1485 0.11683 0.3755) |
| XYZ D50 | color(xyz-d50 0.13945 0.1137 0.28272) |
| SwiftUI | Color(red: 0.373, green: 0.333, blue: 0.651) |
| UIKit | UIColor(red: 0.373, green: 0.333, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5F55A6) |
| Android XML | #5F55A6 |

## Facts

- Closest name: Yuè Guāng Lán Moonlight
- Hue family: Violet, soft dark violet
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.29:1
- Contrast with black: 3.34:1

## Tints

#5f55a6, #6d66b0, #7c76b9, #8b87c2, #9a98cb, #aaa8d4, #bab9dd, #cbcbe6, #dcdcee, #ededf7

## Shades

#5f55a6, #524990, #443d7a, #383165, #2c2651, #201c3e, #15112b, #0a081a, #03020a, #000001

## Tones

#5f55a6, #5f57a0, #5f5999, #5f5b92, #605c8c, #605e85, #605f7f, #616078, #616171, #62626a

## Harmonies

- Complementary: #5f55a6, #6c6600
- Split: #5f55a6, #8a5700, #3e7222
- Analogous: #5f55a6, #2e63a9, #7f4992
- Triadic: #5f55a6, #9b4717, #007853
- Tetradic: #5f55a6, #944171, #6c6600, #007853
- Square: #5f55a6, #9d3f49, #6c6600, #007477
- Monochromatic: #5f55a6, #240e5b, #403280, #8179cd, #a59ef6

## Questions about #5f55a6

### What color is #5f55a6?

#5f55a6 is soft dark violet. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 85, 166), in HSL hsl(247.41, 32.27%, 49.22%) and in OKLCH oklch(49.88% 0.12556 286.566).

### What colors go well with #5f55a6?

The complementary color of #5f55a6 is #6c6600. For a calmer combination use the analogous colors #2e63a9 and #7f4992. The triadic partners are #9b4717 and #007853.

### Is white or black text more readable on #5f55a6?

White text reads better on #5f55a6: white gives a contrast ratio of 6.29:1 and black gives 3.34:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5f55a6 a warm or cool color?

#5f55a6 is a cool color. In OKLCH its hue is 287 degrees, its lightness 49.9% and its chroma 0.126.
