# #40173a color: Soft very dark purple

#40173a is rgb(64, 23, 58) in RGB and oklch(28.231% 0.08133 333.493) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40173a |
| RGB | rgb(64, 23, 58) |
| HSL | hsl(308.78, 47.13%, 17.06%) |
| HSB / HSV | hsv(308.78 64.06% 25.1%) |
| HWB | hwb(308.78 9.02% 74.9%) |
| CMYK | cmyk(0% 64% 9% 75%) |
| Lab | lab(15.55 24.21 -13.14) |
| LCH | lch(15.55 27.55 331.52) |
| OKLab | oklab(28.231% 0.07278 -0.0363) |
| OKLCH | oklch(28.231% 0.08133 333.493) |
| Display P3 | color(display-p3 0.23125 0.09976 0.22098) |
| Rec. 2020 | color(rec2020 0.14951 0.05356 0.15746) |
| Adobe RGB | color(a98-rgb 0.22902 0.11483 0.2338) |
| ProPhoto RGB | color(prophoto-rgb 0.15753 0.09229 0.16372) |
| Linear sRGB | color(srgb-linear 0.05127 0.00857 0.04231) |
| XYZ D65 | color(xyz-d65 0.03184 0.02008 0.04223) |
| XYZ D50 | color(xyz-d50 0.03171 0.02011 0.03176) |
| SwiftUI | Color(red: 0.251, green: 0.09, blue: 0.227) |
| UIKit | UIColor(red: 0.251, green: 0.09, blue: 0.227, alpha: 1) |
| Flutter / Compose | Color(0xFF40173A) |
| Android XML | #40173A |

## Facts

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

## Tints

#40173a, #522c4c, #64415e, #775670, #896d83, #9c8497, #b09bab, #c3b3bf, #d7ccd4, #ebe5e9

## Shades

#40173a, #361231, #2d0e28, #240a20, #1b0618, #130410, #0b0209, #050104, #010001, #000000

## Tones

#40173a, #3e1a38, #3c1c37, #3a1e35, #382034, #362232, #332330, #31252f, #2f272d, #2c282b

## Harmonies

- Complementary: #40173a, #003415
- Split: #40173a, #222f00, #00342d
- Analogous: #40173a, #321d4a, #481425
- Triadic: #40173a, #362700, #00313e
- Tetradic: #40173a, #4a160b, #003415, #00313e
- Square: #40173a, #441e00, #003415, #002c4e
- Monochromatic: #40173a, #140011, #20001c, #62365b, #86577d

## Questions about #40173a

### What color is #40173a?

#40173a is soft very dark purple. The closest named color is Soft very dark purple. In RGB it is rgb(64, 23, 58), in HSL hsl(308.78, 47.13%, 17.06%) and in OKLCH oklch(28.231% 0.08133 333.493).

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

The complementary color of #40173a is #003415. For a calmer combination use the analogous colors #321d4a and #481425. The triadic partners are #362700 and #00313e.

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

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

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

#40173a is a neutral color. In OKLCH its hue is 333 degrees, its lightness 28.2% and its chroma 0.081.
