#403B4D#403B4D

#403B4D is a dark, muted violet. Relative luminance 0.048; OKLCH L 36.5% C 0.031 H 297.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#403B4D
RGBrgb(64, 59, 77)
HSLhsl(257, 13%, 27%)
HSVhsv(257, 23%, 30%)
CMYKcmyk(16.9%, 23.4%, 0%, 69.8%)
CIE-LABlab(26.02, 6.44, -10.16)
CIE-LCHlch(26.02, 12.03, 302.37°)
OKLaboklab(36.47% 0.0145 -0.0277)
OKLCHoklch(36.47% 0.031 297.6)
XYZxyz(5.0176, 4.7537, 7.6730)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B4D #484D3B
analogous
#3B3F4D #403B4D #493B4D
triadic
#403B4D #4D403B #3B4D40
tetradic
#403B4D #4D3B3F #484D3B #3B4D49
square
#403B4D #4D3B3F #484D3B #3B4D49
split-complementary
#403B4D #4D493B #3F4D3B
monochromatic
#0E0D11 #23202A #403B4D #5D5670 #7A7192

Accessibility & contrast

On white

10.76
#403B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#403B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B4D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B4D#FFFFFF#000000##FFFFFF
##403B4D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4E
Deuteranopia (green-blind)
#383D4C
Tritanopia (blue-blind)
#3E3E41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403b4d;
/* rgb */ color: rgb(64, 59, 77);
/* oklch */ color: oklch(36.5% 0.031 297.6);
Tailwind
colors: {
  custom: {
    50: '#75707e',
    500: '#403b4d',
    950: '#000000',
  },
}
SCSS
$custom: #403b4d;
$custom-light: #75707e;
$custom-dark: #000000;
JSON
{
  "hex": "#403b4d",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 77
  },
  "hsl": {
    "h": 256.667,
    "s": 13.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.03123,
    "h": 297.6
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#403B4D
secondary
#777C67
accent
#B672A3
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #403B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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