#401539#401539

#401539 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.084 H 334.4°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#401539
RGBrgb(64, 21, 57)
HSLhsl(310, 51%, 17%)
HSVhsv(310, 67%, 25%)
CMYKcmyk(0%, 67.2%, 10.9%, 74.9%)
CIE-LABlab(15.07, 26.18, -13.34)
CIE-LCHlch(15.07, 29.38, 333.01°)
OKLaboklab(27.88% 0.0758 -0.0363)
OKLCHoklch(27.88% 0.084 334.4)
XYZxyz(3.1211, 1.9220, 4.0767)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401539 #15401C
analogous
#321540 #401539 #401524
triadic
#401539 #394015 #153940
tetradic
#401539 #403215 #15401C #152440
square
#401539 #403215 #15401C #152440
split-complementary
#401539 #244015 #154032
monochromatic
#170815 #170815 #401539 #6E2462 #9C338B

Accessibility & contrast

On white

15.17
#401539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401539
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401539#FFFFFF#000000##FFFFFF
##4015391.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223A
Deuteranopia (green-blind)
#222838
Tritanopia (blue-blind)
#431824
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401539;
/* rgb */ color: rgb(64, 21, 57);
/* oklch */ color: oklch(27.9% 0.084 334.4);
Tailwind
colors: {
  custom: {
    50: '#76556f',
    500: '#401539',
    950: '#000000',
  },
}
SCSS
$custom: #401539;
$custom-light: #76556f;
$custom-dark: #000000;
JSON
{
  "hex": "#401539",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 309.767,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27876,
    "c": 0.08403,
    "h": 334.4
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#401539
secondary
#397843
accent
#DA654E
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #401539

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

Preview Lab → · Contrast checker → · Palette generator →

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