#401443#401443

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

Color values

HEX#401443
RGBrgb(64, 20, 67)
HSLhsl(296, 54%, 17%)
HSVhsv(296, 70%, 26%)
CMYKcmyk(4.5%, 70.1%, 0%, 73.7%)
CIE-LABlab(15.46, 28.76, -19.76)
CIE-LCHlch(15.46, 34.89, 325.51°)
OKLaboklab(28.35% 0.0786 -0.0548)
OKLCHoklch(28.35% 0.096 325.1)
XYZxyz(3.3775, 1.9957, 5.5164)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401443 #174314
analogous
#291443 #401443 #43142F
triadic
#401443 #434014 #144340
tetradic
#401443 #432914 #174314 #142F43
square
#401443 #432914 #174314 #142F43
split-complementary
#401443 #2F4314 #144329
monochromatic
#170718 #170718 #401443 #6D2272 #9A30A1

Accessibility & contrast

On white

15.01
#401443 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401443
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401443#FFFFFF#000000##FFFFFF
##4014431.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2344
Deuteranopia (green-blind)
#1D2942
Tritanopia (blue-blind)
#421B29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401443;
/* rgb */ color: rgb(64, 20, 67);
/* oklch */ color: oklch(28.4% 0.096 325.1);
Tailwind
colors: {
  custom: {
    50: '#775577',
    500: '#401443',
    950: '#000000',
  },
}
SCSS
$custom: #401443;
$custom-light: #775577;
$custom-dark: #000000;
JSON
{
  "hex": "#401443",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 67
  },
  "hsl": {
    "h": 296.17,
    "s": 54.023,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28352,
    "c": 0.09575,
    "h": 325.1
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#401443
secondary
#3C7B38
accent
#DD4A54
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401443

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

Preview Lab → · Contrast checker → · Palette generator →

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