#400441#400441

#400441 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.115 H 327.5°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#400441
RGBrgb(64, 4, 65)
HSLhsl(299, 88%, 14%)
HSVhsv(299, 94%, 25%)
CMYKcmyk(1.5%, 93.8%, 0%, 74.5%)
CIE-LABlab(12.98, 35.06, -22.31)
CIE-LCHlch(12.98, 41.55, 327.53°)
OKLaboklab(26.53% 0.0973 -0.062)
OKLCHoklch(26.53% 0.115 327.5)
XYZxyz(3.1119, 1.5587, 5.1370)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400441 #054104
analogous
#210441 #400441 #410423
triadic
#400441 #414004 #044140
tetradic
#400441 #412104 #054104 #042341
square
#400441 #412104 #054104 #042341
split-complementary
#400441 #234104 #044121
monochromatic
#1C021D #1C021D #400441 #79087B #B20BB4

Accessibility & contrast

On white

16.01
#400441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400441
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400441#FFFFFF#000000##FFFFFF
##4004411.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#420F23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400441;
/* rgb */ color: rgb(64, 4, 65);
/* oklch */ color: oklch(26.5% 0.115 327.5);
Tailwind
colors: {
  custom: {
    50: '#784e76',
    500: '#400441',
    950: '#000000',
  },
}
SCSS
$custom: #400441;
$custom-light: #784e76;
$custom-dark: #000000;
JSON
{
  "hex": "#400441",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 299.016,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26528,
    "c": 0.1154,
    "h": 327.5
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#400441
secondary
#20821F
accent
#FF292D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #400441

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

Preview Lab → · Contrast checker → · Palette generator →

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