#401744#401744

#401744 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.092 H 324.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#401744
RGBrgb(64, 23, 68)
HSLhsl(295, 49%, 18%)
HSVhsv(295, 66%, 27%)
CMYKcmyk(5.9%, 66.2%, 0%, 73.3%)
CIE-LABlab(16.11, 27.38, -19.44)
CIE-LCHlch(16.11, 33.58, 324.63°)
OKLaboklab(28.84% 0.0742 -0.0539)
OKLCHoklch(28.84% 0.092 324)
XYZxyz(3.4640, 2.1203, 5.6945)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401744 #1B4417
analogous
#291744 #401744 #441731
triadic
#401744 #444017 #174440
tetradic
#401744 #442917 #1B4417 #173144
square
#401744 #442917 #1B4417 #173144
split-complementary
#401744 #314417 #174429
monochromatic
#160817 #160817 #401744 #6B2672 #96369F

Accessibility & contrast

On white

14.75
#401744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401744
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401744#FFFFFF#000000##FFFFFF
##4017441.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#1E2A43
Tritanopia (blue-blind)
#411D2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401744;
/* rgb */ color: rgb(64, 23, 68);
/* oklch */ color: oklch(28.8% 0.092 324.0);
Tailwind
colors: {
  custom: {
    50: '#765778',
    500: '#401744',
    950: '#000000',
  },
}
SCSS
$custom: #401744;
$custom-light: #765778;
$custom-dark: #000000;
JSON
{
  "hex": "#401744",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 294.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.0917,
    "h": 324
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#401744
secondary
#417B3C
accent
#D94F5B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401744

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

Preview Lab → · Contrast checker → · Palette generator →

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