# #5f4795 color: Sweet Flag

#5f4795 is rgb(95, 71, 149) in RGB and oklch(46.171% 0.12347 295.336) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4795 |
| RGB | rgb(95, 71, 149) |
| HSL | hsl(258.46, 35.45%, 43.14%) |
| HSB / HSV | hsv(258.46 52.35% 58.43%) |
| HWB | hwb(258.46 27.84% 41.57%) |
| CMYK | cmyk(36% 52% 0% 42%) |
| Lab | lab(35.76 24.54 -39.93) |
| LCH | lch(35.76 46.87 301.57) |
| OKLab | oklab(46.171% 0.05284 -0.11159) |
| OKLCH | oklch(46.171% 0.12347 295.336) |
| Display P3 | color(display-p3 0.35799 0.28217 0.56588) |
| Rec. 2020 | color(rec2020 0.30037 0.23133 0.51721) |
| Adobe RGB | color(a98-rgb 0.35065 0.2845 0.57026) |
| ProPhoto RGB | color(prophoto-rgb 0.31304 0.23673 0.48262) |
| Linear sRGB | color(srgb-linear 0.11444 0.06301 0.30054) |
| XYZ D65 | color(xyz-d65 0.12397 0.09109 0.2954) |
| XYZ D50 | color(xyz-d50 0.11717 0.08885 0.22233) |
| SwiftUI | Color(red: 0.373, green: 0.278, blue: 0.584) |
| UIKit | UIColor(red: 0.373, green: 0.278, blue: 0.584, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4795) |
| Android XML | #5F4795 |

## Facts

- Closest name: Sweet Flag
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.44:1
- Contrast with black: 2.82:1

## Tints

#5f4795, #6d59a0, #7c6bab, #8b7db6, #9b8fc1, #aaa1cb, #bbb3d6, #cbc6e0, #dcd9eb, #eeecf5

## Shades

#5f4795, #523d81, #44326d, #38285a, #2c1f48, #201637, #150d26, #0a0616, #030208, #000001

## Tones

#5f4795, #5e498f, #5d4c89, #5c4e83, #5c507e, #5b5278, #5a5371, #5a556b, #595665, #59575f

## Harmonies

- Complementary: #5f4795, #575f00
- Split: #5f4795, #755200, #1e6a28
- Analogous: #5f4795, #36549d, #7a3c7e
- Triadic: #5f4795, #8b4100, #006b55
- Tetradic: #5f4795, #8b355c, #575f00, #006b55
- Square: #5f4795, #913633, #575f00, #006773
- Monochromatic: #5f4795, #23004c, #3f2570, #816abc, #a58ee3

## Questions about #5f4795

### What color is #5f4795?

#5f4795 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 149), in HSL hsl(258.46, 35.45%, 43.14%) and in OKLCH oklch(46.171% 0.12347 295.336).

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

The complementary color of #5f4795 is #575f00. For a calmer combination use the analogous colors #36549d and #7a3c7e. The triadic partners are #8b4100 and #006b55.

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

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

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

#5f4795 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.2% and its chroma 0.123.
