#401341#401341

#401341 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.095 H 326.9°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#401341
RGBrgb(64, 19, 65)
HSLhsl(299, 55%, 16%)
HSVhsv(299, 71%, 25%)
CMYKcmyk(1.5%, 70.8%, 0%, 74.5%)
CIE-LABlab(15.16, 28.84, -18.84)
CIE-LCHlch(15.16, 34.45, 326.84°)
OKLaboklab(28.09% 0.0798 -0.0521)
OKLCHoklch(28.09% 0.095 326.9)
XYZxyz(3.3013, 1.9376, 5.2001)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401341 #144113
analogous
#291341 #401341 #41132B
triadic
#401341 #414013 #134140
tetradic
#401341 #412913 #144113 #132B41
square
#401341 #412913 #144113 #132B41
split-complementary
#401341 #2B4113 #134129
monochromatic
#170718 #170718 #401341 #6F2170 #9D2FA0

Accessibility & contrast

On white

15.14
#401341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401341
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401341#FFFFFF#000000##FFFFFF
##4013411.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#421928
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401341;
/* rgb */ color: rgb(64, 19, 65);
/* oklch */ color: oklch(28.1% 0.095 326.9);
Tailwind
colors: {
  custom: {
    50: '#775576',
    500: '#401341',
    950: '#000000',
  },
}
SCSS
$custom: #401341;
$custom-light: #775576;
$custom-dark: #000000;
JSON
{
  "hex": "#401341",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 298.696,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28088,
    "c": 0.09534,
    "h": 326.9
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#401341
secondary
#387A36
accent
#DE4A4D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401341

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

Preview Lab → · Contrast checker → · Palette generator →

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