# #3d38a1 color: Purple Cabbage

#3d38a1 is rgb(61, 56, 161) in RGB and oklch(41.411% 0.16393 278.581) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/3d38a1

## Formats

| Format | Value |
| --- | --- |
| HEX | #3d38a1 |
| RGB | rgb(61, 56, 161) |
| HSL | hsl(242.86, 48.39%, 42.55%) |
| HSB / HSV | hsv(242.86 65.22% 63.14%) |
| HWB | hwb(242.86 21.96% 36.86%) |
| CMYK | cmyk(62% 65% 0% 37%) |
| Lab | lab(29.5 27.78 -57.48) |
| LCH | lch(29.5 63.84 295.79) |
| OKLab | oklab(41.411% 0.02446 -0.1621) |
| OKLCH | oklch(41.411% 0.16393 278.581) |
| Display P3 | color(display-p3 0.23587 0.22029 0.60817) |
| Rec. 2020 | color(rec2020 0.20533 0.16927 0.56219) |
| Adobe RGB | color(a98-rgb 0.24322 0.23019 0.61504) |
| ProPhoto RGB | color(prophoto-rgb 0.25894 0.18757 0.52533) |
| Linear sRGB | color(srgb-linear 0.04667 0.03955 0.3564) |
| XYZ D65 | color(xyz-d65 0.09771 0.06393 0.34439) |
| XYZ D50 | color(xyz-d50 0.08657 0.06034 0.25899) |
| SwiftUI | Color(red: 0.239, green: 0.22, blue: 0.631) |
| UIKit | UIColor(red: 0.239, green: 0.22, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF3D38A1) |
| Android XML | #3D38A1 |

## Facts

- Closest name: Purple Cabbage
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: indigo-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.22:1
- Contrast with black: 2.28:1

## Tints

#3d38a1, #4c4dac, #5d61b6, #6f75c0, #8188ca, #959cd4, #a9afdd, #bec3e6, #d3d7ee, #e9ebf7

## Shades

#3d38a1, #342f8b, #2b2776, #221f62, #1a174e, #120f3c, #0a082a, #040419, #010109, #000001

## Tones

#3d38a1, #3d3c99, #3e3f90, #3f4288, #404480, #424677, #43486f, #454966, #474a5d, #494b55

## Harmonies

- Complementary: #3d38a1, #5a4b00
- Split: #3d38a1, #713d00, #355800
- Analogous: #3d38a1, #004c96, #65268d
- Triadic: #3d38a1, #8e1300, #005e31
- Tetradic: #3d38a1, #7f1569, #5a4b00, #005e31
- Square: #3d38a1, #8d0339, #5a4b00, #005b55
- Monochromatic: #3d38a1, #0e0046, #240d7a, #5b5dc9, #7c82f2

## Questions about #3d38a1

### What color is #3d38a1?

#3d38a1 is soft dark indigo. The closest named color is Purple Cabbage. In RGB it is rgb(61, 56, 161), in HSL hsl(242.86, 48.39%, 42.55%) and in OKLCH oklch(41.411% 0.16393 278.581).

### What colors go well with #3d38a1?

The complementary color of #3d38a1 is #5a4b00. For a calmer combination use the analogous colors #004c96 and #65268d. The triadic partners are #8e1300 and #005e31.

### Is white or black text more readable on #3d38a1?

White text reads better on #3d38a1: white gives a contrast ratio of 9.22:1 and black gives 2.28:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #3d38a1 a warm or cool color?

#3d38a1 is a cool color. In OKLCH its hue is 279 degrees, its lightness 41.4% and its chroma 0.164.
