#401069#401069

#401069 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.142 H 303.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#401069
RGBrgb(64, 16, 105)
HSLhsl(272, 74%, 24%)
HSVhsv(272, 85%, 41%)
CMYKcmyk(39%, 84.8%, 0%, 58.8%)
CIE-LABlab(17.83, 39.62, -41.61)
CIE-LCHlch(17.83, 57.46, 313.60°)
OKLaboklab(30.98% 0.0772 -0.1188)
OKLCHoklch(30.98% 0.142 303)
XYZxyz(4.8488, 2.4805, 13.5852)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401069 #396910
analogous
#141069 #401069 #691065
triadic
#401069 #694010 #106940
tetradic
#401069 #691410 #396910 #106569
square
#401069 #691410 #396910 #106569
split-complementary
#401069 #656910 #106914
monochromatic
#10041B #200834 #401069 #60189E #8120D3

Accessibility & contrast

On white

14.04
#401069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#401069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401069
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401069#FFFFFF#000000##FFFFFF
##4010691.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#37283D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401069;
/* rgb */ color: rgb(64, 16, 105);
/* oklch */ color: oklch(31.0% 0.142 303.0);
Tailwind
colors: {
  custom: {
    50: '#7a5595',
    500: '#401069',
    950: '#000000',
  },
}
SCSS
$custom: #401069;
$custom-light: #7a5595;
$custom-dark: #000000;
JSON
{
  "hex": "#401069",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 272.36,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.14167,
    "h": 303
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#401069
secondary
#66A134
accent
#F0388D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401069

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

Preview Lab → · Contrast checker → · Palette generator →

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