# #331d62 color: Dark Dreams

#331d62 is rgb(51, 29, 98) in RGB and oklch(30.338% 0.11548 292.87) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #331d62 |
| RGB | rgb(51, 29, 98) |
| HSL | hsl(259.13, 54.33%, 24.9%) |
| HSB / HSV | hsv(259.13 70.41% 38.43%) |
| HWB | hwb(259.13 11.37% 61.57%) |
| CMYK | cmyk(48% 70% 0% 62%) |
| Lab | lab(17.26 24.73 -37.81) |
| LCH | lch(17.26 45.18 303.18) |
| OKLab | oklab(30.338% 0.04488 -0.1064) |
| OKLCH | oklch(30.338% 0.11548 292.87) |
| Display P3 | color(display-p3 0.18773 0.11762 0.36978) |
| Rec. 2020 | color(rec2020 0.12796 0.06738 0.30952) |
| Adobe RGB | color(a98-rgb 0.19409 0.13528 0.37786) |
| ProPhoto RGB | color(prophoto-rgb 0.16432 0.10542 0.28998) |
| Linear sRGB | color(srgb-linear 0.0331 0.01229 0.12214) |
| XYZ D65 | color(xyz-d65 0.04009 0.02464 0.1182) |
| XYZ D50 | color(xyz-d50 0.03664 0.02358 0.08887) |
| SwiftUI | Color(red: 0.2, green: 0.114, blue: 0.384) |
| UIKit | UIColor(red: 0.2, green: 0.114, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF331D62) |
| Android XML | #331D62 |

## Facts

- Closest name: Dark Dreams
- Hue family: Violet, soft dark violet
- Closest Tailwind class: violet-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.07:1
- Contrast with black: 1.49:1

## Tints

#331d62, #443372, #564881, #685e91, #7c73a1, #908ab0, #a5a0c0, #bbb7d0, #d1cfdf, #e8e7ef

## Shades

#331d62, #2b1854, #231347, #1c0e3a, #14092d, #0d0521, #070316, #03010b, #010003, #000000

## Tones

#331d62, #32205d, #312358, #312553, #30274e, #302949, #2f2a44, #2f2b3f, #2f2d39, #2f2e34

## Harmonies

- Complementary: #331d62, #303200
- Split: #331d62, #422900, #003c00
- Analogous: #331d62, #0c2967, #48124f
- Triadic: #331d62, #531a00, #003b2b
- Tetradic: #331d62, #560834, #303200, #003b2b
- Square: #331d62, #5b0610, #303200, #00383e
- Monochromatic: #331d62, #0a0024, #18003f, #523f86, #7361ac

## Questions about #331d62

### What color is #331d62?

#331d62 is soft dark violet. The closest named color is Dark Dreams. In RGB it is rgb(51, 29, 98), in HSL hsl(259.13, 54.33%, 24.9%) and in OKLCH oklch(30.338% 0.11548 292.87).

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

The complementary color of #331d62 is #303200. For a calmer combination use the analogous colors #0c2967 and #48124f. The triadic partners are #531a00 and #003b2b.

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

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

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

#331d62 is a cool color. In OKLCH its hue is 293 degrees, its lightness 30.3% and its chroma 0.115.
