# #51338a color: Night Fever

#51338a is rgb(81, 51, 138) in RGB and oklch(40.498% 0.13845 295.424) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51338a

## Formats

| Format | Value |
| --- | --- |
| HEX | #51338a |
| RGB | rgb(81, 51, 138) |
| HSL | hsl(260.69, 46.03%, 37.06%) |
| HSB / HSV | hsv(260.69 63.04% 54.12%) |
| HWB | hwb(260.69 20% 45.88%) |
| CMYK | cmyk(41% 63% 0% 46%) |
| Lab | lab(28.76 29.59 -44.52) |
| LCH | lch(28.76 53.46 303.61) |
| OKLab | oklab(40.498% 0.05944 -0.12504) |
| OKLCH | oklch(40.498% 0.13845 295.424) |
| Display P3 | color(display-p3 0.30063 0.20517 0.52225) |
| Rec. 2020 | color(rec2020 0.24035 0.15607 0.47019) |
| Adobe RGB | color(a98-rgb 0.29507 0.21232 0.52759) |
| ProPhoto RGB | color(prophoto-rgb 0.26277 0.17672 0.43688) |
| Linear sRGB | color(srgb-linear 0.08228 0.0331 0.25415) |
| XYZ D65 | color(xyz-d65 0.09164 0.05952 0.24712) |
| XYZ D50 | color(xyz-d50 0.08499 0.05745 0.18585) |
| SwiftUI | Color(red: 0.318, green: 0.2, blue: 0.541) |
| UIKit | UIColor(red: 0.318, green: 0.2, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF51338A) |
| Android XML | #51338A |

## Facts

- Closest name: Night Fever
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.59:1
- Contrast with black: 2.19:1

## Tints

#51338a, #604896, #705ba3, #806faf, #9183ba, #a297c6, #b4abd2, #c6c0dd, #d9d5e9, #eceaf4

## Shades

#51338a, #452b77, #3a2365, #2f1c53, #241442, #1a0d32, #100722, #070314, #020107, #000001

## Tones

#51338a, #503784, #4f3a7d, #4e3c77, #4d3f71, #4c416a, #4b4364, #4b455d, #4a4657, #494850

## Harmonies

- Complementary: #51338a, #484f00
- Split: #51338a, #624300, #005b0b
- Analogous: #51338a, #244293, #6c2671
- Triadic: #51338a, #783100, #005946
- Tetradic: #51338a, #7e1c4c, #484f00, #005946
- Square: #51338a, #841d1e, #484f00, #005660
- Monochromatic: #51338a, #160038, #330d65, #7256b0, #957ad8

## Questions about #51338a

### What color is #51338a?

#51338a is soft dark violet. The closest named color is Night Fever. In RGB it is rgb(81, 51, 138), in HSL hsl(260.69, 46.03%, 37.06%) and in OKLCH oklch(40.498% 0.13845 295.424).

### What colors go well with #51338a?

The complementary color of #51338a is #484f00. For a calmer combination use the analogous colors #244293 and #6c2671. The triadic partners are #783100 and #005946.

### Is white or black text more readable on #51338a?

White text reads better on #51338a: white gives a contrast ratio of 9.59:1 and black gives 2.19:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51338a a warm or cool color?

#51338a is a cool color. In OKLCH its hue is 295 degrees, its lightness 40.5% and its chroma 0.138.
