#401650#401650

#401650 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.107 H 315.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#401650
RGBrgb(64, 22, 80)
HSLhsl(283, 57%, 20%)
HSVhsv(283, 73%, 31%)
CMYKcmyk(20%, 72.5%, 0%, 68.6%)
CIE-LABlab(16.71, 30.69, -26.72)
CIE-LCHlch(16.71, 40.69, 318.95°)
OKLaboklab(29.54% 0.0758 -0.0751)
OKLCHoklch(29.54% 0.107 315.3)
XYZxyz(3.8490, 2.2431, 7.8181)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401650 #265016
analogous
#231650 #401650 #501643
triadic
#401650 #504016 #165040
tetradic
#401650 #502316 #265016 #164350
square
#401650 #502316 #265016 #164350
split-complementary
#401650 #435016 #165023
monochromatic
#130718 #1A0920 #401650 #662380 #8D30B0

Accessibility & contrast

On white

14.50
#401650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#401650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401650
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401650#FFFFFF#000000##FFFFFF
##4016501.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#152A4F
Tritanopia (blue-blind)
#3F2131
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401650;
/* rgb */ color: rgb(64, 22, 80);
/* oklch */ color: oklch(29.5% 0.107 315.3);
Tailwind
colors: {
  custom: {
    50: '#775781',
    500: '#401650',
    950: '#000000',
  },
}
SCSS
$custom: #401650;
$custom-light: #775781;
$custom-dark: #000000;
JSON
{
  "hex": "#401650",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 283.448,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29538,
    "c": 0.1067,
    "h": 315.3
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#401650
secondary
#50873A
accent
#E04872
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #401650

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

Preview Lab → · Contrast checker → · Palette generator →

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