#401344#401344

#401344 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.098 H 324.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#401344
RGBrgb(64, 19, 68)
HSLhsl(295, 56%, 17%)
HSVhsv(295, 72%, 27%)
CMYKcmyk(5.9%, 72.1%, 0%, 73.3%)
CIE-LABlab(15.35, 29.48, -20.64)
CIE-LCHlch(15.35, 35.99, 325.00°)
OKLaboklab(28.29% 0.08 -0.0573)
OKLCHoklch(28.29% 0.098 324.4)
XYZxyz(3.3905, 1.9733, 5.6700)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401344 #174413
analogous
#281344 #401344 #441330
triadic
#401344 #444013 #134440
tetradic
#401344 #442813 #174413 #133044
square
#401344 #442813 #174413 #133044
split-complementary
#401344 #304413 #134428
monochromatic
#170718 #170718 #401344 #6D2074 #9A2EA4

Accessibility & contrast

On white

15.06
#401344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401344
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401344#FFFFFF#000000##FFFFFF
##4013441.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092345
Deuteranopia (green-blind)
#1B2843
Tritanopia (blue-blind)
#411A29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401344;
/* rgb */ color: rgb(64, 19, 68);
/* oklch */ color: oklch(28.3% 0.098 324.4);
Tailwind
colors: {
  custom: {
    50: '#775578',
    500: '#401344',
    950: '#000000',
  },
}
SCSS
$custom: #401344;
$custom-light: #775578;
$custom-dark: #000000;
JSON
{
  "hex": "#401344",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 295.102,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28287,
    "c": 0.09842,
    "h": 324.4
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#401344
secondary
#3C7D36
accent
#E04855
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401344

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

Preview Lab → · Contrast checker → · Palette generator →

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