#401467#401467

#401467 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.135 H 303.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#401467
RGBrgb(64, 20, 103)
HSLhsl(272, 67%, 24%)
HSVhsv(272, 81%, 40%)
CMYKcmyk(37.9%, 80.6%, 0%, 59.6%)
CIE-LABlab(18.23, 37.43, -39.65)
CIE-LCHlch(18.23, 54.52, 313.35°)
OKLaboklab(31.2% 0.0742 -0.113)
OKLCHoklch(31.2% 0.135 303.3)
XYZxyz(4.8121, 2.5696, 13.0718)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401467 #3B6714
analogous
#161467 #401467 #671465
triadic
#401467 #674014 #146740
tetradic
#401467 #671614 #3B6714 #146567
square
#401467 #671614 #3B6714 #146567
split-complementary
#401467 #656714 #146716
monochromatic
#10051A #200A34 #401467 #601E9A #8028CD

Accessibility & contrast

On white

13.87
#401467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#401467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401467
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401467#FFFFFF#000000##FFFFFF
##4014671.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#38293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401467;
/* rgb */ color: rgb(64, 20, 103);
/* oklch */ color: oklch(31.2% 0.135 303.3);
Tailwind
colors: {
  custom: {
    50: '#795793',
    500: '#401467',
    950: '#000000',
  },
}
SCSS
$custom: #401467;
$custom-light: #795793;
$custom-dark: #000000;
JSON
{
  "hex": "#401467",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 271.807,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.312,
    "c": 0.13523,
    "h": 303.3
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#401467
secondary
#689E39
accent
#EA3D8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401467

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

Preview Lab → · Contrast checker → · Palette generator →

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