#401141#401141

#401141 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.099 H 327.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#401141
RGBrgb(64, 17, 65)
HSLhsl(299, 59%, 16%)
HSVhsv(299, 74%, 25%)
CMYKcmyk(1.5%, 73.8%, 0%, 74.5%)
CIE-LABlab(14.80, 29.82, -19.40)
CIE-LCHlch(14.80, 35.58, 326.95°)
OKLaboklab(27.83% 0.0826 -0.0537)
OKLCHoklch(27.83% 0.099 327)
XYZxyz(3.2689, 1.8728, 5.1893)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401141 #124111
analogous
#281141 #401141 #41112A
triadic
#401141 #414011 #114140
tetradic
#401141 #412811 #124111 #112A41
square
#401141 #412811 #124111 #112A41
split-complementary
#401141 #2A4111 #114128
monochromatic
#180618 #180618 #401141 #701E72 #A02AA2

Accessibility & contrast

On white

15.28
#401141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401141
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401141#FFFFFF#000000##FFFFFF
##4011411.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092142
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#421827
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401141;
/* rgb */ color: rgb(64, 17, 65);
/* oklch */ color: oklch(27.8% 0.099 327.0);
Tailwind
colors: {
  custom: {
    50: '#775376',
    500: '#401141',
    950: '#000000',
  },
}
SCSS
$custom: #401141;
$custom-light: #775376;
$custom-dark: #000000;
JSON
{
  "hex": "#401141",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 298.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.09851,
    "h": 327
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#401141
secondary
#357B33
accent
#E24649
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401141

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

Preview Lab → · Contrast checker → · Palette generator →

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