#401447#401447

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

Color values

HEX#401447
RGBrgb(64, 20, 71)
HSLhsl(292, 56%, 18%)
HSVhsv(292, 72%, 28%)
CMYKcmyk(9.9%, 71.8%, 0%, 72.2%)
CIE-LABlab(15.72, 29.63, -22.13)
CIE-LCHlch(15.72, 36.98, 323.25°)
OKLaboklab(28.62% 0.0787 -0.0616)
OKLCHoklch(28.62% 0.1 321.9)
XYZxyz(3.5017, 2.0454, 6.1704)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401447 #1B4714
analogous
#261447 #401447 #471434
triadic
#401447 #474014 #144740
tetradic
#401447 #472614 #1B4714 #143447
square
#401447 #472614 #1B4714 #143447
split-complementary
#401447 #344714 #144726
monochromatic
#160718 #160718 #401447 #6B2177 #962FA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401447#FFFFFF#000000##FFFFFF
##4014471.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)
#072449
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#411C2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401447;
/* rgb */ color: rgb(64, 20, 71);
/* oklch */ color: oklch(28.6% 0.100 321.9);
Tailwind
colors: {
  custom: {
    50: '#77557a',
    500: '#401447',
    950: '#000000',
  },
}
SCSS
$custom: #401447;
$custom-light: #77557a;
$custom-dark: #000000;
JSON
{
  "hex": "#401447",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 291.765,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28623,
    "c": 0.09997,
    "h": 321.9
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#401447
secondary
#417F38
accent
#DF485D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401447

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

Preview Lab → · Contrast checker → · Palette generator →

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