#401844#401844

#401844 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.0% C 0.090 H 323.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#401844
RGBrgb(64, 24, 68)
HSLhsl(295, 48%, 18%)
HSVhsv(295, 65%, 27%)
CMYKcmyk(5.9%, 64.7%, 0%, 73.3%)
CIE-LABlab(16.31, 26.83, -19.12)
CIE-LCHlch(16.31, 32.95, 324.53°)
OKLaboklab(28.99% 0.0727 -0.0529)
OKLCHoklch(28.99% 0.09 323.9)
XYZxyz(3.4843, 2.1608, 5.7013)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401844 #1C4418
analogous
#2A1844 #401844 #441832
triadic
#401844 #444018 #184440
tetradic
#401844 #442A18 #1C4418 #183244
square
#401844 #442A18 #1C4418 #183244
split-complementary
#401844 #324418 #18442A
monochromatic
#150817 #150817 #401844 #6B2871 #95389E

Accessibility & contrast

On white

14.66
#401844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401844
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401844#FFFFFF#000000##FFFFFF
##4018441.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112545
Deuteranopia (green-blind)
#1F2A43
Tritanopia (blue-blind)
#411E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401844;
/* rgb */ color: rgb(64, 24, 68);
/* oklch */ color: oklch(29.0% 0.090 323.9);
Tailwind
colors: {
  custom: {
    50: '#765778',
    500: '#401844',
    950: '#000000',
  },
}
SCSS
$custom: #401844;
$custom-light: #765778;
$custom-dark: #000000;
JSON
{
  "hex": "#401844",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 294.545,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28987,
    "c": 0.08993,
    "h": 323.9
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#401844
secondary
#437B3D
accent
#D7505D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401844

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

Preview Lab → · Contrast checker → · Palette generator →

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