#401049#401049

#401049 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.108 H 320.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#401049
RGBrgb(64, 16, 73)
HSLhsl(291, 64%, 17%)
HSVhsv(291, 78%, 29%)
CMYKcmyk(12.3%, 78.1%, 0%, 71.4%)
CIE-LABlab(15.18, 31.99, -24.38)
CIE-LCHlch(15.18, 40.22, 322.69°)
OKLaboklab(28.28% 0.0838 -0.0682)
OKLCHoklch(28.28% 0.108 320.9)
XYZxyz(3.5021, 1.9418, 6.4924)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401049 #194910
analogous
#231049 #401049 #491036
triadic
#401049 #494010 #104940
tetradic
#401049 #492310 #194910 #103649
square
#401049 #492310 #194910 #103649
split-complementary
#401049 #364910 #104923
monochromatic
#160619 #160619 #401049 #6C1B7B #9826AD

Accessibility & contrast

On white

15.13
#401049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401049
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401049#FFFFFF#000000##FFFFFF
##4010491.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#162848
Tritanopia (blue-blind)
#401A2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401049;
/* rgb */ color: rgb(64, 16, 73);
/* oklch */ color: oklch(28.3% 0.108 320.9);
Tailwind
colors: {
  custom: {
    50: '#77537c',
    500: '#401049',
    950: '#000000',
  },
}
SCSS
$custom: #401049;
$custom-light: #77537c;
$custom-dark: #000000;
JSON
{
  "hex": "#401049",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 290.526,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28276,
    "c": 0.10804,
    "h": 320.9
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#401049
secondary
#3F8332
accent
#E7415B
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401049

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

Preview Lab → · Contrast checker → · Palette generator →

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