#403D48#403D48

#403D48 is a dark, near-neutral violet. Relative luminance 0.049; OKLCH L 36.7% C 0.019 H 297.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#403D48
RGBrgb(64, 61, 72)
HSLhsl(256, 8%, 26%)
HSVhsv(256, 15%, 28%)
CMYKcmyk(11.1%, 15.3%, 0%, 71.8%)
CIE-LABlab(26.43, 3.85, -6.24)
CIE-LCHlch(26.43, 7.33, 301.65°)
OKLaboklab(36.73% 0.0089 -0.0168)
OKLCHoklch(36.73% 0.019 297.9)
XYZxyz(4.9526, 4.8953, 6.8136)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D48 #45483D
analogous
#3D3F48 #403D48 #453D48
triadic
#403D48 #48403D #3D4840
tetradic
#403D48 #483D3F #45483D #3D4845
square
#403D48 #483D3F #45483D #3D4845
split-complementary
#403D48 #48453D #3F483D
monochromatic
#0F0E11 #232127 #403D48 #5D5969 #7B758A

Accessibility & contrast

On white

10.61
#403D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D48
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D48#FFFFFF#000000##FFFFFF
##403D481.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#3B3E48
Tritanopia (blue-blind)
#3F3F41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403d48;
/* rgb */ color: rgb(64, 61, 72);
/* oklch */ color: oklch(36.7% 0.019 297.9);
Tailwind
colors: {
  custom: {
    50: '#74727b',
    500: '#403d48',
    950: '#000000',
  },
}
SCSS
$custom: #403d48;
$custom-light: #74727b;
$custom-dark: #000000;
JSON
{
  "hex": "#403d48",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 72
  },
  "hsl": {
    "h": 256.364,
    "s": 8.271,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.01905,
    "h": 297.9
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#403D48
secondary
#73776A
accent
#B177A1
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403D48

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

Preview Lab → · Contrast checker → · Palette generator →

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