#401C67#401C67

#401C67 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.125 H 301.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#401C67
RGBrgb(64, 28, 103)
HSLhsl(269, 57%, 26%)
HSVhsv(269, 73%, 40%)
CMYKcmyk(37.9%, 72.8%, 0%, 59.6%)
CIE-LABlab(19.64, 33.45, -37.36)
CIE-LCHlch(19.64, 50.15, 311.84°)
OKLaboklab(32.2% 0.0656 -0.1064)
OKLCHoklch(32.2% 0.125 301.7)
XYZxyz(4.9772, 2.8997, 13.1268)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401C67 #43671C
analogous
#1C1D67 #401C67 #651C67
triadic
#401C67 #67401C #1C6740
tetradic
#401C67 #671C1D #43671C #1C6765
square
#401C67 #671C1D #43671C #1C6765
split-complementary
#401C67 #67651C #1D671C
monochromatic
#0F0718 #220F37 #401C67 #5E2997 #7C36C7

Accessibility & contrast

On white

13.29
#401C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#401C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401C67
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401C67#FFFFFF#000000##FFFFFF
##401C671.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#382E3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #401c67;
/* rgb */ color: rgb(64, 28, 103);
/* oklch */ color: oklch(32.2% 0.125 301.7);
Tailwind
colors: {
  custom: {
    50: '#795b93',
    500: '#401c67',
    950: '#000000',
  },
}
SCSS
$custom: #401c67;
$custom-light: #795b93;
$custom-dark: #000000;
JSON
{
  "hex": "#401c67",
  "rgb": {
    "r": 64,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 268.8,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.12498,
    "h": 301.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#401C67
secondary
#719C43
accent
#E14797
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401C67

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

Preview Lab → · Contrast checker → · Palette generator →

#401C67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva