#401463#401463

#401463 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.131 H 305.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#401463
RGBrgb(64, 20, 99)
HSLhsl(273, 66%, 23%)
HSVhsv(273, 80%, 39%)
CMYKcmyk(35.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(17.88, 36.40, -37.58)
CIE-LCHlch(17.88, 52.32, 314.08°)
OKLaboklab(30.84% 0.0752 -0.107)
OKLCHoklch(30.84% 0.131 305.1)
XYZxyz(4.6161, 2.4912, 12.0396)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401463 #376314
analogous
#181463 #401463 #63145E
triadic
#401463 #634014 #146340
tetradic
#401463 #631814 #376314 #145E63
square
#401463 #631814 #376314 #145E63
split-complementary
#401463 #5E6314 #146318
monochromatic
#100519 #1F0A30 #401463 #611E96 #8229C9

Accessibility & contrast

On white

14.02
#401463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401463
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401463#FFFFFF#000000##FFFFFF
##4014631.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#39283A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401463;
/* rgb */ color: rgb(64, 20, 99);
/* oklch */ color: oklch(30.8% 0.131 305.1);
Tailwind
colors: {
  custom: {
    50: '#795790',
    500: '#401463',
    950: '#000000',
  },
}
SCSS
$custom: #401463;
$custom-light: #795790;
$custom-dark: #000000;
JSON
{
  "hex": "#401463",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 273.418,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30843,
    "c": 0.13078,
    "h": 305.1
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#401463
secondary
#649A38
accent
#E93E8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401463

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

Preview Lab → · Contrast checker → · Palette generator →

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