#401357#401357

#401357 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.7% C 0.119 H 311.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#401357
RGBrgb(64, 19, 87)
HSLhsl(280, 64%, 21%)
HSVhsv(280, 78%, 34%)
CMYKcmyk(26.4%, 78.2%, 0%, 65.9%)
CIE-LABlab(16.72, 33.86, -31.46)
CIE-LCHlch(16.72, 46.22, 317.10°)
OKLaboklab(29.71% 0.0787 -0.089)
OKLCHoklch(29.71% 0.119 311.5)
XYZxyz(4.0672, 2.2440, 9.2339)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401357 #2A5713
analogous
#1E1357 #401357 #57134C
triadic
#401357 #574013 #135740
tetradic
#401357 #571E13 #2A5713 #134C57
square
#401357 #571E13 #2A5713 #134C57
split-complementary
#401357 #4C5713 #13571E
monochromatic
#120519 #1B0825 #401357 #651E89 #8A29BB

Accessibility & contrast

On white

14.49
#401357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#401357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401357
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401357#FFFFFF#000000##FFFFFF
##4013571.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#092A56
Tritanopia (blue-blind)
#3D2233
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401357;
/* rgb */ color: rgb(64, 19, 87);
/* oklch */ color: oklch(29.7% 0.119 311.5);
Tailwind
colors: {
  custom: {
    50: '#785687',
    500: '#401357',
    950: '#000000',
  },
}
SCSS
$custom: #401357;
$custom-light: #785687;
$custom-dark: #000000;
JSON
{
  "hex": "#401357",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 279.706,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29709,
    "c": 0.1188,
    "h": 311.5
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#401357
secondary
#558F36
accent
#E74179
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401357

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

Preview Lab → · Contrast checker → · Palette generator →

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