#401464#401464

#401464 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.132 H 304.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#401464
RGBrgb(64, 20, 100)
HSLhsl(273, 67%, 24%)
HSVhsv(273, 80%, 39%)
CMYKcmyk(36%, 80%, 0%, 60.8%)
CIE-LABlab(17.97, 36.65, -38.10)
CIE-LCHlch(17.97, 52.87, 313.89°)
OKLaboklab(30.93% 0.075 -0.1085)
OKLCHoklch(30.93% 0.132 304.7)
XYZxyz(4.6642, 2.5104, 12.2930)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401464 #386414
analogous
#181464 #401464 #641460
triadic
#401464 #644014 #146440
tetradic
#401464 #641814 #386414 #146064
square
#401464 #641814 #386414 #146064
split-complementary
#401464 #606414 #146418
monochromatic
#10051A #1F0A31 #401464 #611E97 #8128CA

Accessibility & contrast

On white

13.98
#401464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#401464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401464
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401464#FFFFFF#000000##FFFFFF
##4014641.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#39283B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401464;
/* rgb */ color: rgb(64, 20, 100);
/* oklch */ color: oklch(30.9% 0.132 304.7);
Tailwind
colors: {
  custom: {
    50: '#795791',
    500: '#401464',
    950: '#000000',
  },
}
SCSS
$custom: #401464;
$custom-light: #795791;
$custom-dark: #000000;
JSON
{
  "hex": "#401464",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 273,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30932,
    "c": 0.13189,
    "h": 304.7
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#401464
secondary
#659B38
accent
#EA3E8B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401464

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

Preview Lab → · Contrast checker → · Palette generator →

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