#401E69#401E69

#401E69 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.125 H 300.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#401E69
RGBrgb(64, 30, 105)
HSLhsl(267, 56%, 26%)
HSVhsv(267, 71%, 41%)
CMYKcmyk(39%, 71.4%, 0%, 58.8%)
CIE-LABlab(20.20, 32.91, -37.76)
CIE-LCHlch(20.20, 50.09, 311.07°)
OKLaboklab(32.65% 0.063 -0.1075)
OKLCHoklch(32.65% 0.125 300.3)
XYZxyz(5.1278, 3.0384, 13.6782)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E69 #47691E
analogous
#1E2269 #401E69 #661E69
triadic
#401E69 #69401E #1E6940
tetradic
#401E69 #691E22 #47691E #1E6966
square
#401E69 #691E22 #47691E #1E6966
split-complementary
#401E69 #69661E #22691E
monochromatic
#0F0718 #231039 #401E69 #5D2C99 #7A3BC7

Accessibility & contrast

On white

13.06
#401E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#401E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E69
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E69#FFFFFF#000000##FFFFFF
##401E691.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#372F41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #401e69;
/* rgb */ color: rgb(64, 30, 105);
/* oklch */ color: oklch(32.6% 0.125 300.3);
Tailwind
colors: {
  custom: {
    50: '#795c94',
    500: '#401e69',
    950: '#000000',
  },
}
SCSS
$custom: #401e69;
$custom-light: #795c94;
$custom-dark: #000000;
JSON
{
  "hex": "#401e69",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 267.2,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32649,
    "c": 0.12463,
    "h": 300.3
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#401E69
secondary
#769E45
accent
#DF499B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401E69

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

Preview Lab → · Contrast checker → · Palette generator →

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