#401468#401468

#401468 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.136 H 302.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#401468
RGBrgb(64, 20, 104)
HSLhsl(271, 68%, 24%)
HSVhsv(271, 81%, 41%)
CMYKcmyk(38.5%, 80.8%, 0%, 59.2%)
CIE-LABlab(18.32, 37.68, -40.16)
CIE-LCHlch(18.32, 55.07, 313.18°)
OKLaboklab(31.29% 0.074 -0.1145)
OKLCHoklch(31.29% 0.136 302.9)
XYZxyz(4.8626, 2.5898, 13.3377)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401468 #3C6814
analogous
#161468 #401468 #681466
triadic
#401468 #684014 #146840
tetradic
#401468 #681614 #3C6814 #146668
square
#401468 #681614 #3C6814 #146668
split-complementary
#401468 #666814 #146816
monochromatic
#10051A #200A35 #401468 #601E9B #7F28CF

Accessibility & contrast

On white

13.83
#401468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#401468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401468
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401468#FFFFFF#000000##FFFFFF
##4014681.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#382A3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #401468;
/* rgb */ color: rgb(64, 20, 104);
/* oklch */ color: oklch(31.3% 0.136 302.9);
Tailwind
colors: {
  custom: {
    50: '#795794',
    500: '#401468',
    950: '#000000',
  },
}
SCSS
$custom: #401468;
$custom-light: #795794;
$custom-dark: #000000;
JSON
{
  "hex": "#401468",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 271.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.13633,
    "h": 302.9
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#401468
secondary
#699F39
accent
#EB3D90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401468

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

Preview Lab → · Contrast checker → · Palette generator →

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