#401149#401149

#401149 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.107 H 320.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#401149
RGBrgb(64, 17, 73)
HSLhsl(290, 62%, 18%)
HSVhsv(290, 77%, 29%)
CMYKcmyk(12.3%, 76.7%, 0%, 71.4%)
CIE-LABlab(15.34, 31.53, -24.12)
CIE-LCHlch(15.34, 39.70, 322.59°)
OKLaboklab(28.39% 0.0826 -0.0674)
OKLCHoklch(28.39% 0.107 320.8)
XYZxyz(3.5173, 1.9721, 6.4974)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401149 #1A4911
analogous
#241149 #401149 #491136
triadic
#401149 #494011 #114940
tetradic
#401149 #492411 #1A4911 #113649
square
#401149 #492411 #1A4911 #113649
split-complementary
#401149 #364911 #114924
monochromatic
#160619 #160619 #401149 #6C1D7B #9728AC

Accessibility & contrast

On white

15.06
#401149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401149
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401149#FFFFFF#000000##FFFFFF
##4011491.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401149;
/* rgb */ color: rgb(64, 17, 73);
/* oklch */ color: oklch(28.4% 0.107 320.8);
Tailwind
colors: {
  custom: {
    50: '#77547c',
    500: '#401149',
    950: '#000000',
  },
}
SCSS
$custom: #401149;
$custom-light: #77547c;
$custom-dark: #000000;
JSON
{
  "hex": "#401149",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 290.357,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28391,
    "c": 0.10662,
    "h": 320.8
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#401149
secondary
#408233
accent
#E5435D
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401149

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

Preview Lab → · Contrast checker → · Palette generator →

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