#401949#401949

#401949 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 319.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#401949
RGBrgb(64, 25, 73)
HSLhsl(289, 49%, 19%)
HSVhsv(289, 66%, 29%)
CMYKcmyk(12.3%, 65.8%, 0%, 71.4%)
CIE-LABlab(16.83, 27.41, -21.75)
CIE-LCHlch(16.83, 34.99, 321.57°)
OKLaboklab(29.47% 0.0716 -0.0606)
OKLCHoklch(29.47% 0.094 319.7)
XYZxyz(3.6644, 2.2665, 6.5465)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401949 #224919
analogous
#281949 #401949 #49193A
triadic
#401949 #494019 #194940
tetradic
#401949 #492819 #224919 #193A49
square
#401949 #492819 #224919 #193A49
split-complementary
#401949 #3A4919 #194928
monochromatic
#140817 #18091B #401949 #682977 #9038A4

Accessibility & contrast

On white

14.45
#401949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#401949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401949
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401949#FFFFFF#000000##FFFFFF
##4019491.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274B
Deuteranopia (green-blind)
#1D2B48
Tritanopia (blue-blind)
#40212E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #401949;
/* rgb */ color: rgb(64, 25, 73);
/* oklch */ color: oklch(29.5% 0.094 319.7);
Tailwind
colors: {
  custom: {
    50: '#76587c',
    500: '#401949',
    950: '#000000',
  },
}
SCSS
$custom: #401949;
$custom-light: #76587c;
$custom-dark: #000000;
JSON
{
  "hex": "#401949",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 288.75,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29466,
    "c": 0.09377,
    "h": 319.7
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#401949
secondary
#4B7F3E
accent
#D94F69
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401949

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

Preview Lab → · Contrast checker → · Palette generator →

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