---
title: "#400080 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #400080 — RGB(64, 0, 128), HSL(270, 100%, 25%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/400080
---
Custom color

# #400080

#

Add to Chrome →

Reference

## Color values

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

Hue

270°

Sat

100%

Light

25%

Shades & tints

CSS variables

CSS

```
/* #400080 */
:root {
  --color--400080: #400080;
  --color--400080-rgb: 64, 0, 128;
  --color--400080-hsl: 270, 100%, 25%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#400080

#408000

Analogous

#000080

#400080

#800080

Triadic

#400080

#804000

#008040

Split complementary

#400080

#808000

#008000

WCAG contrast

Aa

The quick brown fox.

13.73

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.53

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Pigment Indigo

#4B0082

Kingfisher Daisy

#3E0480

Christalle

#33036B

Blue Diamond

#380474

Windsor

#3C0878

Cherry Pie

#2A0359

Purple

#660099

Paua

#260368

Electric Violet

#8B00FF

Paris M

#26056A

Tolopea

#1B0245

Jagger

#350E57

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
