#401647#401647

#401647 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.097 H 321.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#401647
RGBrgb(64, 22, 71)
HSLhsl(291, 53%, 18%)
HSVhsv(291, 69%, 28%)
CMYKcmyk(9.9%, 69%, 0%, 72.2%)
CIE-LABlab(16.10, 28.60, -21.53)
CIE-LCHlch(16.10, 35.79, 323.03°)
OKLaboklab(28.9% 0.0759 -0.0599)
OKLCHoklch(28.9% 0.097 321.7)
XYZxyz(3.5385, 2.1189, 6.1826)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401647 #1D4716
analogous
#271647 #401647 #471635
triadic
#401647 #474016 #164740
tetradic
#401647 #472716 #1D4716 #163547
square
#401647 #472716 #1D4716 #163547
split-complementary
#401647 #354716 #164727
monochromatic
#150717 #160818 #401647 #6A2476 #9433A4

Accessibility & contrast

On white

14.75
#401647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401647
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401647#FFFFFF#000000##FFFFFF
##4016471.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2548
Deuteranopia (green-blind)
#1C2A46
Tritanopia (blue-blind)
#411E2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401647;
/* rgb */ color: rgb(64, 22, 71);
/* oklch */ color: oklch(28.9% 0.097 321.7);
Tailwind
colors: {
  custom: {
    50: '#77567a',
    500: '#401647',
    950: '#000000',
  },
}
SCSS
$custom: #401647;
$custom-light: #77567a;
$custom-dark: #000000;
JSON
{
  "hex": "#401647",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 291.429,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28895,
    "c": 0.09669,
    "h": 321.7
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#401647
secondary
#447E3A
accent
#DC4C60
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401647

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

Preview Lab → · Contrast checker → · Palette generator →

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