#401590#401590

#401590 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.4% C 0.180 H 289.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#401590
RGBrgb(64, 21, 144)
HSLhsl(261, 75%, 32%)
HSVhsv(261, 85%, 56%)
CMYKcmyk(55.6%, 85.4%, 0%, 43.5%)
CIE-LABlab(22.44, 47.95, -58.89)
CIE-LCHlch(22.44, 75.94, 309.15°)
OKLaboklab(35.36% 0.0595 -0.1694)
OKLCHoklch(35.36% 0.18 289.3)
XYZxyz(7.4151, 3.6396, 26.6919)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401590 #659015
analogous
#152790 #401590 #7E1590
triadic
#401590 #904015 #159040
tetradic
#401590 #901527 #659015 #15907E
square
#401590 #901527 #659015 #15907E
split-complementary
#401590 #907E15 #279015
monochromatic
#110525 #280D5B #401590 #581DC5 #773DE3

Accessibility & contrast

On white

12.15
#401590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#401590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401590
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401590#FFFFFF#000000##FFFFFF
##4015901.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#1F3B55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #401590;
/* rgb */ color: rgb(64, 21, 144);
/* oklch */ color: oklch(35.4% 0.180 289.3);
Tailwind
colors: {
  custom: {
    50: '#7f5ab2',
    500: '#401590',
    950: '#000000',
  },
}
SCSS
$custom: #401590;
$custom-light: #7f5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#401590",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 260.976,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.17957,
    "h": 289.3
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#401590
secondary
#94C23E
accent
#F137B0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #401590

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

Preview Lab → · Contrast checker → · Palette generator →

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