#401769#401769

#401769 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.134 H 301.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#401769
RGBrgb(64, 23, 105)
HSLhsl(270, 64%, 25%)
HSVhsv(270, 78%, 41%)
CMYKcmyk(39%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.90, 36.55, -39.87)
CIE-LCHlch(18.90, 54.09, 312.51°)
OKLaboklab(31.73% 0.0707 -0.1137)
OKLCHoklch(31.73% 0.134 301.9)
XYZxyz(4.9699, 2.7227, 13.6256)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401769 #406917
analogous
#171769 #401769 #691769
triadic
#401769 #694017 #176940
tetradic
#401769 #691717 #406917 #176969
square
#401769 #691717 #406917 #176969
split-complementary
#401769 #696917 #176917
monochromatic
#0F0519 #210C37 #401769 #5F229B #7D2DCD

Accessibility & contrast

On white

13.60
#401769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401769
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401769#FFFFFF#000000##FFFFFF
##4017691.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401769;
/* rgb */ color: rgb(64, 23, 105);
/* oklch */ color: oklch(31.7% 0.134 301.9);
Tailwind
colors: {
  custom: {
    50: '#795995',
    500: '#401769',
    950: '#000000',
  },
}
SCSS
$custom: #401769;
$custom-light: #795995;
$custom-dark: #000000;
JSON
{
  "hex": "#401769",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 270,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31725,
    "c": 0.13393,
    "h": 301.9
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#401769
secondary
#6E9F3D
accent
#E74194
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401769

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

Preview Lab → · Contrast checker → · Palette generator →

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