#401A69#401A69

#401A69 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.130 H 301.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#401A69
RGBrgb(64, 26, 105)
HSLhsl(269, 60%, 26%)
HSVhsv(269, 75%, 41%)
CMYKcmyk(39%, 75.2%, 0%, 58.8%)
CIE-LABlab(19.43, 35.05, -39.01)
CIE-LCHlch(19.43, 52.44, 311.94°)
OKLaboklab(32.1% 0.0676 -0.1112)
OKLCHoklch(32.1% 0.13 301.3)
XYZxyz(5.0329, 2.8487, 13.6466)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401A69 #43691A
analogous
#1A1B69 #401A69 #671A69
triadic
#401A69 #69401A #1A6940
tetradic
#401A69 #691A1B #43691A #1A6967
square
#401A69 #691A1B #43691A #1A6967
split-complementary
#401A69 #69671A #1B691A
monochromatic
#0F0619 #220E38 #401A69 #5E269A #7C32CB

Accessibility & contrast

On white

13.38
#401A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#401A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401A69
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401A69#FFFFFF#000000##FFFFFF
##401A691.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401a69;
/* rgb */ color: rgb(64, 26, 105);
/* oklch */ color: oklch(32.1% 0.130 301.3);
Tailwind
colors: {
  custom: {
    50: '#795a95',
    500: '#401a69',
    950: '#000000',
  },
}
SCSS
$custom: #401a69;
$custom-light: #795a95;
$custom-dark: #000000;
JSON
{
  "hex": "#401a69",
  "rgb": {
    "r": 64,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 268.861,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.321,
    "c": 0.13011,
    "h": 301.3
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#401A69
secondary
#719E40
accent
#E34497
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401A69

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

Preview Lab → · Contrast checker → · Palette generator →

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