#403D49#403D49

#403D49 is a dark, muted violet. Relative luminance 0.049; OKLCH L 36.8% C 0.021 H 296.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#403D49
RGBrgb(64, 61, 73)
HSLhsl(255, 9%, 26%)
HSVhsv(255, 16%, 29%)
CMYKcmyk(12.3%, 16.4%, 0%, 71.4%)
CIE-LABlab(26.47, 4.09, -6.84)
CIE-LCHlch(26.47, 7.97, 300.90°)
OKLaboklab(36.77% 0.0093 -0.0185)
OKLCHoklch(36.77% 0.021 296.8)
XYZxyz(4.9855, 4.9085, 6.9868)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D49 #46493D
analogous
#3D4049 #403D49 #463D49
triadic
#403D49 #49403D #3D4940
tetradic
#403D49 #493D40 #46493D #3D4946
square
#403D49 #493D40 #46493D #3D4946
split-complementary
#403D49 #49463D #40493D
monochromatic
#0F0E11 #232128 #403D49 #5D596A #7B758C

Accessibility & contrast

On white

10.60
#403D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#403D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D49
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D49#FFFFFF#000000##FFFFFF
##403D491.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F4A
Deuteranopia (green-blind)
#3B3E49
Tritanopia (blue-blind)
#3E3F41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403d49;
/* rgb */ color: rgb(64, 61, 73);
/* oklch */ color: oklch(36.8% 0.021 296.8);
Tailwind
colors: {
  custom: {
    50: '#74727b',
    500: '#403d49',
    950: '#000000',
  },
}
SCSS
$custom: #403d49;
$custom-light: #74727b;
$custom-dark: #000000;
JSON
{
  "hex": "#403d49",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 73
  },
  "hsl": {
    "h": 255,
    "s": 8.955,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.02072,
    "h": 296.8
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#403D49
secondary
#74786A
accent
#B276A3
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403D49

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

Preview Lab → · Contrast checker → · Palette generator →

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