#401B69#401B69

#401B69 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.129 H 301.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#401B69
RGBrgb(64, 27, 105)
HSLhsl(268, 59%, 26%)
HSVhsv(268, 74%, 41%)
CMYKcmyk(39%, 74.3%, 0%, 58.8%)
CIE-LABlab(19.61, 34.53, -38.71)
CIE-LCHlch(19.61, 51.87, 311.74°)
OKLaboklab(32.23% 0.0664 -0.1103)
OKLCHoklch(32.23% 0.129 301.1)
XYZxyz(5.0555, 2.8937, 13.6541)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B69 #44691B
analogous
#1B1D69 #401B69 #671B69
triadic
#401B69 #69401B #1B6940
tetradic
#401B69 #691B1D #44691B #1B6967
square
#401B69 #691B1D #44691B #1B6967
split-complementary
#401B69 #69671B #1D691B
monochromatic
#0F0618 #220E38 #401B69 #5E289A #7B34CA

Accessibility & contrast

On white

13.30
#401B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#401B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B69
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B69#FFFFFF#000000##FFFFFF
##401B691.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#372E40
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #401b69;
/* rgb */ color: rgb(64, 27, 105);
/* oklch */ color: oklch(32.2% 0.129 301.1);
Tailwind
colors: {
  custom: {
    50: '#795b94',
    500: '#401b69',
    950: '#000000',
  },
}
SCSS
$custom: #401b69;
$custom-light: #795b94;
$custom-dark: #000000;
JSON
{
  "hex": "#401b69",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 268.462,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.12878,
    "h": 301.1
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#401B69
secondary
#729E42
accent
#E24698
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401B69

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

Preview Lab → · Contrast checker → · Palette generator →

#401B69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva