#403442#403442

#403442 is a dark, muted purple. Relative luminance 0.039; OKLCH L 34.3% C 0.029 H 321.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#403442
RGBrgb(64, 52, 66)
HSLhsl(291, 12%, 23%)
HSVhsv(291, 21%, 26%)
CMYKcmyk(3%, 21.2%, 0%, 74.1%)
CIE-LABlab(23.47, 8.38, -6.70)
CIE-LCHlch(23.47, 10.73, 321.36°)
OKLaboklab(34.35% 0.0227 -0.018)
OKLCHoklch(34.35% 0.029 321.5)
XYZxyz(4.3256, 3.9394, 5.6857)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403442 #364234
analogous
#393442 #403442 #42343D
triadic
#403442 #424034 #344240
tetradic
#403442 #423934 #364234 #343D42
square
#403442 #423934 #364234 #343D42
split-complementary
#403442 #3D4234 #344239
monochromatic
#110D11 #1F1920 #403442 #614F64 #826A86

Accessibility & contrast

On white

11.75
#403442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403442
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403442#FFFFFF#000000##FFFFFF
##4034421.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#353841
Tritanopia (blue-blind)
#403539
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403442;
/* rgb */ color: rgb(64, 52, 66);
/* oklch */ color: oklch(34.3% 0.029 321.5);
Tailwind
colors: {
  custom: {
    50: '#756b76',
    500: '#403442',
    950: '#000000',
  },
}
SCSS
$custom: #403442;
$custom-light: #756b76;
$custom-dark: #000000;
JSON
{
  "hex": "#403442",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 291.429,
    "s": 11.864,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34349,
    "c": 0.02894,
    "h": 321.5
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#403442
secondary
#637260
accent
#B5737C
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #403442

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

Preview Lab → · Contrast checker → · Palette generator →

#403442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva