#401346#401346

#401346 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.101 H 322.8°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#401346
RGBrgb(64, 19, 70)
HSLhsl(293, 57%, 17%)
HSVhsv(293, 73%, 27%)
CMYKcmyk(8.6%, 72.9%, 0%, 72.5%)
CIE-LABlab(15.48, 29.91, -21.82)
CIE-LCHlch(15.48, 37.03, 323.89°)
OKLaboklab(28.42% 0.0801 -0.0608)
OKLCHoklch(28.42% 0.101 322.8)
XYZxyz(3.4526, 1.9981, 5.9970)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401346 #194613
analogous
#261346 #401346 #461333
triadic
#401346 #464013 #134640
tetradic
#401346 #462613 #194613 #133346
square
#401346 #462613 #194613 #133346
split-complementary
#401346 #334613 #134626
monochromatic
#160718 #160718 #401346 #6C2076 #982DA6

Accessibility & contrast

On white

15.00
#401346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401346
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401346#FFFFFF#000000##FFFFFF
##4013461.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072348
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#411B2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401346;
/* rgb */ color: rgb(64, 19, 70);
/* oklch */ color: oklch(28.4% 0.101 322.8);
Tailwind
colors: {
  custom: {
    50: '#77557a',
    500: '#401346',
    950: '#000000',
  },
}
SCSS
$custom: #401346;
$custom-light: #77557a;
$custom-dark: #000000;
JSON
{
  "hex": "#401346",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 292.941,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28424,
    "c": 0.1005,
    "h": 322.8
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#401346
secondary
#3F7F36
accent
#E14759
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401346

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

Preview Lab → · Contrast checker → · Palette generator →

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