#401353#401353

#401353 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.114 H 313.9°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#401353
RGBrgb(64, 19, 83)
HSLhsl(282, 63%, 20%)
HSVhsv(282, 77%, 33%)
CMYKcmyk(22.9%, 77.1%, 0%, 67.5%)
CIE-LABlab(16.41, 32.89, -29.26)
CIE-LCHlch(16.41, 44.02, 318.35°)
OKLaboklab(29.39% 0.0793 -0.0825)
OKLCHoklch(29.39% 0.114 313.9)
XYZxyz(3.9083, 2.1804, 8.3969)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401353 #265313
analogous
#201353 #401353 #531346
triadic
#401353 #534013 #135340
tetradic
#401353 #532013 #265313 #134653
square
#401353 #532013 #265313 #134653
split-complementary
#401353 #465313 #135320
monochromatic
#130619 #1A0821 #401353 #661E85 #8D2AB7

Accessibility & contrast

On white

14.62
#401353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#401353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401353
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401353#FFFFFF#000000##FFFFFF
##4013531.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#0F2A52
Tritanopia (blue-blind)
#3E2031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401353;
/* rgb */ color: rgb(64, 19, 83);
/* oklch */ color: oklch(29.4% 0.114 313.9);
Tailwind
colors: {
  custom: {
    50: '#785584',
    500: '#401353',
    950: '#000000',
  },
}
SCSS
$custom: #401353;
$custom-light: #785584;
$custom-dark: #000000;
JSON
{
  "hex": "#401353",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 282.188,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.11443,
    "h": 313.9
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#401353
secondary
#508B36
accent
#E64273
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401353

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

Preview Lab → · Contrast checker → · Palette generator →

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