#403E4A#403E4A

#403E4A is a dark, muted violet. Relative luminance 0.050; OKLCH L 37.1% C 0.021 H 293.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#403E4A
RGBrgb(64, 62, 74)
HSLhsl(250, 9%, 27%)
HSVhsv(250, 16%, 29%)
CMYKcmyk(13.5%, 16.2%, 0%, 71%)
CIE-LABlab(26.82, 3.69, -6.98)
CIE-LCHlch(26.82, 7.89, 297.85°)
OKLaboklab(37.05% 0.008 -0.0189)
OKLCHoklch(37.05% 0.021 293)
XYZxyz(5.0728, 5.0296, 7.1808)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E4A #484A3E
analogous
#3E424A #403E4A #463E4A
triadic
#403E4A #4A403E #3E4A40
tetradic
#403E4A #4A3E42 #484A3E #3E4A46
square
#403E4A #4A3E42 #484A3E #3E4A46
split-complementary
#403E4A #4A463E #424A3E
monochromatic
#0E0E11 #232229 #403E4A #5D5A6B #7A768C

Accessibility & contrast

On white

10.47
#403E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#403E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E4A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E4A#FFFFFF#000000##FFFFFF
##403E4A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#3C3F4A
Tritanopia (blue-blind)
#3E4042
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403e4a;
/* rgb */ color: rgb(64, 62, 74);
/* oklch */ color: oklch(37.1% 0.021 293.0);
Tailwind
colors: {
  custom: {
    50: '#74737c',
    500: '#403e4a',
    950: '#000000',
  },
}
SCSS
$custom: #403e4a;
$custom-light: #74737c;
$custom-dark: #000000;
JSON
{
  "hex": "#403e4a",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 74
  },
  "hsl": {
    "h": 250,
    "s": 8.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37051,
    "c": 0.0205,
    "h": 293
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#403E4A
secondary
#77796B
accent
#B276A8
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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