#401347#401347

#401347 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.102 H 322.0°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#401347
RGBrgb(64, 19, 71)
HSLhsl(292, 58%, 18%)
HSVhsv(292, 73%, 28%)
CMYKcmyk(9.9%, 73.2%, 0%, 72.2%)
CIE-LABlab(15.54, 30.13, -22.41)
CIE-LCHlch(15.54, 37.55, 323.36°)
OKLaboklab(28.49% 0.0801 -0.0625)
OKLCHoklch(28.49% 0.102 322)
XYZxyz(3.4844, 2.0109, 6.1646)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401347 #1A4713
analogous
#261347 #401347 #471334
triadic
#401347 #474013 #134740
tetradic
#401347 #472613 #1A4713 #133447
square
#401347 #472613 #1A4713 #133447
split-complementary
#401347 #344713 #134726
monochromatic
#160618 #160618 #401347 #6C2077 #972DA8

Accessibility & contrast

On white

14.98
#401347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401347
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401347#FFFFFF#000000##FFFFFF
##4013471.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#411C2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401347;
/* rgb */ color: rgb(64, 19, 71);
/* oklch */ color: oklch(28.5% 0.102 322.0);
Tailwind
colors: {
  custom: {
    50: '#77557a',
    500: '#401347',
    950: '#000000',
  },
}
SCSS
$custom: #401347;
$custom-light: #77557a;
$custom-dark: #000000;
JSON
{
  "hex": "#401347",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 291.923,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.10154,
    "h": 322
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#401347
secondary
#408036
accent
#E1475C
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401347

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

Preview Lab → · Contrast checker → · Palette generator →

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