#401CAD#401CAD

#401CAD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.206 H 282.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#401CAD
RGBrgb(64, 28, 173)
HSLhsl(255, 72%, 39%)
HSVhsv(255, 84%, 68%)
CMYKcmyk(63%, 83.8%, 0%, 32.2%)
CIE-LABlab(26.55, 53.17, -69.81)
CIE-LCHlch(26.55, 87.75, 307.29°)
OKLaboklab(39.12% 0.0451 -0.2013)
OKLCHoklch(39.12% 0.206 282.6)
XYZxyz(10.0701, 4.9369, 39.9493)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401CAD #89AD1C
analogous
#1C40AD #401CAD #891CAD
triadic
#401CAD #AD401C #1CAD40
tetradic
#401CAD #AD1C40 #89AD1C #1CAD89
square
#401CAD #AD1C40 #89AD1C #1CAD89
split-complementary
#401CAD #AD891C #40AD1C
monochromatic
#190B44 #2D1378 #401CAD #562ADC #805EE5

Accessibility & contrast

On white

10.57
#401CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#401CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401CAD
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401CAD#FFFFFF#000000##FFFFFF
##401CAD1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #401cad;
/* rgb */ color: rgb(64, 28, 173);
/* oklch */ color: oklch(39.1% 0.206 282.6);
Tailwind
colors: {
  custom: {
    50: '#845fc7',
    500: '#401cad',
    950: '#000000',
  },
}
SCSS
$custom: #401cad;
$custom-light: #845fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#401cad",
  "rgb": {
    "r": 64,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 254.897,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.20633,
    "h": 282.6
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#401CAD
secondary
#AEC95C
accent
#EF39C2
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #401CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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