#401643#401643

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

Color values

HEX#401643
RGBrgb(64, 22, 67)
HSLhsl(296, 51%, 17%)
HSVhsv(296, 67%, 26%)
CMYKcmyk(4.5%, 67.2%, 0%, 73.7%)
CIE-LABlab(15.85, 27.71, -19.15)
CIE-LCHlch(15.85, 33.68, 325.35°)
OKLaboklab(28.63% 0.0756 -0.053)
OKLCHoklch(28.63% 0.092 325)
XYZxyz(3.4143, 2.0693, 5.5287)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401643 #194316
analogous
#2A1643 #401643 #431630
triadic
#401643 #434016 #164340
tetradic
#401643 #432A16 #194316 #163043
square
#401643 #432A16 #194316 #163043
split-complementary
#401643 #304316 #16432A
monochromatic
#160817 #160817 #401643 #6C2571 #98349F

Accessibility & contrast

On white

14.85
#401643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401643
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401643#FFFFFF#000000##FFFFFF
##4016431.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2444
Deuteranopia (green-blind)
#1E2942
Tritanopia (blue-blind)
#421C2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401643;
/* rgb */ color: rgb(64, 22, 67);
/* oklch */ color: oklch(28.6% 0.092 325.0);
Tailwind
colors: {
  custom: {
    50: '#775677',
    500: '#401643',
    950: '#000000',
  },
}
SCSS
$custom: #401643;
$custom-light: #775677;
$custom-dark: #000000;
JSON
{
  "hex": "#401643",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 296,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.09238,
    "h": 325
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#401643
secondary
#3F7A3A
accent
#DA4E57
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401643

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

Preview Lab → · Contrast checker → · Palette generator →

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