#401549#401549

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

Color values

HEX#401549
RGBrgb(64, 21, 73)
HSLhsl(290, 55%, 18%)
HSVhsv(290, 71%, 29%)
CMYKcmyk(12.3%, 71.2%, 0%, 71.4%)
CIE-LABlab(16.04, 29.57, -23.00)
CIE-LCHlch(16.04, 37.46, 322.12°)
OKLaboklab(28.9% 0.0773 -0.0642)
OKLCHoklch(28.9% 0.101 320.3)
XYZxyz(3.5850, 2.1075, 6.5200)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401549 #1E4915
analogous
#261549 #401549 #491538
triadic
#401549 #494015 #154940
tetradic
#401549 #492615 #1E4915 #153849
square
#401549 #492615 #1E4915 #153849
split-complementary
#401549 #384915 #154926
monochromatic
#150718 #160719 #401549 #6A2379 #9330A8

Accessibility & contrast

On white

14.77
#401549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401549
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401549#FFFFFF#000000##FFFFFF
##4015491.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254B
Deuteranopia (green-blind)
#1A2948
Tritanopia (blue-blind)
#401E2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401549;
/* rgb */ color: rgb(64, 21, 73);
/* oklch */ color: oklch(28.9% 0.101 320.3);
Tailwind
colors: {
  custom: {
    50: '#77567c',
    500: '#401549',
    950: '#000000',
  },
}
SCSS
$custom: #401549;
$custom-light: #77567c;
$custom-dark: #000000;
JSON
{
  "hex": "#401549",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 289.615,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.10051,
    "h": 320.3
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#401549
secondary
#458139
accent
#DF4963
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401549

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

Preview Lab → · Contrast checker → · Palette generator →

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