# #5b51a5 color: Brandywine Raspberry

#5b51a5 is rgb(91, 81, 165) in RGB and oklch(48.707% 0.13046 285.919) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b51a5 |
| RGB | rgb(91, 81, 165) |
| HSL | hsl(247.14, 34.15%, 48.24%) |
| HSB / HSV | hsv(247.14 50.91% 64.71%) |
| HWB | hwb(247.14 31.76% 35.29%) |
| CMYK | cmyk(45% 51% 0% 35%) |
| Lab | lab(38.74 21.19 -44.82) |
| LCH | lch(38.74 49.57 295.31) |
| OKLab | oklab(48.707% 0.03578 -0.12546) |
| OKLCH | oklch(48.707% 0.13046 285.919) |
| Display P3 | color(display-p3 0.35029 0.31904 0.62648) |
| Rec. 2020 | color(rec2020 0.30622 0.26737 0.58251) |
| Adobe RGB | color(a98-rgb 0.34819 0.32121 0.63171) |
| ProPhoto RGB | color(prophoto-rgb 0.32932 0.26688 0.54656) |
| Linear sRGB | color(srgb-linear 0.10462 0.08228 0.37626) |
| XYZ D65 | color(xyz-d65 0.14047 0.10825 0.36948) |
| XYZ D50 | color(xyz-d50 0.13115 0.10507 0.27813) |
| SwiftUI | Color(red: 0.357, green: 0.318, blue: 0.647) |
| UIKit | UIColor(red: 0.357, green: 0.318, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5B51A5) |
| Android XML | #5B51A5 |

## Facts

- Closest name: Brandywine Raspberry
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.63:1
- Contrast with black: 3.17:1

## Tints

#5b51a5, #6962af, #7873b8, #8784c2, #9795cb, #a8a6d4, #b8b8dd, #cac9e6, #dbdbee, #ededf7

## Shades

#5b51a5, #4e458f, #413a79, #352f65, #292451, #1e1a3d, #13102b, #09071a, #03020a, #000001

## Tones

#5b51a5, #5b539e, #5b5598, #5b5791, #5c598a, #5c5a83, #5d5b7c, #5d5d75, #5e5e6e, #5f5f67

## Harmonies

- Complementary: #5b51a5, #6a6200
- Split: #5b51a5, #865300, #3a6f17
- Analogous: #5b51a5, #265fa7, #7c4591
- Triadic: #5b51a5, #99420d, #00754f
- Tetradic: #5b51a5, #913c6f, #6a6200, #00754f
- Square: #5b51a5, #9b3a46, #6a6200, #007172
- Monochromatic: #5b51a5, #21085a, #3c2e7f, #7d75cc, #a09af5

## Questions about #5b51a5

### What color is #5b51a5?

#5b51a5 is soft dark indigo. The closest named color is Brandywine Raspberry. In RGB it is rgb(91, 81, 165), in HSL hsl(247.14, 34.15%, 48.24%) and in OKLCH oklch(48.707% 0.13046 285.919).

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

The complementary color of #5b51a5 is #6a6200. For a calmer combination use the analogous colors #265fa7 and #7c4591. The triadic partners are #99420d and #00754f.

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

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

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

#5b51a5 is a cool color. In OKLCH its hue is 286 degrees, its lightness 48.7% and its chroma 0.13.
