#401544#401544

#401544 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.095 H 324.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#401544
RGBrgb(64, 21, 68)
HSLhsl(295, 53%, 17%)
HSVhsv(295, 69%, 27%)
CMYKcmyk(5.9%, 69.1%, 0%, 73.3%)
CIE-LABlab(15.72, 28.46, -20.05)
CIE-LCHlch(15.72, 34.81, 324.82°)
OKLaboklab(28.56% 0.0772 -0.0556)
OKLCHoklch(28.56% 0.095 324.2)
XYZxyz(3.4258, 2.0439, 5.6818)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401544 #194415
analogous
#291544 #401544 #441530
triadic
#401544 #444015 #154440
tetradic
#401544 #442915 #194415 #153044
square
#401544 #442915 #194415 #153044
split-complementary
#401544 #304415 #154429
monochromatic
#160717 #160717 #401544 #6C2373 #9832A2

Accessibility & contrast

On white

14.91
#401544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401544
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401544#FFFFFF#000000##FFFFFF
##4015441.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2445
Deuteranopia (green-blind)
#1D2943
Tritanopia (blue-blind)
#411C2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401544;
/* rgb */ color: rgb(64, 21, 68);
/* oklch */ color: oklch(28.6% 0.095 324.2);
Tailwind
colors: {
  custom: {
    50: '#775678',
    500: '#401544',
    950: '#000000',
  },
}
SCSS
$custom: #401544;
$custom-light: #775678;
$custom-dark: #000000;
JSON
{
  "hex": "#401544",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 294.894,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28555,
    "c": 0.09514,
    "h": 324.2
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#401544
secondary
#3F7C39
accent
#DC4C58
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401544

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

Preview Lab → · Contrast checker → · Palette generator →

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