#401669#401669

#401669 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.135 H 302.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#401669
RGBrgb(64, 22, 105)
HSLhsl(270, 65%, 25%)
HSVhsv(270, 79%, 41%)
CMYKcmyk(39%, 79%, 0%, 58.8%)
CIE-LABlab(18.73, 37.03, -40.14)
CIE-LCHlch(18.73, 54.61, 312.69°)
OKLaboklab(31.61% 0.0718 -0.1145)
OKLCHoklch(31.61% 0.135 302.1)
XYZxyz(4.9505, 2.6837, 13.6191)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401669 #3F6916
analogous
#161669 #401669 #691669
triadic
#401669 #694016 #166940
tetradic
#401669 #691616 #3F6916 #166969
square
#401669 #691616 #3F6916 #166969
split-complementary
#401669 #696916 #166916
monochromatic
#0F0519 #210B36 #401669 #5F219C #7E2BCE

Accessibility & contrast

On white

13.66
#401669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#401669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401669
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401669#FFFFFF#000000##FFFFFF
##4016691.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#372B3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #401669;
/* rgb */ color: rgb(64, 22, 105);
/* oklch */ color: oklch(31.6% 0.135 302.1);
Tailwind
colors: {
  custom: {
    50: '#795895',
    500: '#401669',
    950: '#000000',
  },
}
SCSS
$custom: #401669;
$custom-light: #795895;
$custom-dark: #000000;
JSON
{
  "hex": "#401669",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 270.361,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.13513,
    "h": 302.1
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#401669
secondary
#6D9F3B
accent
#E83F93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401669

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

Preview Lab → · Contrast checker → · Palette generator →

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