#403044#403044

#403044 is a dark, muted purple. Relative luminance 0.036; OKLCH L 33.5% C 0.041 H 319.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#403044
RGBrgb(64, 48, 68)
HSLhsl(288, 17%, 23%)
HSVhsv(288, 29%, 27%)
CMYKcmyk(5.9%, 29.4%, 0%, 73.3%)
CIE-LABlab(22.38, 11.55, -9.70)
CIE-LCHlch(22.38, 15.09, 319.97°)
OKLaboklab(33.54% 0.0308 -0.0263)
OKLCHoklch(33.54% 0.041 319.5)
XYZxyz(4.2146, 3.6213, 5.9447)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403044 #344430
analogous
#363044 #403044 #44303E
triadic
#403044 #444030 #304440
tetradic
#403044 #443630 #344430 #303E44
square
#403044 #443630 #344430 #303E44
split-complementary
#403044 #3E4430 #304436
monochromatic
#110D12 #1E1720 #403044 #624968 #84638C

Accessibility & contrast

On white

12.18
#403044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#403044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403044
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403044#FFFFFF#000000##FFFFFF
##4030441.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3445
Deuteranopia (green-blind)
#313643
Tritanopia (blue-blind)
#403237
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403044;
/* rgb */ color: rgb(64, 48, 68);
/* oklch */ color: oklch(33.5% 0.041 319.5);
Tailwind
colors: {
  custom: {
    50: '#756878',
    500: '#403044',
    950: '#000000',
  },
}
SCSS
$custom: #403044;
$custom-light: #756878;
$custom-dark: #000000;
JSON
{
  "hex": "#403044",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 68
  },
  "hsl": {
    "h": 288,
    "s": 17.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.0405,
    "h": 319.5
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#403044
secondary
#60745B
accent
#BA6E7D
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #403044

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

Preview Lab → · Contrast checker → · Palette generator →

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