---
title: "#402038 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #402038 — RGB(64, 32, 56), HSL(315, 33%, 19%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/402038
---
Custom color

# #402038

#

Add to Chrome →

Reference

## Color values

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

Hue

315°

Sat

33%

Light

19%

Shades & tints

CSS variables

CSS

```
/* #402038 */
:root {
  --color--402038: #402038;
  --color--402038-rgb: 64, 32, 56;
  --color--402038-hsl: 315, 33%, 19%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#402038

#204028

Analogous

#382040

#402038

#402028

Triadic

#402038

#384020

#203840

Split complementary

#402038

#284020

#204038

WCAG contrast

Aa

The quick brown fox.

14.17

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.48

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Eminence

#6C3461

Finn

#692D54

Cosmic

#76395D

Thunder

#33292F

Plum

#843179

Strikemaster

#956387

Cannon Pink

#894367

Eggplant

#614051

Voodoo

#533455

Tawny Port

#692545

Loulou

#460B41

Bouquet

#AE809E

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
