# #40173b color: Soft very dark purple

#40173b is rgb(64, 23, 59) in RGB and oklch(28.288% 0.08231 332.448) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40173b

## Formats

| Format | Value |
| --- | --- |
| HEX | #40173b |
| RGB | rgb(64, 23, 59) |
| HSL | hsl(307.32, 47.13%, 17.06%) |
| HSB / HSV | hsv(307.32 64.06% 25.1%) |
| HWB | hwb(307.32 9.02% 74.9%) |
| CMYK | cmyk(0% 64% 8% 75%) |
| Lab | lab(15.59 24.36 -13.77) |
| LCH | lch(15.59 27.98 330.52) |
| OKLab | oklab(28.288% 0.07298 -0.03807) |
| OKLCH | oklch(28.288% 0.08231 332.448) |
| Display P3 | color(display-p3 0.23125 0.09976 0.22467) |
| Rec. 2020 | color(rec2020 0.14969 0.05363 0.16116) |
| Adobe RGB | color(a98-rgb 0.22902 0.11483 0.23732) |
| ProPhoto RGB | color(prophoto-rgb 0.15801 0.09244 0.16661) |
| Linear sRGB | color(srgb-linear 0.05127 0.00857 0.04374) |
| XYZ D65 | color(xyz-d65 0.0321 0.02019 0.04358) |
| XYZ D50 | color(xyz-d50 0.03191 0.0202 0.03278) |
| SwiftUI | Color(red: 0.251, green: 0.09, blue: 0.231) |
| UIKit | UIColor(red: 0.251, green: 0.09, blue: 0.231, alpha: 1) |
| Flutter / Compose | Color(0xFF40173B) |
| Android XML | #40173B |

## Facts

- Closest name: Soft very dark purple
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.96:1
- Contrast with black: 1.4:1

## Tints

#40173b, #522c4d, #64415f, #775771, #896d84, #9c8498, #b09bac, #c3b3c0, #d7ccd5, #ebe5ea

## Shades

#40173b, #361232, #2d0e29, #240a21, #1b0619, #130411, #0b0209, #050104, #010001, #000000

## Tones

#40173b, #3e1a39, #3c1c38, #3a1e36, #382034, #362232, #332431, #31252f, #2f272d, #2c282b

## Harmonies

- Complementary: #40173b, #003414
- Split: #40173b, #232f00, #00342c
- Analogous: #40173b, #321d4b, #481426
- Triadic: #40173b, #372700, #00323d
- Tetradic: #40173b, #4a160c, #003414, #00323d
- Square: #40173b, #451d00, #003414, #002c4e
- Monochromatic: #40173b, #140011, #20001d, #62365c, #86577f

## Questions about #40173b

### What color is #40173b?

#40173b is soft very dark purple. The closest named color is Soft very dark purple. In RGB it is rgb(64, 23, 59), in HSL hsl(307.32, 47.13%, 17.06%) and in OKLCH oklch(28.288% 0.08231 332.448).

### What colors go well with #40173b?

The complementary color of #40173b is #003414. For a calmer combination use the analogous colors #321d4b and #481426. The triadic partners are #372700 and #00323d.

### Is white or black text more readable on #40173b?

White text reads better on #40173b: white gives a contrast ratio of 14.96:1 and black gives 1.4:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40173b a warm or cool color?

#40173b is a neutral color. In OKLCH its hue is 332 degrees, its lightness 28.3% and its chroma 0.082.
