#401969#401969

#401969 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.131 H 301.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#401969
RGBrgb(64, 25, 105)
HSLhsl(269, 62%, 25%)
HSVhsv(269, 76%, 41%)
CMYKcmyk(39%, 76.2%, 0%, 58.8%)
CIE-LABlab(19.25, 35.57, -39.30)
CIE-LCHlch(19.25, 53.01, 312.14°)
OKLaboklab(31.97% 0.0686 -0.1121)
OKLCHoklch(31.97% 0.131 301.5)
XYZxyz(5.0112, 2.8051, 13.6393)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401969 #426919
analogous
#191A69 #401969 #681969
triadic
#401969 #694019 #196940
tetradic
#401969 #69191A #426919 #196968
square
#401969 #69191A #426919 #196968
split-complementary
#401969 #696819 #1A6919
monochromatic
#0F0619 #220D38 #401969 #5E259A #7C31CC

Accessibility & contrast

On white

13.45
#401969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#401969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401969
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401969#FFFFFF#000000##FFFFFF
##4019691.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401969;
/* rgb */ color: rgb(64, 25, 105);
/* oklch */ color: oklch(32.0% 0.131 301.5);
Tailwind
colors: {
  custom: {
    50: '#795a95',
    500: '#401969',
    950: '#000000',
  },
}
SCSS
$custom: #401969;
$custom-light: #795a95;
$custom-dark: #000000;
JSON
{
  "hex": "#401969",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 269.25,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.13141,
    "h": 301.5
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#401969
secondary
#709F3F
accent
#E54396
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401969

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

Preview Lab → · Contrast checker → · Palette generator →

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