#403C4A#403C4A

#403C4A is a dark, muted violet. Relative luminance 0.048; OKLCH L 36.6% C 0.024 H 298.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#403C4A
RGBrgb(64, 60, 74)
HSLhsl(257, 10%, 26%)
HSVhsv(257, 19%, 29%)
CMYKcmyk(13.5%, 18.9%, 0%, 71%)
CIE-LABlab(26.20, 5.01, -7.90)
CIE-LCHlch(26.20, 9.36, 302.35°)
OKLaboklab(36.57% 0.0115 -0.0214)
OKLCHoklch(36.57% 0.024 298.3)
XYZxyz(4.9660, 4.8161, 7.1452)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C4A #464A3C
analogous
#3C3F4A #403C4A #473C4A
triadic
#403C4A #4A403C #3C4A40
tetradic
#403C4A #4A3C3F #464A3C #3C4A47
square
#403C4A #4A3C3F #464A3C #3C4A47
split-complementary
#403C4A #4A473C #3F4A3C
monochromatic
#0F0E11 #232128 #403C4A #5D576C #7B738D

Accessibility & contrast

On white

10.70
#403C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#403C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C4A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C4A#FFFFFF#000000##FFFFFF
##403C4A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4B
Deuteranopia (green-blind)
#3A3E4A
Tritanopia (blue-blind)
#3E3E41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403c4a;
/* rgb */ color: rgb(64, 60, 74);
/* oklch */ color: oklch(36.6% 0.024 298.3);
Tailwind
colors: {
  custom: {
    50: '#75717c',
    500: '#403c4a',
    950: '#000000',
  },
}
SCSS
$custom: #403c4a;
$custom-light: #75717c;
$custom-dark: #000000;
JSON
{
  "hex": "#403c4a",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 74
  },
  "hsl": {
    "h": 257.143,
    "s": 10.448,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36572,
    "c": 0.02432,
    "h": 298.3
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#403C4A
secondary
#747969
accent
#B374A1
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #403C4A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#403C4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva