#401067#401067

#401067 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.140 H 303.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#401067
RGBrgb(64, 16, 103)
HSLhsl(273, 73%, 23%)
HSVhsv(273, 84%, 40%)
CMYKcmyk(37.9%, 84.5%, 0%, 59.6%)
CIE-LABlab(17.64, 39.12, -40.60)
CIE-LCHlch(17.64, 56.38, 313.93°)
OKLaboklab(30.79% 0.0779 -0.1158)
OKLCHoklch(30.79% 0.14 303.9)
XYZxyz(4.7473, 2.4399, 13.0502)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401067 #376710
analogous
#141067 #401067 #671062
triadic
#401067 #674010 #106740
tetradic
#401067 #671410 #376710 #106267
square
#401067 #671410 #376710 #106267
split-complementary
#401067 #626710 #106714
monochromatic
#10041A #1F0832 #401067 #61189C #8220D1

Accessibility & contrast

On white

14.11
#401067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#401067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401067
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401067#FFFFFF#000000##FFFFFF
##4010671.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#38283C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401067;
/* rgb */ color: rgb(64, 16, 103);
/* oklch */ color: oklch(30.8% 0.140 303.9);
Tailwind
colors: {
  custom: {
    50: '#7a5593',
    500: '#401067',
    950: '#000000',
  },
}
SCSS
$custom: #401067;
$custom-light: #7a5593;
$custom-dark: #000000;
JSON
{
  "hex": "#401067",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 273.103,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.13954,
    "h": 303.9
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#401067
secondary
#649F33
accent
#F0388A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401067

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

Preview Lab → · Contrast checker → · Palette generator →

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