#401473#401473

#401473 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.149 H 298.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#401473
RGBrgb(64, 20, 115)
HSLhsl(268, 70%, 26%)
HSVhsv(268, 83%, 45%)
CMYKcmyk(44.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(19.34, 40.57, -45.64)
CIE-LCHlch(19.34, 61.06, 311.63°)
OKLaboklab(32.32% 0.0707 -0.1306)
OKLCHoklch(32.32% 0.149 298.4)
XYZxyz(5.4582, 2.8280, 16.4746)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401473 #477314
analogous
#141873 #401473 #701473
triadic
#401473 #734014 #147340
tetradic
#401473 #731418 #477314 #147370
square
#401473 #731418 #477314 #147370
split-complementary
#401473 #737014 #187314
monochromatic
#0F051A #230B3F #401473 #5D1DA7 #7A28DA

Accessibility & contrast

On white

13.41
#401473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#401473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401473
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401473#FFFFFF#000000##FFFFFF
##4014731.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#332E44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #401473;
/* rgb */ color: rgb(64, 20, 115);
/* oklch */ color: oklch(32.3% 0.149 298.4);
Tailwind
colors: {
  custom: {
    50: '#7b589c',
    500: '#401473',
    950: '#000000',
  },
}
SCSS
$custom: #401473;
$custom-light: #7b589c;
$custom-dark: #000000;
JSON
{
  "hex": "#401473",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 267.789,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.14853,
    "h": 298.4
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#401473
secondary
#76A93A
accent
#ED3B9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #401473

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

Preview Lab → · Contrast checker → · Palette generator →

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