#401645#401645

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

Color values

HEX#401645
RGBrgb(64, 22, 69)
HSLhsl(294, 52%, 18%)
HSVhsv(294, 68%, 27%)
CMYKcmyk(7.2%, 68.1%, 0%, 72.9%)
CIE-LABlab(15.97, 28.15, -20.34)
CIE-LCHlch(15.97, 34.73, 324.14°)
OKLaboklab(28.76% 0.0758 -0.0565)
OKLCHoklch(28.76% 0.095 323.3)
XYZxyz(3.4753, 2.0937, 5.8501)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401645 #1B4516
analogous
#281645 #401645 #451632
triadic
#401645 #454016 #164540
tetradic
#401645 #452816 #1B4516 #163245
square
#401645 #452816 #1B4516 #163245
split-complementary
#401645 #324516 #164528
monochromatic
#160717 #160717 #401645 #6B2573 #9634A2

Accessibility & contrast

On white

14.80
#401645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401645
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401645#FFFFFF#000000##FFFFFF
##4016451.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2546
Deuteranopia (green-blind)
#1D2944
Tritanopia (blue-blind)
#411D2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401645;
/* rgb */ color: rgb(64, 22, 69);
/* oklch */ color: oklch(28.8% 0.095 323.3);
Tailwind
colors: {
  custom: {
    50: '#775679',
    500: '#401645',
    950: '#000000',
  },
}
SCSS
$custom: #401645;
$custom-light: #775679;
$custom-dark: #000000;
JSON
{
  "hex": "#401645",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 293.617,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28761,
    "c": 0.09452,
    "h": 323.3
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#401645
secondary
#417C3A
accent
#DB4D5C
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401645

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

Preview Lab → · Contrast checker → · Palette generator →

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