#401C69#401C69

#401C69 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.127 H 300.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#401C69
RGBrgb(64, 28, 105)
HSLhsl(268, 58%, 26%)
HSVhsv(268, 73%, 41%)
CMYKcmyk(39%, 73.3%, 0%, 58.8%)
CIE-LABlab(19.80, 34.00, -38.40)
CIE-LCHlch(19.80, 51.29, 311.53°)
OKLaboklab(32.37% 0.0653 -0.1094)
OKLCHoklch(32.37% 0.127 300.8)
XYZxyz(5.0788, 2.9404, 13.6618)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401C69 #45691C
analogous
#1C1E69 #401C69 #661C69
triadic
#401C69 #69401C #1C6940
tetradic
#401C69 #691C1E #45691C #1C6966
square
#401C69 #691C1E #45691C #1C6966
split-complementary
#401C69 #69661C #1E691C
monochromatic
#0F0618 #230F39 #401C69 #5D2999 #7B36C9

Accessibility & contrast

On white

13.22
#401C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#401C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401C69
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401C69#FFFFFF#000000##FFFFFF
##401C691.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#372E40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #401c69;
/* rgb */ color: rgb(64, 28, 105);
/* oklch */ color: oklch(32.4% 0.127 300.8);
Tailwind
colors: {
  custom: {
    50: '#795b94',
    500: '#401c69',
    950: '#000000',
  },
}
SCSS
$custom: #401c69;
$custom-light: #795b94;
$custom-dark: #000000;
JSON
{
  "hex": "#401c69",
  "rgb": {
    "r": 64,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 268.052,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32368,
    "c": 0.12742,
    "h": 300.8
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#401C69
secondary
#739E43
accent
#E14799
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401C69

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

Preview Lab → · Contrast checker → · Palette generator →

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