#401469#401469

#401469 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.137 H 302.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#401469
RGBrgb(64, 20, 105)
HSLhsl(271, 68%, 25%)
HSVhsv(271, 81%, 41%)
CMYKcmyk(39%, 81%, 0%, 58.8%)
CIE-LABlab(18.41, 37.94, -40.66)
CIE-LCHlch(18.41, 55.62, 313.02°)
OKLaboklab(31.38% 0.0737 -0.116)
OKLCHoklch(31.38% 0.137 302.4)
XYZxyz(4.9137, 2.6102, 13.6068)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401469 #3D6914
analogous
#161469 #401469 #691468
triadic
#401469 #694014 #146940
tetradic
#401469 #691614 #3D6914 #146869
square
#401469 #691614 #3D6914 #146869
split-complementary
#401469 #686914 #146916
monochromatic
#10051A #210A36 #401469 #5F1E9C #7F28D0

Accessibility & contrast

On white

13.80
#401469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#401469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401469
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401469#FFFFFF#000000##FFFFFF
##4014691.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#372A3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #401469;
/* rgb */ color: rgb(64, 20, 105);
/* oklch */ color: oklch(31.4% 0.137 302.4);
Tailwind
colors: {
  custom: {
    50: '#7a5795',
    500: '#401469',
    950: '#000000',
  },
}
SCSS
$custom: #401469;
$custom-light: #7a5795;
$custom-dark: #000000;
JSON
{
  "hex": "#401469",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 271.059,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.13745,
    "h": 302.4
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#401469
secondary
#6BA039
accent
#EB3D91
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401469

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

Preview Lab → · Contrast checker → · Palette generator →

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