---
title: "#401C40 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #401C40 — RGB(64, 28, 64), HSL(300, 39%, 18%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/401c40
---
Custom color

# #401C40

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

300°

Sat

39%

Light

18%

Shades & tints

CSS variables

CSS

```
/* #401C40 */
:root {
  --color--401c40: #401C40;
  --color--401c40-rgb: 64, 28, 64;
  --color--401c40-hsl: 300, 39%, 18%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#401C40

#1C401C

Analogous

#2E1C40

#401C40

#401C2E

Triadic

#401C40

#40401C

#1C4040

Split complementary

#401C40

#2E401C

#1C402E

WCAG contrast

Aa

The quick brown fox.

14.40

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.46

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Revolver

#2C1632

Voodoo

#533455

Plum

#843179

Bossanova

#4E2A5A

Eminence

#6C3461

Fuchsia Pink

#C154C1

Loulou

#460B41

Mortar

#504351

Vivid Violet

#803790

Finn

#692D54

Violet Eggplant

#991199

Valentino

#350E42

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
