#401359#401359

#401359 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.121 H 310.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#401359
RGBrgb(64, 19, 89)
HSLhsl(279, 65%, 21%)
HSVhsv(279, 79%, 35%)
CMYKcmyk(28.1%, 78.7%, 0%, 65.1%)
CIE-LABlab(16.88, 34.35, -32.54)
CIE-LCHlch(16.88, 47.32, 316.54°)
OKLaboklab(29.87% 0.0784 -0.0922)
OKLCHoklch(29.87% 0.121 310.4)
XYZxyz(4.1500, 2.2771, 9.6702)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401359 #2C5913
analogous
#1D1359 #401359 #59134F
triadic
#401359 #594013 #135940
tetradic
#401359 #591D13 #2C5913 #134F59
square
#401359 #591D13 #2C5913 #134F59
split-complementary
#401359 #4F5913 #13591D
monochromatic
#120519 #1C0827 #401359 #641E8B #8929BE

Accessibility & contrast

On white

14.43
#401359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#401359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401359
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401359#FFFFFF#000000##FFFFFF
##4013591.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#052A58
Tritanopia (blue-blind)
#3D2335
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #401359;
/* rgb */ color: rgb(64, 19, 89);
/* oklch */ color: oklch(29.9% 0.121 310.4);
Tailwind
colors: {
  custom: {
    50: '#785688',
    500: '#401359',
    950: '#000000',
  },
}
SCSS
$custom: #401359;
$custom-light: #785688;
$custom-dark: #000000;
JSON
{
  "hex": "#401359",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 278.571,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.12098,
    "h": 310.4
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#401359
secondary
#579137
accent
#E8407C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401359

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

Preview Lab → · Contrast checker → · Palette generator →

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