# #331b54 color: Fabric of Space

#331b54 is rgb(51, 27, 84) in RGB and oklch(28.808% 0.09944 299.483) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/331b54

## Formats

| Format | Value |
| --- | --- |
| HEX | #331b54 |
| RGB | rgb(51, 27, 84) |
| HSL | hsl(265.26, 51.35%, 21.76%) |
| HSB / HSV | hsv(265.26 67.86% 32.94%) |
| HWB | hwb(265.26 10.59% 67.06%) |
| CMYK | cmyk(39% 68% 0% 67%) |
| Lab | lab(15.8 22.51 -30.84) |
| LCH | lch(15.8 38.18 306.12) |
| OKLab | oklab(28.808% 0.04894 -0.08657) |
| OKLCH | oklch(28.808% 0.09944 299.483) |
| Display P3 | color(display-p3 0.18691 0.11029 0.31727) |
| Rec. 2020 | color(rec2020 0.12143 0.06018 0.25528) |
| Adobe RGB | color(a98-rgb 0.19286 0.12844 0.32678) |
| ProPhoto RGB | color(prophoto-rgb 0.15182 0.09816 0.24337) |
| Linear sRGB | color(srgb-linear 0.0331 0.01096 0.08866) |
| XYZ D65 | color(xyz-d65 0.03357 0.02128 0.08622) |
| XYZ D50 | color(xyz-d50 0.03134 0.0206 0.06483) |
| SwiftUI | Color(red: 0.2, green: 0.106, blue: 0.329) |
| UIKit | UIColor(red: 0.2, green: 0.106, blue: 0.329, alpha: 1) |
| Flutter / Compose | Color(0xFF331B54) |
| Android XML | #331B54 |

## Facts

- Closest name: Fabric of Space
- 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.73:1
- Contrast with black: 1.43:1

## Tints

#331b54, #443065, #564575, #695b86, #7d7197, #9187a8, #a69eb9, #bcb6ca, #d2cedc, #e8e6ed

## Shades

#331b54, #2b1648, #23113c, #1c0c31, #140826, #0d051b, #070211, #030108, #010002, #000000

## Tones

#331b54, #321e50, #31204c, #302248, #2f2344, #2e2540, #2e263c, #2d2838, #2c2934, #2b2a2f

## Harmonies

- Complementary: #331b54, #263000
- Split: #331b54, #3a2800, #00370a
- Analogous: #331b54, #18245b, #441342
- Triadic: #331b54, #491c00, #00362c
- Tetradic: #331b54, #4f0d29, #263000, #00362c
- Square: #331b54, #520e08, #263000, #00333d
- Monochromatic: #331b54, #0c0021, #170032, #523b77, #745d9c

## Questions about #331b54

### What color is #331b54?

#331b54 is soft very dark violet. The closest named color is Fabric of Space. In RGB it is rgb(51, 27, 84), in HSL hsl(265.26, 51.35%, 21.76%) and in OKLCH oklch(28.808% 0.09944 299.483).

### What colors go well with #331b54?

The complementary color of #331b54 is #263000. For a calmer combination use the analogous colors #18245b and #441342. The triadic partners are #491c00 and #00362c.

### Is white or black text more readable on #331b54?

White text reads better on #331b54: white gives a contrast ratio of 14.73:1 and black gives 1.43:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #331b54 a warm or cool color?

#331b54 is a cool color. In OKLCH its hue is 299 degrees, its lightness 28.8% and its chroma 0.099.
