#401365#401365

#401365 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 304.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#401365
RGBrgb(64, 19, 101)
HSLhsl(273, 68%, 24%)
HSVhsv(273, 81%, 40%)
CMYKcmyk(36.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.90, 37.36, -38.87)
CIE-LCHlch(17.90, 53.91, 313.86°)
OKLaboklab(30.91% 0.0757 -0.1107)
OKLCHoklch(30.91% 0.134 304.4)
XYZxyz(4.6956, 2.4953, 12.5437)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401365 #386513
analogous
#171365 #401365 #651361
triadic
#401365 #654013 #136540
tetradic
#401365 #651713 #386513 #136165
square
#401365 #651713 #386513 #136165
split-complementary
#401365 #616513 #136517
monochromatic
#10051A #1F0931 #401365 #611D99 #8126CC

Accessibility & contrast

On white

14.01
#401365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401365
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401365#FFFFFF#000000##FFFFFF
##4013651.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401365;
/* rgb */ color: rgb(64, 19, 101);
/* oklch */ color: oklch(30.9% 0.134 304.4);
Tailwind
colors: {
  custom: {
    50: '#795692',
    500: '#401365',
    950: '#000000',
  },
}
SCSS
$custom: #401365;
$custom-light: #795692;
$custom-dark: #000000;
JSON
{
  "hex": "#401365",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 272.927,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30911,
    "c": 0.13416,
    "h": 304.4
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#401365
secondary
#659D37
accent
#EB3D8B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #401365

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

Preview Lab → · Contrast checker → · Palette generator →

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