# #2a1f51 color: Spacescape

#2a1f51 is rgb(42, 31, 81) in RGB and oklch(28.253% 0.08771 289.726) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a1f51

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a1f51 |
| RGB | rgb(42, 31, 81) |
| HSL | hsl(253.2, 44.64%, 21.96%) |
| HSB / HSV | hsv(253.2 61.73% 31.76%) |
| HWB | hwb(253.2 12.16% 68.24%) |
| CMYK | cmyk(48% 62% 0% 68%) |
| Lab | lab(15.47 16.47 -29.41) |
| LCH | lch(15.47 33.71 299.24) |
| OKLab | oklab(28.253% 0.0296 -0.08256) |
| OKLCH | oklch(28.253% 0.08771 289.726) |
| Display P3 | color(display-p3 0.15793 0.12324 0.30612) |
| Rec. 2020 | color(rec2020 0.10045 0.0681 0.24396) |
| Adobe RGB | color(a98-rgb 0.17059 0.14216 0.31615) |
| ProPhoto RGB | color(prophoto-rgb 0.13812 0.10248 0.234) |
| Linear sRGB | color(srgb-linear 0.02315 0.0137 0.08228) |
| XYZ D65 | color(xyz-d65 0.0293 0.02066 0.08029) |
| XYZ D50 | color(xyz-d50 0.02715 0.01996 0.06041) |
| SwiftUI | Color(red: 0.165, green: 0.122, blue: 0.318) |
| UIKit | UIColor(red: 0.165, green: 0.122, blue: 0.318, alpha: 1) |
| Flutter / Compose | Color(0xFF2A1F51) |
| Android XML | #2A1F51 |

## Facts

- Closest name: Spacescape
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.86:1
- Contrast with black: 1.41:1

## Tints

#2a1f51, #3b3362, #4e4873, #625d84, #767295, #8b89a6, #a19fb7, #b8b6c9, #cfcedb, #e7e6ed

## Shades

#2a1f51, #231945, #1c143a, #160f2f, #100a24, #0a061a, #050310, #020107, #010002, #000000

## Tones

#2a1f51, #2a214d, #292249, #292346, #292542, #29263e, #29273a, #292736, #292832, #29292e

## Harmonies

- Complementary: #2a1f51, #2d2c00
- Split: #2a1f51, #3d2300, #0c3302
- Analogous: #2a1f51, #0c2754, #3c1844
- Triadic: #2a1f51, #4a1800, #003523
- Tetradic: #2a1f51, #471230, #2d2c00, #003523
- Square: #2a1f51, #4c1117, #2d2c00, #003336
- Monochromatic: #2a1f51, #090024, #100130, #483f74, #696199

## Questions about #2a1f51

### What color is #2a1f51?

#2a1f51 is soft very dark violet. The closest named color is Spacescape. In RGB it is rgb(42, 31, 81), in HSL hsl(253.2, 44.64%, 21.96%) and in OKLCH oklch(28.253% 0.08771 289.726).

### What colors go well with #2a1f51?

The complementary color of #2a1f51 is #2d2c00. For a calmer combination use the analogous colors #0c2754 and #3c1844. The triadic partners are #4a1800 and #003523.

### Is white or black text more readable on #2a1f51?

White text reads better on #2a1f51: white gives a contrast ratio of 14.86:1 and black gives 1.41:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a1f51 a warm or cool color?

#2a1f51 is a cool color. In OKLCH its hue is 290 degrees, its lightness 28.3% and its chroma 0.088.
