#401446#401446

#401446 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.099 H 322.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#401446
RGBrgb(64, 20, 70)
HSLhsl(293, 56%, 18%)
HSVhsv(293, 71%, 27%)
CMYKcmyk(8.6%, 71.4%, 0%, 72.5%)
CIE-LABlab(15.66, 29.41, -21.54)
CIE-LCHlch(15.66, 36.45, 323.79°)
OKLaboklab(28.55% 0.0787 -0.0599)
OKLCHoklch(28.55% 0.099 322.7)
XYZxyz(3.4699, 2.0327, 6.0027)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401446 #1A4614
analogous
#271446 #401446 #461433
triadic
#401446 #464014 #144640
tetradic
#401446 #462714 #1A4614 #143346
square
#401446 #462714 #1A4614 #143346
split-complementary
#401446 #334614 #144627
monochromatic
#160718 #160718 #401446 #6C2276 #972FA5

Accessibility & contrast

On white

14.93
#401446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401446
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401446#FFFFFF#000000##FFFFFF
##4014461.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092447
Deuteranopia (green-blind)
#1B2945
Tritanopia (blue-blind)
#411C2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401446;
/* rgb */ color: rgb(64, 20, 70);
/* oklch */ color: oklch(28.6% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#77557a',
    500: '#401446',
    950: '#000000',
  },
}
SCSS
$custom: #401446;
$custom-light: #77557a;
$custom-dark: #000000;
JSON
{
  "hex": "#401446",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 292.8,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.0989,
    "h": 322.7
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#401446
secondary
#407E38
accent
#DF495B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401446

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

Preview Lab → · Contrast checker → · Palette generator →

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