#401439#401439

#401439 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.086 H 334.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#401439
RGBrgb(64, 20, 57)
HSLhsl(310, 52%, 16%)
HSVhsv(310, 69%, 25%)
CMYKcmyk(0%, 68.8%, 10.9%, 74.9%)
CIE-LABlab(14.88, 26.71, -13.64)
CIE-LCHlch(14.88, 29.99, 332.95°)
OKLaboklab(27.73% 0.0774 -0.0371)
OKLCHoklch(27.73% 0.086 334.3)
XYZxyz(3.1030, 1.8859, 4.0707)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401439 #14401B
analogous
#311440 #401439 #401423
triadic
#401439 #394014 #143940
tetradic
#401439 #403114 #14401B #142340
square
#401439 #403114 #14401B #142340
split-complementary
#401439 #234014 #144031
monochromatic
#170715 #170715 #401439 #6F2363 #9D318C

Accessibility & contrast

On white

15.25
#401439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401439
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401439#FFFFFF#000000##FFFFFF
##4014391.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14213A
Deuteranopia (green-blind)
#212838
Tritanopia (blue-blind)
#431724
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401439;
/* rgb */ color: rgb(64, 20, 57);
/* oklch */ color: oklch(27.7% 0.086 334.3);
Tailwind
colors: {
  custom: {
    50: '#77556f',
    500: '#401439',
    950: '#000000',
  },
}
SCSS
$custom: #401439;
$custom-light: #77556f;
$custom-dark: #000000;
JSON
{
  "hex": "#401439",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 57
  },
  "hsl": {
    "h": 309.545,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.08581,
    "h": 334.3
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#401439
secondary
#387842
accent
#DC634C
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #401439

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

Preview Lab → · Contrast checker → · Palette generator →

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