#401445#401445

#401445 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.098 H 323.5°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#401445
RGBrgb(64, 20, 69)
HSLhsl(294, 55%, 17%)
HSVhsv(294, 71%, 27%)
CMYKcmyk(7.2%, 71%, 0%, 72.9%)
CIE-LABlab(15.59, 29.19, -20.95)
CIE-LCHlch(15.59, 35.93, 324.34°)
OKLaboklab(28.49% 0.0787 -0.0582)
OKLCHoklch(28.49% 0.098 323.5)
XYZxyz(3.4386, 2.0202, 5.8379)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401445 #194514
analogous
#281445 #401445 #451431
triadic
#401445 #454014 #144540
tetradic
#401445 #452814 #194514 #143145
square
#401445 #452814 #194514 #143145
split-complementary
#401445 #314514 #144528
monochromatic
#160718 #160718 #401445 #6C2274 #9830A4

Accessibility & contrast

On white

14.96
#401445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401445 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401445
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401445#FFFFFF#000000##FFFFFF
##4014451.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2446
Deuteranopia (green-blind)
#1C2944
Tritanopia (blue-blind)
#411B2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401445;
/* rgb */ color: rgb(64, 20, 69);
/* oklch */ color: oklch(28.5% 0.098 323.5);
Tailwind
colors: {
  custom: {
    50: '#775579',
    500: '#401445',
    950: '#000000',
  },
}
SCSS
$custom: #401445;
$custom-light: #775579;
$custom-dark: #000000;
JSON
{
  "hex": "#401445",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 69
  },
  "hsl": {
    "h": 293.878,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28486,
    "c": 0.09785,
    "h": 323.5
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#401445
secondary
#3F7D38
accent
#DE4959
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401445

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

Preview Lab → · Contrast checker → · Palette generator →

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