# #40173c color: Soft very dark purple

#40173c is rgb(64, 23, 60) in RGB and oklch(28.346% 0.08331 331.427) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40173c |
| RGB | rgb(64, 23, 60) |
| HSL | hsl(305.85, 47.13%, 17.06%) |
| HSB / HSV | hsv(305.85 64.06% 25.1%) |
| HWB | hwb(305.85 9.02% 74.9%) |
| CMYK | cmyk(0% 64% 6% 75%) |
| Lab | lab(15.64 24.51 -14.41) |
| LCH | lch(15.64 28.43 329.56) |
| OKLab | oklab(28.346% 0.07316 -0.03985) |
| OKLCH | oklch(28.346% 0.08331 331.427) |
| Display P3 | color(display-p3 0.23125 0.09976 0.22836) |
| Rec. 2020 | color(rec2020 0.14988 0.05371 0.16487) |
| Adobe RGB | color(a98-rgb 0.22902 0.11483 0.24084) |
| ProPhoto RGB | color(prophoto-rgb 0.15851 0.0926 0.16952) |
| Linear sRGB | color(srgb-linear 0.05127 0.00857 0.04519) |
| XYZ D65 | color(xyz-d65 0.03236 0.02029 0.04496) |
| XYZ D50 | color(xyz-d50 0.03212 0.02029 0.03381) |
| SwiftUI | Color(red: 0.251, green: 0.09, blue: 0.235) |
| UIKit | UIColor(red: 0.251, green: 0.09, blue: 0.235, alpha: 1) |
| Flutter / Compose | Color(0xFF40173C) |
| Android XML | #40173C |

## 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.94:1
- Contrast with black: 1.41:1

## Tints

#40173c, #522c4d, #64415f, #775772, #896d85, #9c8498, #af9bac, #c3b3c0, #d7ccd5, #ebe5ea

## Shades

#40173c, #361233, #2d0e2a, #240a21, #1b0619, #130411, #0b020a, #050104, #010001, #000000

## Tones

#40173c, #3e1a3a, #3c1c38, #3a1e37, #382035, #362233, #342431, #31252f, #2f272d, #2c282c

## Harmonies

- Complementary: #40173c, #003512
- Split: #40173c, #242f00, #00342c
- Analogous: #40173c, #311d4c, #491327
- Triadic: #40173c, #382700, #00323d
- Tetradic: #40173c, #4b150d, #003512, #00323d
- Square: #40173c, #461d00, #003512, #002d4f
- Monochromatic: #40173c, #140012, #20001e, #62365d, #865880

## Questions about #40173c

### What color is #40173c?

#40173c is soft very dark purple. The closest named color is Soft very dark purple. In RGB it is rgb(64, 23, 60), in HSL hsl(305.85, 47.13%, 17.06%) and in OKLCH oklch(28.346% 0.08331 331.427).

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

The complementary color of #40173c is #003512. For a calmer combination use the analogous colors #311d4c and #491327. The triadic partners are #382700 and #00323d.

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

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

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

#40173c is a neutral color. In OKLCH its hue is 331 degrees, its lightness 28.3% and its chroma 0.083.
