# #6158a6 color: Yuè Guāng Lán Moonlight

#6158a6 is rgb(97, 88, 166) in RGB and oklch(50.631% 0.12085 286.523) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/6158a6

## Formats

| Format | Value |
| --- | --- |
| HEX | #6158a6 |
| RGB | rgb(97, 88, 166) |
| HSL | hsl(246.92, 30.71%, 49.8%) |
| HSB / HSV | hsv(246.92 46.99% 65.1%) |
| HWB | hwb(246.92 34.51% 34.9%) |
| CMYK | cmyk(42% 47% 0% 35%) |
| Lab | lab(41.16 19.04 -41.51) |
| LCH | lch(41.16 45.67 294.64) |
| OKLab | oklab(50.631% 0.03437 -0.11586) |
| OKLCH | oklch(50.631% 0.12085 286.523) |
| Display P3 | color(display-p3 0.37442 0.34634 0.6313) |
| Rec. 2020 | color(rec2020 0.32985 0.29481 0.58792) |
| Adobe RGB | color(a98-rgb 0.37147 0.34711 0.63602) |
| ProPhoto RGB | color(prophoto-rgb 0.34738 0.29002 0.55233) |
| Linear sRGB | color(srgb-linear 0.11954 0.09759 0.38133) |
| XYZ D65 | color(xyz-d65 0.15301 0.12274 0.37641) |
| XYZ D50 | color(xyz-d50 0.14427 0.11967 0.28344) |
| SwiftUI | Color(red: 0.38, green: 0.345, blue: 0.651) |
| UIKit | UIColor(red: 0.38, green: 0.345, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF6158A6) |
| Android XML | #6158A6 |

## Facts

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

## Tints

#6158a6, #6f68b0, #7d79b9, #8c89c2, #9c99cb, #abaad4, #bbbbdd, #cccbe6, #dddcee, #eeeef7

## Shades

#6158a6, #534b90, #463f7a, #393365, #2d2851, #211d3e, #15122b, #0b091a, #03030a, #000001

## Tones

#6158a6, #615aa0, #615c99, #615d93, #625f8d, #626086, #636180, #636279, #646373, #64646c

## Harmonies

- Complementary: #6158a6, #6e6800
- Split: #6158a6, #8b5900, #427428
- Analogous: #6158a6, #3365a9, #804d93
- Triadic: #6158a6, #9b4b1f, #007a55
- Tetradic: #6158a6, #954573, #6e6800, #007a55
- Square: #6158a6, #9e434c, #6e6800, #007779
- Monochromatic: #6158a6, #25135c, #413680, #837ccd, #a7a1f5

## Questions about #6158a6

### What color is #6158a6?

#6158a6 is soft violet. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(97, 88, 166), in HSL hsl(246.92, 30.71%, 49.8%) and in OKLCH oklch(50.631% 0.12085 286.523).

### What colors go well with #6158a6?

The complementary color of #6158a6 is #6e6800. For a calmer combination use the analogous colors #3365a9 and #804d93. The triadic partners are #9b4b1f and #007a55.

### Is white or black text more readable on #6158a6?

White text reads better on #6158a6: white gives a contrast ratio of 6.08:1 and black gives 3.45:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #6158a6 a warm or cool color?

#6158a6 is a cool color. In OKLCH its hue is 287 degrees, its lightness 50.6% and its chroma 0.121.
