# #5f52b1 color: Soft violet

#5f52b1 is rgb(95, 82, 177) in RGB and oklch(50.049% 0.14552 286.138) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f52b1 |
| RGB | rgb(95, 82, 177) |
| HSL | hsl(248.21, 37.85%, 50.78%) |
| HSB / HSV | hsv(248.21 53.67% 69.41%) |
| HWB | hwb(248.21 32.16% 30.59%) |
| CMYK | cmyk(46% 54% 0% 31%) |
| Lab | lab(40.02 24.62 -49.84) |
| LCH | lch(40.02 55.59 296.29) |
| OKLab | oklab(50.049% 0.04045 -0.13979) |
| OKLCH | oklch(50.049% 0.14552 286.138) |
| Display P3 | color(display-p3 0.36413 0.32342 0.67143) |
| Rec. 2020 | color(rec2020 0.32191 0.2736 0.63105) |
| Adobe RGB | color(a98-rgb 0.36021 0.3249 0.67771) |
| ProPhoto RGB | color(prophoto-rgb 0.34885 0.27412 0.59467) |
| Linear sRGB | color(srgb-linear 0.11444 0.08438 0.43966) |
| XYZ D65 | color(xyz-d65 0.15671 0.11642 0.43018) |
| XYZ D50 | color(xyz-d50 0.1453 0.1126 0.32374) |
| SwiftUI | Color(red: 0.373, green: 0.322, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.322, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F52B1) |
| Android XML | #5F52B1 |

## Facts

- Closest name: Soft violet
- Hue family: Violet, soft violet
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.31:1
- Contrast with black: 3.33:1

## Tints

#5f52b1, #6d63ba, #7b75c2, #8a86cb, #9a97d3, #aaa8db, #bab9e2, #cbcaea, #dcdcf1, #ededf8

## Shades

#5f52b1, #524699, #443b83, #382f6c, #2c2557, #201a42, #15112f, #0a081c, #03020c, #000001

## Tones

#5f52b1, #5f55aa, #5f57a2, #5f599a, #5f5b93, #605d8b, #605f83, #61607c, #626174, #62626c

## Harmonies

- Complementary: #5f52b1, #6e6600
- Split: #5f52b1, #8b5700, #387508
- Analogous: #5f52b1, #2062b4, #83449a
- Triadic: #5f52b1, #a34100, #007952
- Tetradic: #5f52b1, #9a3974, #6e6600, #007952
- Square: #5f52b1, #a63746, #6e6600, #007577
- Monochromatic: #5f52b1, #250465, #402e8a, #8176d9, #a49cff

## Questions about #5f52b1

### What color is #5f52b1?

#5f52b1 is soft violet. The closest named color is Soft violet. In RGB it is rgb(95, 82, 177), in HSL hsl(248.21, 37.85%, 50.78%) and in OKLCH oklch(50.049% 0.14552 286.138).

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

The complementary color of #5f52b1 is #6e6600. For a calmer combination use the analogous colors #2062b4 and #83449a. The triadic partners are #a34100 and #007952.

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

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

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

#5f52b1 is a cool color. In OKLCH its hue is 286 degrees, its lightness 50% and its chroma 0.146.
