#401641#401641

#401641 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.090 H 326.7°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#401641
RGBrgb(64, 22, 65)
HSLhsl(299, 49%, 17%)
HSVhsv(299, 66%, 25%)
CMYKcmyk(1.5%, 66.2%, 0%, 74.5%)
CIE-LABlab(15.73, 27.27, -17.95)
CIE-LCHlch(15.73, 32.65, 326.65°)
OKLaboklab(28.5% 0.0754 -0.0495)
OKLCHoklch(28.5% 0.09 326.7)
XYZxyz(3.3553, 2.0457, 5.2181)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401641 #174116
analogous
#2B1641 #401641 #41162D
triadic
#401641 #414016 #164140
tetradic
#401641 #412B16 #174116 #162D41
square
#401641 #412B16 #174116 #162D41
split-complementary
#401641 #2D4116 #16412B
monochromatic
#170817 #170817 #401641 #6D256F #9A359C

Accessibility & contrast

On white

14.90
#401641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401641
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401641#FFFFFF#000000##FFFFFF
##4016411.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112442
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#421B29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401641;
/* rgb */ color: rgb(64, 22, 65);
/* oklch */ color: oklch(28.5% 0.090 326.7);
Tailwind
colors: {
  custom: {
    50: '#765676',
    500: '#401641',
    950: '#000000',
  },
}
SCSS
$custom: #401641;
$custom-light: #765676;
$custom-dark: #000000;
JSON
{
  "hex": "#401641",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 298.605,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.09025,
    "h": 326.7
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#401641
secondary
#3C783A
accent
#D94F52
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401641

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

Preview Lab → · Contrast checker → · Palette generator →

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