# #5f429b color: Sweet Flag

#5f429b is rgb(95, 66, 155) in RGB and oklch(45.7% 0.13948 295.365) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f429b |
| RGB | rgb(95, 66, 155) |
| HSL | hsl(259.55, 40.27%, 43.33%) |
| HSB / HSV | hsv(259.55 57.42% 60.78%) |
| HWB | hwb(259.55 25.88% 39.22%) |
| CMYK | cmyk(39% 57% 0% 39%) |
| Lab | lab(34.88 28.77 -44.96) |
| LCH | lch(34.88 53.38 302.61) |
| OKLab | oklab(45.7% 0.05975 -0.12603) |
| OKLCH | oklch(45.7% 0.13948 295.365) |
| Display P3 | color(display-p3 0.35551 0.26355 0.58767) |
| Rec. 2020 | color(rec2020 0.29758 0.21463 0.54039) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.5927) |
| ProPhoto RGB | color(prophoto-rgb 0.31446 0.22473 0.50467) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.32778) |
| XYZ D65 | color(xyz-d65 0.12583 0.08696 0.32027) |
| XYZ D50 | color(xyz-d50 0.11778 0.08439 0.24095) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.608) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.608, alpha: 1) |
| Flutter / Compose | Color(0xFF5F429B) |
| Android XML | #5F429B |

## Facts

- Closest name: Sweet Flag
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.67:1
- Contrast with black: 2.74:1

## Tints

#5f429b, #6d55a6, #7c67b0, #8b7abb, #9a8cc5, #aa9fcf, #bab2d9, #cbc5e3, #dcd8ec, #edebf6

## Shades

#5f429b, #523886, #442f72, #38255e, #2c1c4b, #201439, #150b28, #0a0518, #030109, #000001

## Tones

#5f429b, #5e4594, #5d488e, #5c4b87, #5b4d81, #5a4f7a, #595173, #59536c, #585465, #58565e

## Harmonies

- Complementary: #5f429b, #565e00
- Split: #5f429b, #735000, #066a1d
- Analogous: #5f429b, #3151a4, #7c3581
- Triadic: #5f429b, #8d3c00, #006a54
- Tetradic: #5f429b, #8f2d5b, #565e00, #006a54
- Square: #5f429b, #952e2c, #565e00, #006671
- Monochromatic: #5f429b, #230051, #401e75, #8165c2, #a58aea

## Questions about #5f429b

### What color is #5f429b?

#5f429b is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 155), in HSL hsl(259.55, 40.27%, 43.33%) and in OKLCH oklch(45.7% 0.13948 295.365).

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

The complementary color of #5f429b is #565e00. For a calmer combination use the analogous colors #3151a4 and #7c3581. The triadic partners are #8d3c00 and #006a54.

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

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

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

#5f429b is a cool color. In OKLCH its hue is 295 degrees, its lightness 45.7% and its chroma 0.139.
