#401541#401541

#401541 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.092 H 326.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#401541
RGBrgb(64, 21, 65)
HSLhsl(299, 51%, 17%)
HSVhsv(299, 68%, 25%)
CMYKcmyk(1.5%, 67.7%, 0%, 74.5%)
CIE-LABlab(15.53, 27.81, -18.26)
CIE-LCHlch(15.53, 33.27, 326.72°)
OKLaboklab(28.36% 0.0769 -0.0504)
OKLCHoklch(28.36% 0.092 326.8)
XYZxyz(3.3366, 2.0082, 5.2119)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401541 #164115
analogous
#2A1541 #401541 #41152C
triadic
#401541 #414015 #154140
tetradic
#401541 #412A15 #164115 #152C41
square
#401541 #412A15 #164115 #152C41
split-complementary
#401541 #2C4115 #15412A
monochromatic
#170717 #170717 #401541 #6E246F #9B339E

Accessibility & contrast

On white

14.98
#401541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401541
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401541#FFFFFF#000000##FFFFFF
##4015411.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#1E2940
Tritanopia (blue-blind)
#421B28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401541;
/* rgb */ color: rgb(64, 21, 65);
/* oklch */ color: oklch(28.4% 0.092 326.8);
Tailwind
colors: {
  custom: {
    50: '#775676',
    500: '#401541',
    950: '#000000',
  },
}
SCSS
$custom: #401541;
$custom-light: #775676;
$custom-dark: #000000;
JSON
{
  "hex": "#401541",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 298.636,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28359,
    "c": 0.09199,
    "h": 326.8
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#401541
secondary
#3B7939
accent
#DB4D50
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401541

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

Preview Lab → · Contrast checker → · Palette generator →

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