#401644#401644

#401644 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.093 H 324.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#401644
RGBrgb(64, 22, 68)
HSLhsl(295, 51%, 18%)
HSVhsv(295, 68%, 27%)
CMYKcmyk(5.9%, 67.6%, 0%, 73.3%)
CIE-LABlab(15.91, 27.93, -19.75)
CIE-LCHlch(15.91, 34.20, 324.73°)
OKLaboklab(28.69% 0.0757 -0.0548)
OKLCHoklch(28.69% 0.093 324.1)
XYZxyz(3.4446, 2.0814, 5.6880)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401644 #1A4416
analogous
#291644 #401644 #441631
triadic
#401644 #444016 #164440
tetradic
#401644 #442916 #1A4416 #163144
square
#401644 #442916 #1A4416 #163144
split-complementary
#401644 #314416 #164429
monochromatic
#160717 #160717 #401644 #6C2572 #9734A0

Accessibility & contrast

On white

14.83
#401644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401644
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401644#FFFFFF#000000##FFFFFF
##4016441.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2445
Deuteranopia (green-blind)
#1D2943
Tritanopia (blue-blind)
#411D2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401644;
/* rgb */ color: rgb(64, 22, 68);
/* oklch */ color: oklch(28.7% 0.093 324.1);
Tailwind
colors: {
  custom: {
    50: '#775678',
    500: '#401644',
    950: '#000000',
  },
}
SCSS
$custom: #401644;
$custom-light: #775678;
$custom-dark: #000000;
JSON
{
  "hex": "#401644",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 294.783,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28695,
    "c": 0.09344,
    "h": 324.1
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#401644
secondary
#407B3A
accent
#DB4D5A
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401644

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

Preview Lab → · Contrast checker → · Palette generator →

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