# #5f429d color: Sweet Flag

#5f429d is rgb(95, 66, 157) in RGB and oklch(45.84% 0.14213 294.866) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f429d |
| RGB | rgb(95, 66, 157) |
| HSL | hsl(259.12, 40.81%, 43.73%) |
| HSB / HSV | hsv(259.12 57.96% 61.57%) |
| HWB | hwb(259.12 25.88% 38.43%) |
| CMYK | cmyk(39% 58% 0% 38%) |
| Lab | lab(34.99 29.22 -45.99) |
| LCH | lch(34.99 54.48 302.43) |
| OKLab | oklab(45.84% 0.05976 -0.12895) |
| OKLCH | oklch(45.84% 0.14213 294.866) |
| Display P3 | color(display-p3 0.35551 0.26355 0.59513) |
| Rec. 2020 | color(rec2020 0.29828 0.21488 0.54839) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.6003) |
| ProPhoto RGB | color(prophoto-rgb 0.31631 0.22521 0.51242) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.33716) |
| XYZ D65 | color(xyz-d65 0.12752 0.08764 0.32919) |
| XYZ D50 | color(xyz-d50 0.11913 0.08496 0.24765) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.616) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.616, alpha: 1) |
| Flutter / Compose | Color(0xFF5F429D) |
| Android XML | #5F429D |

## 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.63:1
- Contrast with black: 2.75:1

## Tints

#5f429d, #6d55a8, #7c68b2, #8b7abc, #9a8cc6, #aa9fd0, #bab2da, #cbc5e3, #dcd8ed, #edebf6

## Shades

#5f429d, #523888, #442f73, #38255f, #2c1c4c, #20143a, #150b28, #0a0518, #030109, #000001

## Tones

#5f429d, #5e4596, #5d4890, #5c4b89, #5b4d82, #5a4f7b, #5a5174, #59536d, #585566, #58565f

## Harmonies

- Complementary: #5f429d, #575e00
- Split: #5f429d, #745100, #056b1a
- Analogous: #5f429d, #2f51a6, #7d3582
- Triadic: #5f429d, #8e3c00, #006a54
- Tetradic: #5f429d, #902c5c, #575e00, #006a54
- Square: #5f429d, #972c2c, #575e00, #006671
- Monochromatic: #5f429d, #240053, #401e77, #8166c4, #a58aec

## Questions about #5f429d

### What color is #5f429d?

#5f429d is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 157), in HSL hsl(259.12, 40.81%, 43.73%) and in OKLCH oklch(45.84% 0.14213 294.866).

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

The complementary color of #5f429d is #575e00. For a calmer combination use the analogous colors #2f51a6 and #7d3582. The triadic partners are #8e3c00 and #006a54.

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

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

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

#5f429d is a cool color. In OKLCH its hue is 295 degrees, its lightness 45.8% and its chroma 0.142.
