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

#5f54a6 is rgb(95, 84, 166) in RGB and oklch(49.689% 0.12708 286.973) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f54a6 |
| RGB | rgb(95, 84, 166) |
| HSL | hsl(248.05, 32.8%, 49.02%) |
| HSB / HSV | hsv(248.05 49.4% 65.1%) |
| HWB | hwb(248.05 32.94% 34.9%) |
| CMYK | cmyk(43% 49% 0% 35%) |
| Lab | lab(39.94 20.81 -43.47) |
| LCH | lch(39.94 48.2 295.58) |
| OKLab | oklab(49.689% 0.0371 -0.12154) |
| OKLCH | oklch(49.689% 0.12708 286.973) |
| Display P3 | color(display-p3 0.36534 0.33095 0.63071) |
| Rec. 2020 | color(rec2020 0.32012 0.27961 0.58716) |
| Adobe RGB | color(a98-rgb 0.3621 0.33229 0.63573) |
| ProPhoto RGB | color(prophoto-rgb 0.34 0.27738 0.55131) |
| Linear sRGB | color(srgb-linear 0.11444 0.08866 0.38133) |
| XYZ D65 | color(xyz-d65 0.14772 0.11527 0.37524) |
| XYZ D50 | color(xyz-d50 0.13861 0.11213 0.2825) |
| SwiftUI | Color(red: 0.373, green: 0.329, blue: 0.651) |
| UIKit | UIColor(red: 0.373, green: 0.329, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5F54A6) |
| Android XML | #5F54A6 |

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

## Tints

#5f54a6, #6d65b0, #7c75b9, #8b86c2, #9a97cb, #aaa8d4, #bab9dd, #cbcae6, #dcdcee, #ededf7

## Shades

#5f54a6, #524890, #443c7a, #383165, #2c2651, #201b3e, #15112b, #0a081a, #03020a, #000001

## Tones

#5f54a6, #5f569f, #5f5899, #5f5a92, #5f5b8c, #605d85, #605e7e, #605f77, #616071, #626169

## Harmonies

- Complementary: #5f54a6, #6b6600
- Split: #5f54a6, #895600, #3c7220
- Analogous: #5f54a6, #2e62a9, #7f4891
- Triadic: #5f54a6, #9a4713, #007853
- Tetradic: #5f54a6, #944070, #6b6600, #007853
- Square: #5f54a6, #9d3e48, #6b6600, #007477
- Monochromatic: #5f54a6, #240d5b, #403180, #8178cd, #a59df6

## Questions about #5f54a6

### What color is #5f54a6?

#5f54a6 is soft dark violet. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 84, 166), in HSL hsl(248.05, 32.8%, 49.02%) and in OKLCH oklch(49.689% 0.12708 286.973).

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

The complementary color of #5f54a6 is #6b6600. For a calmer combination use the analogous colors #2e62a9 and #7f4891. The triadic partners are #9a4713 and #007853.

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

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

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

#5f54a6 is a cool color. In OKLCH its hue is 287 degrees, its lightness 49.7% and its chroma 0.127.
