#401448#401448

#401448 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.101 H 321.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#401448
RGBrgb(64, 20, 72)
HSLhsl(291, 57%, 18%)
HSVhsv(291, 72%, 28%)
CMYKcmyk(11.1%, 72.2%, 0%, 71.8%)
CIE-LABlab(15.79, 29.86, -22.71)
CIE-LCHlch(15.79, 37.51, 322.74°)
OKLaboklab(28.69% 0.0787 -0.0633)
OKLCHoklch(28.69% 0.101 321.2)
XYZxyz(3.5341, 2.0584, 6.3408)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401448 #1C4814
analogous
#261448 #401448 #481436
triadic
#401448 #484014 #144840
tetradic
#401448 #482614 #1C4814 #143648
square
#401448 #482614 #1C4814 #143648
split-complementary
#401448 #364814 #144826
monochromatic
#150718 #150718 #401448 #6B2178 #952FA8

Accessibility & contrast

On white

14.88
#401448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401448
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401448#FFFFFF#000000##FFFFFF
##4014481.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06244A
Deuteranopia (green-blind)
#1A2947
Tritanopia (blue-blind)
#411D2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401448;
/* rgb */ color: rgb(64, 20, 72);
/* oklch */ color: oklch(28.7% 0.101 321.2);
Tailwind
colors: {
  custom: {
    50: '#77557b',
    500: '#401448',
    950: '#000000',
  },
}
SCSS
$custom: #401448;
$custom-light: #77557b;
$custom-dark: #000000;
JSON
{
  "hex": "#401448",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 290.769,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28693,
    "c": 0.10103,
    "h": 321.2
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#401448
secondary
#438038
accent
#E0485F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401448

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

Preview Lab → · Contrast checker → · Palette generator →

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