#401343#401343

#401343 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.097 H 325.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#401343
RGBrgb(64, 19, 67)
HSLhsl(296, 56%, 17%)
HSVhsv(296, 72%, 26%)
CMYKcmyk(4.5%, 71.6%, 0%, 73.7%)
CIE-LABlab(15.28, 29.27, -20.04)
CIE-LCHlch(15.28, 35.47, 325.59°)
OKLaboklab(28.22% 0.08 -0.0556)
OKLCHoklch(28.22% 0.097 325.2)
XYZxyz(3.3603, 1.9612, 5.5107)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401343 #164313
analogous
#281343 #401343 #43132E
triadic
#401343 #434013 #134340
tetradic
#401343 #432813 #164313 #132E43
square
#401343 #432813 #164313 #132E43
split-complementary
#401343 #2E4313 #134328
monochromatic
#170718 #170718 #401343 #6E2173 #9B2EA2

Accessibility & contrast

On white

15.08
#401343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401343
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401343#FFFFFF#000000##FFFFFF
##4013431.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2344
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#421A29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401343;
/* rgb */ color: rgb(64, 19, 67);
/* oklch */ color: oklch(28.2% 0.097 325.2);
Tailwind
colors: {
  custom: {
    50: '#775577',
    500: '#401343',
    950: '#000000',
  },
}
SCSS
$custom: #401343;
$custom-light: #775577;
$custom-dark: #000000;
JSON
{
  "hex": "#401343",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 296.25,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2822,
    "c": 0.09739,
    "h": 325.2
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#401343
secondary
#3B7C36
accent
#DF4952
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401343

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

Preview Lab → · Contrast checker → · Palette generator →

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