#401646#401646

#401646 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.096 H 322.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#401646
RGBrgb(64, 22, 70)
HSLhsl(293, 52%, 18%)
HSVhsv(293, 69%, 27%)
CMYKcmyk(8.6%, 68.6%, 0%, 72.5%)
CIE-LABlab(16.04, 28.37, -20.94)
CIE-LCHlch(16.04, 35.26, 323.57°)
OKLaboklab(28.83% 0.0758 -0.0582)
OKLCHoklch(28.83% 0.096 322.5)
XYZxyz(3.5066, 2.1062, 6.0150)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401646 #1C4616
analogous
#281646 #401646 #461634
triadic
#401646 #464016 #164640
tetradic
#401646 #462816 #1C4616 #163446
square
#401646 #462816 #1C4616 #163446
split-complementary
#401646 #344616 #164628
monochromatic
#150717 #150717 #401646 #6B2575 #9533A3

Accessibility & contrast

On white

14.78
#401646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401646
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401646#FFFFFF#000000##FFFFFF
##4016461.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#1C2945
Tritanopia (blue-blind)
#411D2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401646;
/* rgb */ color: rgb(64, 22, 70);
/* oklch */ color: oklch(28.8% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#775679',
    500: '#401646',
    950: '#000000',
  },
}
SCSS
$custom: #401646;
$custom-light: #775679;
$custom-dark: #000000;
JSON
{
  "hex": "#401646",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 292.5,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.0956,
    "h": 322.5
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#401646
secondary
#437D3A
accent
#DC4C5E
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401646

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

Preview Lab → · Contrast checker → · Palette generator →

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