#401466#401466

#401466 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.134 H 303.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#401466
RGBrgb(64, 20, 102)
HSLhsl(272, 67%, 24%)
HSVhsv(272, 80%, 40%)
CMYKcmyk(37.3%, 80.4%, 0%, 60%)
CIE-LABlab(18.14, 37.17, -39.13)
CIE-LCHlch(18.14, 53.97, 313.52°)
OKLaboklab(31.11% 0.0745 -0.1115)
OKLCHoklch(31.11% 0.134 303.7)
XYZxyz(4.7622, 2.5496, 12.8090)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401466 #3A6614
analogous
#171466 #401466 #661463
triadic
#401466 #664014 #146640
tetradic
#401466 #661714 #3A6614 #146366
square
#401466 #661714 #3A6614 #146366
split-complementary
#401466 #636614 #146617
monochromatic
#10051A #200A33 #401466 #601E99 #8028CC

Accessibility & contrast

On white

13.91
#401466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#401466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401466
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401466#FFFFFF#000000##FFFFFF
##4014661.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#38293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401466;
/* rgb */ color: rgb(64, 20, 102);
/* oklch */ color: oklch(31.1% 0.134 303.7);
Tailwind
colors: {
  custom: {
    50: '#795792',
    500: '#401466',
    950: '#000000',
  },
}
SCSS
$custom: #401466;
$custom-light: #795792;
$custom-dark: #000000;
JSON
{
  "hex": "#401466",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 272.195,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3111,
    "c": 0.13412,
    "h": 303.7
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#401466
secondary
#679D39
accent
#EA3E8E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401466

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

Preview Lab → · Contrast checker → · Palette generator →

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