#401841#401841

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

Color values

HEX#401841
RGBrgb(64, 24, 65)
HSLhsl(299, 46%, 17%)
HSVhsv(299, 63%, 25%)
CMYKcmyk(1.5%, 63.1%, 0%, 74.5%)
CIE-LABlab(16.13, 26.17, -17.31)
CIE-LCHlch(16.13, 31.38, 326.52°)
OKLaboklab(28.8% 0.0724 -0.0477)
OKLCHoklch(28.8% 0.087 326.6)
XYZxyz(3.3951, 2.1251, 5.2314)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401841 #194118
analogous
#2C1841 #401841 #41182D
triadic
#401841 #414018 #184140
tetradic
#401841 #412C18 #194118 #182D41
square
#401841 #412C18 #194118 #182D41
split-complementary
#401841 #2D4118 #18412C
monochromatic
#160816 #160816 #401841 #6C296E #98399A

Accessibility & contrast

On white

14.74
#401841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401841
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401841#FFFFFF#000000##FFFFFF
##4018411.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132542
Deuteranopia (green-blind)
#202A40
Tritanopia (blue-blind)
#421D29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401841;
/* rgb */ color: rgb(64, 24, 65);
/* oklch */ color: oklch(28.8% 0.087 326.6);
Tailwind
colors: {
  custom: {
    50: '#765776',
    500: '#401841',
    950: '#000000',
  },
}
SCSS
$custom: #401841;
$custom-light: #765776;
$custom-dark: #000000;
JSON
{
  "hex": "#401841",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 298.537,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28798,
    "c": 0.08667,
    "h": 326.6
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#401841
secondary
#3F783D
accent
#D65255
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401841

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

Preview Lab → · Contrast checker → · Palette generator →

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