#401648#401648

#401648 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.098 H 320.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#401648
RGBrgb(64, 22, 72)
HSLhsl(290, 53%, 18%)
HSVhsv(290, 69%, 28%)
CMYKcmyk(11.1%, 69.4%, 0%, 71.8%)
CIE-LABlab(16.16, 28.82, -22.12)
CIE-LCHlch(16.16, 36.33, 322.50°)
OKLaboklab(28.96% 0.0759 -0.0616)
OKLCHoklch(28.96% 0.098 320.9)
XYZxyz(3.5708, 2.1319, 6.3530)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401648 #1E4816
analogous
#271648 #401648 #481637
triadic
#401648 #484016 #164840
tetradic
#401648 #482716 #1E4816 #163748
square
#401648 #482716 #1E4816 #163748
split-complementary
#401648 #374816 #164827
monochromatic
#150717 #160819 #401648 #6A2477 #9333A6

Accessibility & contrast

On white

14.72
#401648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401648
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401648#FFFFFF#000000##FFFFFF
##4016481.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401648;
/* rgb */ color: rgb(64, 22, 72);
/* oklch */ color: oklch(29.0% 0.098 320.9);
Tailwind
colors: {
  custom: {
    50: '#77567b',
    500: '#401648',
    950: '#000000',
  },
}
SCSS
$custom: #401648;
$custom-light: #77567b;
$custom-dark: #000000;
JSON
{
  "hex": "#401648",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 290.4,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28964,
    "c": 0.09778,
    "h": 320.9
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#401648
secondary
#457F3A
accent
#DD4B62
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401648

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

Preview Lab → · Contrast checker → · Palette generator →

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