#401364#401364

#401364 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.133 H 304.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#401364
RGBrgb(64, 19, 100)
HSLhsl(273, 68%, 23%)
HSVhsv(273, 81%, 39%)
CMYKcmyk(36%, 81%, 0%, 60.8%)
CIE-LABlab(17.81, 37.10, -38.36)
CIE-LCHlch(17.81, 53.36, 314.05°)
OKLaboklab(30.82% 0.076 -0.1092)
OKLCHoklch(30.82% 0.133 304.8)
XYZxyz(4.6470, 2.4759, 12.2872)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401364 #376413
analogous
#171364 #401364 #64135F
triadic
#401364 #644013 #136440
tetradic
#401364 #641713 #376413 #135F64
square
#401364 #641713 #376413 #135F64
split-complementary
#401364 #5F6413 #136417
monochromatic
#10051A #1F0931 #401364 #611D97 #8227CB

Accessibility & contrast

On white

14.04
#401364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#401364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401364
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401364#FFFFFF#000000##FFFFFF
##4013641.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#39283B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401364;
/* rgb */ color: rgb(64, 19, 100);
/* oklch */ color: oklch(30.8% 0.133 304.8);
Tailwind
colors: {
  custom: {
    50: '#795691',
    500: '#401364',
    950: '#000000',
  },
}
SCSS
$custom: #401364;
$custom-light: #795691;
$custom-dark: #000000;
JSON
{
  "hex": "#401364",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 273.333,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30822,
    "c": 0.13307,
    "h": 304.8
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#401364
secondary
#649C37
accent
#EB3D8A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401364

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

Preview Lab → · Contrast checker → · Palette generator →

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