#401944#401944

#401944 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.1% C 0.088 H 323.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#401944
RGBrgb(64, 25, 68)
HSLhsl(294, 46%, 18%)
HSVhsv(294, 63%, 27%)
CMYKcmyk(5.9%, 63.2%, 0%, 73.3%)
CIE-LABlab(16.52, 26.27, -18.79)
CIE-LCHlch(16.52, 32.30, 324.43°)
OKLaboklab(29.14% 0.0711 -0.052)
OKLCHoklch(29.14% 0.088 323.8)
XYZxyz(3.5053, 2.2028, 5.7083)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401944 #1D4419
analogous
#2A1944 #401944 #441932
triadic
#401944 #444019 #194440
tetradic
#401944 #442A19 #1D4419 #193244
square
#401944 #442A19 #1D4419 #193244
split-complementary
#401944 #324419 #19442A
monochromatic
#150816 #160917 #401944 #6A2971 #943A9D

Accessibility & contrast

On white

14.58
#401944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#401944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401944
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401944#FFFFFF#000000##FFFFFF
##4019441.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122645
Deuteranopia (green-blind)
#1F2A43
Tritanopia (blue-blind)
#411F2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401944;
/* rgb */ color: rgb(64, 25, 68);
/* oklch */ color: oklch(29.1% 0.088 323.8);
Tailwind
colors: {
  custom: {
    50: '#765878',
    500: '#401944',
    950: '#000000',
  },
}
SCSS
$custom: #401944;
$custom-light: #765878;
$custom-dark: #000000;
JSON
{
  "hex": "#401944",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 68
  },
  "hsl": {
    "h": 294.419,
    "s": 46.237,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29139,
    "c": 0.08812,
    "h": 323.8
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#401944
secondary
#447A3E
accent
#D6525E
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401944

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

Preview Lab → · Contrast checker → · Palette generator →

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