# #150227 color: Election Night

#150227 is rgb(21, 2, 39) in RGB and oklch(16.152% 0.07546 303.772) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/150227

## Formats

| Format | Value |
| --- | --- |
| HEX | #150227 |
| RGB | rgb(21, 2, 39) |
| HSL | hsl(270.81, 90.24%, 8.04%) |
| HSB / HSV | hsv(270.81 94.87% 15.29%) |
| HWB | hwb(270.81 0.78% 84.71%) |
| CMYK | cmyk(46% 95% 0% 85%) |
| Lab | lab(3.01 12.89 -19.4) |
| LCH | lch(3.01 23.29 303.6) |
| OKLab | oklab(16.152% 0.04195 -0.06273) |
| OKLCH | oklch(16.152% 0.07546 303.772) |
| Display P3 | color(display-p3 0.07253 0.0108 0.14575) |
| Rec. 2020 | color(rec2020 0.02603 0.00588 0.08255) |
| Adobe RGB | color(a98-rgb 0.09415 0.03446 0.16682) |
| ProPhoto RGB | color(prophoto-rgb 0.06362 0.02943 0.10652) |
| Linear sRGB | color(srgb-linear 0.0075 0.00061 0.02029) |
| XYZ D65 | color(xyz-d65 0.00697 0.00349 0.0195) |
| XYZ D50 | color(xyz-d50 0.00641 0.00333 0.01465) |
| SwiftUI | Color(red: 0.082, green: 0.008, blue: 0.153) |
| UIKit | UIColor(red: 0.082, green: 0.008, blue: 0.153, alpha: 1) |
| Flutter / Compose | Color(0xFF150227) |
| Android XML | #150227 |

## Facts

- Closest name: Election Night
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: slate-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 19.63:1
- Contrast with black: 1.07:1

## Tints

#150227, #28173a, #3c2d4e, #514463, #685c78, #7f758d, #978fa3, #b0aab9, #cac6d0, #e4e2e7

## Shades

#150227, #110120, #0c011a, #080114, #05000e, #030008, #020004, #010002, #000001, #000000

## Tones

#150227, #140425, #130522, #130620, #12081d, #11091b, #100a18, #100b16, #0f0c13, #0e0d10

## Harmonies

- Complementary: #150227, #081100
- Split: #150227, #150c00, #001501
- Analogous: #150227, #06062d, #1f001a
- Triadic: #150227, #1d0600, #001410
- Tetradic: #150227, #24000a, #081100, #001410
- Square: #150227, #260000, #081100, #00121a
- Monochromatic: #150227, #0c001c, #0c001c, #311e47, #513d69

## Questions about #150227

### What color is #150227?

#150227 is soft very dark purple. The closest named color is Election Night. In RGB it is rgb(21, 2, 39), in HSL hsl(270.81, 90.24%, 8.04%) and in OKLCH oklch(16.152% 0.07546 303.772).

### What colors go well with #150227?

The complementary color of #150227 is #081100. For a calmer combination use the analogous colors #06062d and #1f001a. The triadic partners are #1d0600 and #001410.

### Is white or black text more readable on #150227?

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

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

#150227 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 16.2% and its chroma 0.075.
