#401349#401349

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

Color values

HEX#401349
RGBrgb(64, 19, 73)
HSLhsl(290, 59%, 18%)
HSVhsv(290, 74%, 29%)
CMYKcmyk(12.3%, 74%, 0%, 71.4%)
CIE-LABlab(15.68, 30.58, -23.58)
CIE-LCHlch(15.68, 38.61, 322.37°)
OKLaboklab(28.64% 0.08 -0.0659)
OKLCHoklch(28.64% 0.104 320.5)
XYZxyz(3.5497, 2.0369, 6.5082)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401349 #1C4913
analogous
#251349 #401349 #491337
triadic
#401349 #494013 #134940
tetradic
#401349 #492513 #1C4913 #133749
square
#401349 #492513 #1C4913 #133749
split-complementary
#401349 #374913 #134925
monochromatic
#150618 #150618 #401349 #6B207A #952CAA

Accessibility & contrast

On white

14.92
#401349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401349
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401349#FFFFFF#000000##FFFFFF
##4013491.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244B
Deuteranopia (green-blind)
#182948
Tritanopia (blue-blind)
#401C2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401349;
/* rgb */ color: rgb(64, 19, 73);
/* oklch */ color: oklch(28.6% 0.104 320.5);
Tailwind
colors: {
  custom: {
    50: '#77557c',
    500: '#401349',
    950: '#000000',
  },
}
SCSS
$custom: #401349;
$custom-light: #77557c;
$custom-dark: #000000;
JSON
{
  "hex": "#401349",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 290,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28635,
    "c": 0.10365,
    "h": 320.5
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#401349
secondary
#438236
accent
#E24660
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401349

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

Preview Lab → · Contrast checker → · Palette generator →

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