---
title: "#401F5C Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #401F5C — RGB(64, 31, 92), HSL(272, 50%, 24%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/401f5c
---
Custom color

# #401F5C

#

Add to Chrome →

Reference

## Color values

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

Hue

272°

Sat

50%

Light

24%

Shades & tints

CSS variables

CSS

```
/* #401F5C */
:root {
  --color--401f5c: #401F5C;
  --color--401f5c-rgb: 64, 31, 92;
  --color--401f5c-hsl: 272, 50%, 24%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#401F5C

#3B5C1F

Analogous

#211F5C

#401F5C

#5C1F5A

Triadic

#401F5C

#5C3F1F

#1F5C3F

Split complementary

#401F5C

#5A5C1F

#1F5C21

WCAG contrast

Aa

The quick brown fox.

13.39

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.57

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Grape

#381A51

Honey Flower

#4F1C70

Scarlet Gum

#431560

Jagger

#350E57

Valhalla

#2B194F

Meteorite

#3C1F76

Royal Purple

#6B3FA0

Violet

#240A40

Blackcurrant

#32293A

Affair

#714693

Bastille

#292130

Amethyst

#9966CC

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
