#401390#401390

#401390 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.181 H 289.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#401390
RGBrgb(64, 19, 144)
HSLhsl(262, 77%, 32%)
HSVhsv(262, 87%, 56%)
CMYKcmyk(55.6%, 86.8%, 0%, 43.5%)
CIE-LABlab(22.19, 48.69, -59.30)
CIE-LCHlch(22.19, 76.73, 309.38°)
OKLaboklab(35.19% 0.0606 -0.1706)
OKLCHoklch(35.19% 0.181 289.6)
XYZxyz(7.3798, 3.5690, 26.6802)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401390 #639013
analogous
#132590 #401390 #7F1390
triadic
#401390 #904013 #139040
tetradic
#401390 #901325 #639013 #13907F
square
#401390 #901325 #639013 #13907F
split-complementary
#401390 #907F13 #259013
monochromatic
#100524 #280C5A #401390 #581AC6 #7739E5

Accessibility & contrast

On white

12.25
#401390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#401390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401390
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401390#FFFFFF#000000##FFFFFF
##4013901.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#1F3B54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #401390;
/* rgb */ color: rgb(64, 19, 144);
/* oklch */ color: oklch(35.2% 0.181 289.6);
Tailwind
colors: {
  custom: {
    50: '#7f59b2',
    500: '#401390',
    950: '#000000',
  },
}
SCSS
$custom: #401390;
$custom-light: #7f59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#401390",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 261.6,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.18105,
    "h": 289.6
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#401390
secondary
#93C43B
accent
#F335AF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #401390

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

Preview Lab → · Contrast checker → · Palette generator →

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