#403B4E#403B4E

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

Color values

HEX#403B4E
RGBrgb(64, 59, 78)
HSLhsl(256, 14%, 27%)
HSVhsv(256, 24%, 31%)
CMYKcmyk(17.9%, 24.4%, 0%, 69.4%)
CIE-LABlab(26.06, 6.70, -10.75)
CIE-LCHlch(26.06, 12.67, 301.93°)
OKLaboklab(36.52% 0.0148 -0.0294)
OKLCHoklch(36.52% 0.033 296.8)
XYZxyz(5.0532, 4.7680, 7.8603)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B4E #494E3B
analogous
#3B404E #403B4E #4A3B4E
triadic
#403B4E #4E403B #3B4E40
tetradic
#403B4E #4E3B40 #494E3B #3B4E4A
square
#403B4E #4E3B40 #494E3B #3B4E4A
split-complementary
#403B4E #4E4A3B #404E3B
monochromatic
#0E0D11 #23212B #403B4E #5D5571 #797093

Accessibility & contrast

On white

10.75
#403B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B4E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B4E#FFFFFF#000000##FFFFFF
##403B4E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#383D4D
Tritanopia (blue-blind)
#3D3E41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403b4e;
/* rgb */ color: rgb(64, 59, 78);
/* oklch */ color: oklch(36.5% 0.033 296.8);
Tailwind
colors: {
  custom: {
    50: '#75707f',
    500: '#403b4e',
    950: '#000000',
  },
}
SCSS
$custom: #403b4e;
$custom-light: #75707f;
$custom-dark: #000000;
JSON
{
  "hex": "#403b4e",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 78
  },
  "hsl": {
    "h": 255.789,
    "s": 13.869,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.03289,
    "h": 296.8
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#403B4E
secondary
#787E67
accent
#B771A4
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #403B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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